Unity MCP Server - Simple HTTP-based Unity Editor integration for AI assistants
npm install @iflow-mcp/unity-mcp-serverUnity MCP Server lets Claude work with your Unity projects! Create scripts, manage shaders, organize folders - all through natural conversation with Claude.
Talk to Claude to:
- Create Unity Scripts: "Create a PlayerController script with jump functionality"
- Manage Shaders: "Create a toon shader for my character"
- Organize Projects: "Create a folder structure for my RPG game"
- Get Project Info: "What render pipeline is my project using?"
1. Download the Extension
- Go to Latest Release
- Download unity-mcp-server.dxt (42KB)
2. Install in Claude Desktop
- Open Claude Desktop
- Go to Extensions
- Click "Install from file"
- Select the downloaded unity-mcp-server.dxt
3. Start Using!
- Open any Unity project (2019.4 or newer)
- Install Newtonsoft JSON package in Unity:
- Open Window → Package Manager
- Click the "+" button and select "Add package by name..."
- Enter: com.unity.nuget.newtonsoft-json
- Click "Add"
- Ask Claude: "Setup Unity MCP in my project at /path/to/project"
- Claude will install everything automatically!
Click to see manual installation steps
1. Clone and build:
``bash`
git clone https://github.com/zabaglione/mcp-server-unity.git
cd mcp-server-unity
npm install
npm run build
2. Configure Claude Desktop:
`json`
{
"mcpServers": {
"unity": {
"command": "node",
"args": ["/path/to/mcp-server-unity/build/simple-index.js"]
}
}
}
Once installed, just talk to Claude naturally:
You: "Create a PlayerHealth script that handles damage and healing"
Claude: I'll create a PlayerHealth script for you...
`$3
`
You: "I need a water shader with wave animation"
Claude: I'll create a water shader with wave animation...
`$3
`
You: "Set up a folder structure for a platformer game"
Claude: I'll create an organized folder structure for your platformer...
`$3
`
You: "What Unity version and render pipeline am I using?"
Claude: Let me check your project information...
``- ✅ Smart Script Creation - Claude understands Unity patterns and creates proper MonoBehaviours
- ✅ Shader Support - Works with Built-in, URP, and HDRP render pipelines
- ✅ Project Organization - Create, move, and rename folders to keep projects tidy
- ✅ Auto Setup - Claude automatically sets up the Unity integration when needed
- ✅ Safe Operations - All changes are made safely with proper Unity asset handling
- Unity 2019.4+ - Full support
- Unity 6 (6000.0+) - Recommended for best experience
- Works on Windows, macOS, and Linux
- ✅ Fixed render pipeline detection (now correctly identifies Built-in, URP, HDRP)
- ✅ Resolved AssetDatabase synchronization errors
- ✅ Improved file management and Unity integration stability
Want to help improve Unity MCP Server? Check out our Contributing Guide!
MIT License - see LICENSE
- Anthropic for Claude and MCP
- Unity Technologies for the amazing game engine
- All our contributors and users!
---
Ready to supercharge your Unity development with Claude? Download the extension now!