Unity MCP 插件 (UPM) — 面向人工智能辅助游戏开发的编辑器桥接。支持 Claude、Cursor 和 MCP 兼容的 AI 使用 268 个工具控制 Unity 编辑器:场景
Unity MCP 插件 (UPM) — 面向人工智能辅助游戏开发的编辑器桥接。支持 Claude、Cursor 和 MCP 兼容的 AI 使用 268 个工具控制 Unity 编辑器:场景
The Unity Editor side of the most comprehensive MCP (Model Context Protocol) integration for Unity game development. Install via Unity Package Manager to let Claude, Cursor, Windsurf, or any MCP-compatible AI assistant control your Unity Editor with 288 tools across 30+ categories. Built and maintained by AnkleBreaker Studio.
This package runs a lightweight HTTP bridge inside the Unity Editor on localhost:7890. The companion Unity MCP Server connects to it, exposing 288 tools to AI assistants across 30+ feature categories — scenes, GameObjects, components, builds, profiling, Shader Graph, Amplify Shader Editor, terrain, physics, NavMesh, animation, multiplayer, and much more.
Claude creates the entire game: scene setup, neon materials with bloom post-processing, brick grid layout, game scripts, VFX, and UI — all through Unity MCP commands.
From an empty scene to a fully decorated village: terrain sculpting, material creation, procedural house building via C# editor scripts, trees, fences, and pathways.
AI builds a multi-room castle with courtyard, throne room, armory, and guard room. Adjusts lighting, spawns the player, and runs an FPS walkthrough to verify the result.
The Model Context Protocol connects your AI assistant to Unity through a lightweight bridge. Commands flow from your AI chat directly into the editor in real-time.
Core Capabilities:
Extended Capabilities:
Profiling & Debugging:
com.unity.memoryprofiler package)Shader & Visual Tools (conditional on packages):
com.unity.shadergraph / com.unity.visualeffectgraph)Multiplayer (conditional on MPPM package):
com.unity.multiplayer.playmode)Infrastructure:
lastSeen timestamp), enabling the MCP server to distinguish between compiling editors (fresh entry) and crashed editors (stale entry >5 minutes)Window > MCP Dashboard) showing server status, category toggles, agent sessions, and update checkerAssets/MCP/Context/)https://github.com/AnkleBreaker-Studio/unity-mcp-plugin.gitUnity will download and install the package. You should see in the Console:
[MCP Bridge] Server started on port 7890Open a browser and visit: http://127.0.0.1:7890/api/ping
You should see JSON with your Unity version and project name.
This plugin is one half of the system. You also need the Node.js MCP Server that connects Claude to this bridge:
Open Window > MCP Dashboard to access:
Some features activate automatically when their corresponding packages are detected:
| Package / Asset | Features Unlocked |
|---|---|
com.unity.memoryprofiler |
Memory snapshots via MemoryProfiler API |
com.unity.shadergraph |
Shader Graph create, inspect, open |
com.unity.visualeffectgraph |
VFX Graph listing and opening |
com.unity.inputsystem |
Input Action maps and bindings inspection |
com.unity.multiplayer.playmode |
MPPM scenario management (list, activate, start/stop, status) |
| Amplify Shader Editor (Asset Store) | Amplify shader listing, inspection, opening |
Configuration is managed through the MCP Dashboard (Window > MCP Dashboard > Settings):
7890)true)Settings are stored in EditorPrefs and persist across sessions.
127.0.0.1 (localhost) — it is not accessible from the networkScene management, GameObjects, components, physics, terrain, Shader Graph, Amplify Shader Editor, profiling, animation, NavMesh, builds, multiplayer, and more.
AnkleBreaker Unity MCP is the most comprehensive MCP integration for Unity, purpose-built to leverage the full power of Claude Cowork and other AI assistants. Here's how it compares to alternatives:
| Feature | AnkleBreaker MCP | Bezi | Coplay MCP | Unity AI |
|---|---|---|---|---|
| Total Tools | 288 | ~30 | 34 | Limited (built-in) |
| Feature Categories | 30+ | ~5 | ~5 | N/A |
| Non-Blocking Editor | ✅ Full background operation | ❌ Freezes Unity during tasks | ✅ | ✅ |
| Open Source | ✅ AnkleBreaker Open License | ❌ Proprietary | ✅ MIT License | ❌ Proprietary |
| Claude Cowork Optimized | ✅ Two-tier lazy loading | ❌ Not MCP-based | ⚠️ Basic | ❌ Not MCP-based |
| Multi-Instance Support | ✅ Auto-discovery | ❌ | ❌ | ❌ |
| Multi-Agent Support | ✅ Session tracking + queuing | ❌ | ❌ | ❌ |
| Unity Hub Control | ✅ Install editors & modules | ❌ | ❌ | ❌ |
| Scene Hierarchy | ✅ Full tree + pagination | ⚠️ Limited | ⚠️ Basic | ⚠️ Limited |
| Physics Tools | ✅ Raycasts, overlap, settings | ❌ | ❌ | ❌ |
| Terrain Tools | ✅ Full terrain pipeline | ❌ | ❌ | ❌ |
| Shader Graph | ✅ Create, inspect, open | ❌ | ❌ | ❌ |
| Profiling & Debugging | ✅ Profiler + Frame Debugger + Memory | ❌ | ❌ | ⚠️ Basic |
| Animation System | ✅ Controllers, clips, parameters | ⚠️ Basic | ⚠️ Basic | ⚠️ Basic |
| NavMesh / Navigation | ✅ Bake, agents, obstacles | ❌ | ❌ | ❌ |
| Particle Systems | ✅ Full module editing | ❌ | ❌ | ❌ |
| MPPM Multiplayer | ✅ Scenarios, start/stop | ❌ | ❌ | ❌ |
| Visual Inspection | ✅ Scene + Game view capture | ❌ | ⚠️ Limited | ❌ |
| Play Mode Resilient | ✅ Survives domain reload | ❌ | ❌ | N/A |
| Port Resilience | ✅ Identity validation + crash detection | ❌ | ❌ | N/A |
| Project Context | ✅ Custom docs for AI agents | ❌ | ❌ | ⚠️ Built-in only |
AnkleBreaker Unity MCP is completely free and open source. The prices below reflect only the cost of the AI assistant (Claude) itself — the MCP plugin and server are $0.
| Solution | Monthly Cost | What You Get |
|---|---|---|
| AnkleBreaker MCP (free) + Claude Pro | $20/mo | 288 tools, full Unity control, open source — MCP is free, price is Claude only |
| AnkleBreaker MCP (free) + Claude Max 5x | $100/mo | Same + 5x usage for heavy workflows — MCP is free, price is Claude only |
| AnkleBreaker MCP (free) + Claude Max 20x | $200/mo | Same + 20x usage for teams/studios — MCP is free, price is Claude only |
| Bezi Pro | $20/mo | ~30 tool |
暂无开放 Issues,或尚未同步最近议题。