Unity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.

★ 15,852⑂ 1,633
C#Created 2025-03-18coplaydev.github.io/unity-mcp/
15,852
stars
+175+209+1,144
1,633
forks
–
watchers
–
prs
–
issues
–
releases
–
discussions

README

English  简体中文    |    Discord  Wiki

 Proudly sponsored and maintained by Aura — the AI assistant for Unreal & Unity.
 Now you can automate playtesting with Autopilot, the new open-source game tester.



Create your Unity apps with LLMs. MCP for Unity bridges AI assistants — Claude, Codex, VS Code, local LLMs, and more — with your Unity Editor via Model Context Protocol. Give your LLM the tools to manage assets, control scenes, edit scripts, run tests, and automate your game dev workflows.


  


---



Recent Updates

 v10.3.0 (2026-10-04)
 v10.2.0 (2026-09-01)
 v10.1.2 (2026-08-02)
 v10.1.0 (2026-07-13)
 v10.0.2 (2026-07-13)

Full history: Release Notes.




---

 What it does

Control the Unity Editor in natural language from any MCP client — create scenes & GameObjects, edit C scripts, manage assets, run tests, profile, and build. 50 focused MCP tool entrypoints, any client, free & MIT.

Browse the full tool catalog →

---

 Quickstart

Requirements: Unity 2021.3 LTS → 6.x · Python 3.10+ (via uv). Works with any MCP client — Claude Desktop & Code, Cursor, VS Code, Windsurf, Cline, Gemini CLI, and more.

1. Install — Unity → Package Manager → Add from git URL:
   https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnitymain  _(pin v10.0.0 for this release, or openupm add com.coplaydev.unity-mcp)_
2. Configure — Window → MCP for Unity → Configure All Detected Clients.
3. Prompt — "Create a cube at the origin and add a Rigidbody." The cube appears in seconds.

---

 Community

- Discord — chat with maintainers and other contributors
- Issues — bugs and feature requests
- Discussions — design ideas and broader questions
- Security: see SECURITY.md for private reporting

 Contributing

See CONTRIBUTING.md. Branch off beta, not main. The full dev setup, testing, and release process live in the Contributing docs.

 Advanced

- Multiple Unity instances — Multi-Instance Routing
- Tool groups (vfx / animation / ui / testing / etc.) — Tool Groups
- v10 asset generation and upgrade notes — v10 Migration
- Roslyn script validation — Roslyn Validation
- Remote-hosted server with auth — Remote Server Auth

 Star History



 Citation

If MCP for Unity helped your research, please cite it.

bibtex
@inproceedings{wu2025mcpunity,
  author    = {Wu, Shutong and Barnett, Justin P.},
  title     = {{MCP-Unity}: {Protocol-Driven} Framework for Interactive {3D} Authoring},
  year      = {2025},
  isbn      = {9798400721366},
  publisher = {Association for Computing Machinery},
  address   = {New York, NY, USA},
  url       = {https://doi.org/10.1145/3757376.3771417},
  doi       = {10.1145/3757376.3771417},
  series    = {SA Technical Communications '25}
}


 Unity AI Tools by Aura

Aura offers 2 AI tools for Unity:
- MCP for Unity is available freely under the MIT license.
- Aura for Unity is a premium Unity/Unreal AI assistant built for game devs.

 Disclaimer

This project is a free and open-source tool for the Unity Editor, 

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON