Overview
Unity MCP (ykh09242) is a Git-only fork of CoplayDev/unity-mcp that bridges AI assistants — Claude, Codex, VS Code, local LLMs, and more — with the Unity Editor via the Model Context Protocol. Give your LLM the tools to manage assets, control scenes, edit scripts, run tests, and automate workflows.

What you get
- Editor tools exposed over MCP — scene/object/asset authoring, scripting, physics, tests, and more. The generated reference is the current inventory, not a fixed feature count.
- Read-only resources for state introspection — editor state, components, project capabilities, connected instances, and more.
- Auto-configuration for popular MCP clients — Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Cline, Codex, Qwen, Gemini CLI, Copilot CLI, OpenClaw.
- Multi-instance support — explicitly target each tool/resource request; a persistent default Editor selection is available on stateful legacy connections. Tool discovery has separate connection-scope requirements.
- Two transports — HTTP (multi-agent, default) and stdio (single-agent legacy).
When you'd use it
- Prototype scenes and gameplay with natural language ("build a player controller with WASD and a double-jump").
- Generate and refactor C# scripts with full project context and validation.
- Automate repetitive editor tasks — bulk asset processing, scene validation, regression testing.
- Build custom AI-driven editor tools on top of the MCP protocol.
Next steps
- Install — Add the Unity package, install the Python server, and connect your first MCP client.
- Your First Prompt — End-to-end "build me a red cube" tutorial.
- Choosing an MCP Client — A capability matrix across all supported clients.
- Migration — Replace upstream without co-installing shared assemblies/GUIDs; understand stable release versus development branch.
- Security And Consent — Local authentication, high-impact tools, credentials, budgets, and retry limits.
Stable fork 2.6.0 follows its own release series. Fork release notes list the exact tested versions and limits. Upstream history is retained separately and is not the fork's latest release.
MIT licensed fork maintained by ykh09242. Original copyright, artwork, authorship, and citation are retained from CoplayDev/unity-mcp. Not affiliated with Unity Technologies.