About Unity MCP
Unity MCP connects Claude to Unity projects, providing access to project listings, details, structure, and files. It is for working with Unity project information through an MCP server.
Key features
- 01List Unity projects
- 02View project details
- 03Access project structure
- 04Access project files
Use cases
- 01Listing configured Unity projects
- 02Inspecting project details
- 03Exploring project structure
- 04Accessing project files
MCP support
It is an MCP server that exposes Unity project listings, project details, structure, and files to Claude.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEUnity 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:
npx unity-mcp@latest
Add this tool as an MCP server in Claude:
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"unity": {
"command": "npx",
"args": ["unity-mcp@latest"]
}
}
}
Option 2: Run this project locally
Alternatively, run this project locally by cloning this repo:
git clone https://github.com/your-username/unity-mcp.git
cd unity-mcp
bun install
Then configure Claude to use your local version:
{
"mcpServers": {
"unity": {
"command": "bun",
"args": ["run", "C:\\Users\\Artga\\Code\\unity-mcp\\src\\index.ts"]
}
}
}
Requirements
- Unity with projects configured
- Bun runtime
Troubleshooting
Please open an issue if you can't get this MCP working. Here are some tips:
- Make sure Unity is installed and you have some projects configured
- Check that the unity-mcp server can access the projects-v1.json file
- 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.
Development
Setup
# Install dependencies
bun install
# Run the project
bun run src/index.ts
# Type check
bun run typecheck
# Format code
bun run format
Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector with this command:
bun run inspector
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
License
MIT License - see LICENSE file for details.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.