unity-mcp
Unity MCP is an MIT-licensed bridge that connects AI assistants (Claude, ChatGPT, Cursor, etc.) to the Unity Editor via the Model Context Protocol. It exposes 47 tools to manage assets, edit scripts, control scenes, and automate game development workflows through natural language prompts.
Key facts
Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.
| Field | Value |
|---|---|
| Repository | CoplayDev/unity-mcp |
| Owner | CoplayDev |
| Primary language | C# |
| License | MIT — OSI-approved |
| Stars | 12.2k |
| Forks | 1.3k |
| Open issues | 73 |
| Latest release | v10.0.0 (2026-06-30) |
| Last updated | 2026-07-06 |
| Source | https://github.com/CoplayDev/unity-mcp |
What unity-mcp is
A C# package (2021.3 LTS → 6.x) implementing the Model Context Protocol server, enabling LLM clients to execute structured commands within Unity Editor via REST/stdio. Supports multi-instance routing, tool groups (VFX/animation/UI/testing), script validation via Roslyn, and remote server authentication.
Get the unity-mcp source
Clone the repository and explore it locally.
git clone https://github.com/CoplayDev/unity-mcp.gitcd unity-mcp# follow the project's README for install & configurationNeed it deployed, integrated, or customized instead? DEV.co ships production installs.
Best use cases
Implementation considerations
- Requires Python 3.10+ (via `uv`) and an MCP-compatible client (Claude Desktop, Cursor, VS Code, Cline, Gemini CLI, etc.) installed and configured alongside Unity.
- Script generation via LLM introduces code quality variance; configure Roslyn validation and establish code review checkpoints to prevent invalid edits reaching production scenes.
- Multi-instance Unity setups require explicit routing configuration; single-instance is simpler but limits scalability for larger teams.
- Tool groups allow selective feature exposure (VFX, animation, UI, testing); design which tools are available per use case to reduce LLM confusion and security surface.
- Remote server deployments with auth are possible but not the default; evaluate hosting, latency, and credential management before adopting for distributed teams.
When to avoid it — and what to weigh
- Real-Time Collaborative Multi-User Editing — MCP for Unity is a single-client-per-instance bridge; concurrent AI and human edits are not coordinated. Not suitable for live multiplayer production workflows.
- Offline or Air-Gapped Environments — Requires active MCP client connection (e.g., Claude Desktop, VS Code extension); no built-in offline fallback. Cannot function if Unity Editor cannot reach the configured LLM service or MCP client.
- Safety-Critical or High-Assurance Systems — Generated code and scene changes are LLM-driven; no formal verification or approval gates are enforced by the tool. Manual code review and testing remain mandatory for production or regulated titles.
- Legacy Pre-2021 LTS Versions — Minimum supported version is Unity 2021.3 LTS; earlier versions are not compatible. Upgrading is required to adopt this tool.
License & commercial use
MIT License (permissive, OSI-approved). Permits commercial use, modification, and distribution with attribution. No copyleft obligations. Full text at LICENSE file in repository.
MIT is a permissive license that permits commercial use without royalty or licensing restrictions. Can be integrated into commercial game engines, studios, and tools. However, you assume liability for any damages or issues arising from your use. No warranty is provided by the authors. Recommended: review LICENSE file and consult legal counsel for enterprise deployments.
DEV.co evaluation signals
Editorial assessment — not user reviews. Directional, with an explicit confidence level.
| Signal | Assessment |
|---|---|
| Maintenance | Active |
| Documentation | Strong |
| License clarity | Clear |
| Deployment complexity | Moderate |
| DEV.co fit | Strong |
| Assessment confidence | High |
MCP for Unity exposes editor control via language model prompts; LLM hallucinations or malicious prompts could generate unintended scripts or scene modifications. Roslyn validation catches syntax errors but not logic errors. No formal sandbox or capability restrictions described. Remote server deployments require auth management (not automatic). Script execution in editor context carries privilege to read/modify project files. Recommended: use Roslyn validation, review generated code before applying, limit tool exposure via tool groups, and isolate remote server credentials.
Alternatives to consider
Godot AI
Open-source AI integration for Godot Engine (from same maintainers). Choose if target engine is Godot instead of Unity.
Aura for Unity (Premium)
Commercial AI assistant by the same sponsor (Aura); may offer integrated UI, additional features, and support. Choose if enterprise support and polish are priorities.
Custom REST/gRPC Wrapper + LLM SDK
Build your own automation bridge using Unity's C# API and OpenAI/Claude SDKs directly. Choose if you need full control and don't want dependency on MCP protocol or community-maintained tool set.
Build on unity-mcp with DEV.co software developers
Start with the quickstart (2021.3+ Unity, Python 3.10+, any MCP client). Full documentation, Discord community, and migration guides available. Install via Package Manager or OpenUPM.
Talk to DEV.coRelated on DEV.co
Explore the category and the services that help you build with it.
unity-mcp FAQ
Can I use MCP for Unity in a commercial game?
Which LLMs and clients are supported?
Do I need Python or an external service running?
What if the generated code is wrong?
Work with a software development agency
From first prototype to production, DEV.co delivers software development services around tools like unity-mcp. Our software development agency staffs experienced software developers and web developers for custom software development, web development, integrations, and ongoing support across ai frameworks and beyond.
Ready to integrate AI into your Unity workflow?
Start with the quickstart (2021.3+ Unity, Python 3.10+, any MCP client). Full documentation, Discord community, and migration guides available. Install via Package Manager or OpenUPM.