Back to Unity Mcp

README

README.md

10.0.05.0 KB
Original Source
<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="docs/images/logo-header-dark.png"> </picture> </p> <div align="center">

English 简体中文    |    Discord Wiki

Proudly sponsored and maintained by Aura — the AI assistant for Unreal & Unity.

And don't miss Godot AI, the new open source project from the makers of MCP for Unity.
</div> <p align="center"><b>Create your Unity apps with LLMs.</b> MCP for Unity bridges AI assistants — Claude, Codex, VS Code, local LLMs, and more — with your Unity Editor via <a href="https://modelcontextprotocol.io/introduction">Model Context Protocol</a>. Give your LLM the tools to manage assets, control scenes, edit scripts, run tests, and automate your game dev workflows.</p> <p align="center"> </p>
<!-- recent-updates:start --> <details> <summary><strong>Recent Updates</strong></summary>

Full history: Release Notes.

</details> <!-- recent-updates:end -->

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. 40+ focused tools, 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=/MCPForUnity#beta  (or openupm add com.coplaydev.unity-mcp)
  2. ConfigureWindow → 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

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, and is not affiliated with Unity Technologies.


License: MIT — see LICENSE.