Skip to content
简体中文

切换主题

// 接外部服务(MCP)

unity-mcp

连接 AI 助手与 Unity 编辑器的 MCP。

开源 维护中 给 AI 用

一段话结论

unity-mcp 是连接 AI 助手与 Unity 编辑器的 MCP。

适合:想让自己的 agent(Claude Code、Codex、Cursor 等)接外部服务(MCP)的开发者。

不适合:不想自己安装和运行工具的人。

01怎么开始

  1. 1先读官方 README / 文档,确认运行环境和需要的权限。
  2. 2按官方说明安装。
  3. 3把它加到 agent 的 MCP 配置里——Claude Code:claude mcp add;Cursor:.cursor/mcp.json;Codex:~/.codex/config.toml。

02README(项目原文)

以下内容来自 CoplayDev/unity-mcp 的 README,许可证 MIT,版权归原作者。 查看原文 ↗

MCP for Unity

English ↔ 简体中文    |    Discord ↔ Wiki

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=/MCPForUnity#main  (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

Star History

Star History Chart

Citation

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

@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.

03替代品与对比

并排对比 →

04相关

版本历史 · 收录依据 · 给 AI 读

热度证据(第三方快照)

给 AI 读

数据更新于:AI 软件库与热度 · 软件档案 / 需求 · 软件官方下载(北京时间)