unity-mcp

unity-mcp

2

The Unity MCP Server is designed to integrate Claude with Unity projects, enabling features such as listing projects, accessing detailed project information, and viewing project structures. It supports running via NPX or locally and requires Unity and the Bun runtime.

Unity MCP Server

MCP server to connect Claude with Unity projects. Built using the Model Context Protocol SDK.

Features

  • List all Unity projects
  • Get detailed project information
  • Access project structure and files

Installation & Usage

Option 1: Using NPX (Recommended)

You can run this tool directly with npx without installing it:

Add this tool as an MCP server in Claude:

Option 2: Run this project locally

Alternatively, run this project locally by cloning this repo.

Requirements

  • Unity with projects configured
  • Bun runtime

Troubleshooting

Please open an issue if you can't get this MCP working. Here are some tips:

  1. Make sure Unity is installed and you have some projects configured
  2. Check that the unity-mcp server can access the projects-v1.json file
  3. Ensure you have proper permissions for the Unity project directories

This MCP will emit logs to stderr as specified in the MCP spec. On Mac the Claude Desktop app should emit these logs to ~/Library/Logs/Claude. On other platforms you can find logs here.