开源项目解析
MCP for Unity
把 Unity 编辑器接到任意 MCP 客户端:建场景与对象、改 C# 脚本、管资源、跑测试、性能分析、出包。README 写明 50 个工具入口。
47 个工具入口Unity 2021.3→6.x任意 MCP 客户端
读懂层
2 张 · 架构图 / 时序图
DeepWiki · 抓取 2026-08-17 · 核验 2026-08-17
DeepWiki · 抓取 2026-08-17 · 核验 2026-08-17
Python 服务在中间,Unity 侧是一个包。客户端发 MCP 调用,服务转给插件中枢,再经传输层丢回 Unity 主线程执行 —— **编辑器 API 只能在主线程调,这一跳是必须的**。
它管哪几个决定
自持能力
动手层
文档代码结构踩过的坑实测 未做
装它要过哪几关
- 1Unity → Package Manager → 从 git URL 添加钉在版本 tag 上,README 明写可以 `#v10.0.0`;跟 `#main` 等于每次拉都可能变
- 2装 Python 3.10+ 与 uv纯 Unity 团队多一套环境要维护,这是它最大的隐性成本
- 3Window → MCP for Unity → 配置所有检测到的客户端客户端没装或没跑,这一步探测不到,会静默少配
- 4对着客户端说「在原点建一个立方体并加刚体」验通不通只有这一条路 —— 配好不等于连上了
改哪个文件能改什么
工具目录47 个工具入口各管一件事。想知道某个操作叫什么,查它的工具目录页比翻代码快坑在哪一处
带 issue 编号的来自:github issues 按回复数排序 · 核验 2026-08-17
Unity 版本README 声明支持 Unity 2021.3 LTS 到 6.x;具体功能在所用版本上的可用性仍需测试。
它看不见画面工具再多也只能按你描述的去摆。「摆得对不对」它判断不了,要自己回编辑器看
主线程编辑器 API 只能在主线程调,所有命令都要经过一次跳线程。长操作会卡住编辑器界面
教程
官方文档、作者本人的视频,以及 ComfyUI 官方给的原生工作流示例。每条都验过还打得开。
项目自述
以下是仓库 README 的开头部分(原文引用,抓取 2026-08-17)。读全文 ↗
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.
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=/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
- 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, and is not affiliated with Unity Technologies.
License: MIT — see LICENSE.判断
优势
- 这一类里星速最高且一直在维护,出问题有人管
- Unity 版本跨度大,老项目也接得上
- 不绑客户端,Claude / Cursor / VS Code / 本地模型都行
局限
- 要装 Python 与 uv,纯 Unity 的团队多一套环境要维护
- 由商业公司赞助维护,路线取决于对方的产品方向
- 工具再多也看不见画面,摆放对不对只能靠你描述
不适用
只想让 AI 写脚本文件、完全不想让它碰工程 —— 那用技能包更轻。
同管这些决定的其它项目
Claude Code Game Studios把一个 Claude Code 会话组织成一间工作室:49 个 agent 分导演 …UltraGameStudio一个照着游戏引擎的实际工作量重写的编码 Agent:代码只是一小块,其余是材质、蓝图…Autonomix装在虚幻编辑器里的自主开发插件:建蓝图、改 C++ 源码、管关卡、材质、网格、控件、…awesome-gamedev-agent-skills74 个游戏开发技能加一个路由器。你说要做什么,路由器认出引擎与任务,只加载对得上的…Unity 官方技能包Unity 官方给 AI 编码 Agent 的一批可复用技能:提示词、斜杠命令与配套…GodotPrompter给 AI 编码 Agent 的 Godot 4.x 技能框架,按领域切分成一条条专用…Game Dev Agentic Skills面向 Godot 4.7+ 与 Bevy 0.20+ 的 AI Agent 技能库,…unreal-engine-skills给 AI 编码 Agent 的 31 条虚幻 C++ 技能,覆盖玩法、渲染等方向。 …Unity-MCP(Murzak)编辑器与运行时都能用的 Unity AI 助手。除了常规的编辑器操作,**它能跑在你…MCP UnityUnity 编辑器的 MCP 接入,服务端走 Node.js。…LocusUnity 的开源开发 Agent:写 C#、读改对象与资源、跑完整功能开发流程。自…unreal-mcp(chongdashu)虚幻的 MCP 接入:管 Actor、建蓝图类与组件、接蓝图节点图、控制视口。…VibeUE虚幻 5.8+ 的 MCP 扩展与编辑器工具集:蓝图、材质、地形、植被、动画、Nia…UnrealClaude把 Claude Code CLI 直接嵌进虚幻 5.7 编辑器:停靠式聊天面板、2…EngineWire(原 Unreal MCP)经一个原生 C++ 自动化桥插件控制虚幻:资源管理、Actor、编辑器与播放模式、关…unreal-engine-mcp(flopperam)虚幻的 MCP 接入。README 顶部已声明本项目转由一家商业公司持有,并引导去用…Godot MCPGodot 引擎的 MCP 服务:启动项目、读取运行时报错、操作场景与脚本。…Godot AI把 MCP 客户端直接接到运行中的 Godot 编辑器:建场景、改节点与脚本、连信号…Godot MCP NativeGodot 的 MCP 插件,**整个服务用 GDScript 原生实现**。REA…Cocos Creator MCPCocos Creator 3.8+ 的 MCP 服务插件,README 写明免费版…Roblox Studio MCPRoblox Studio 的 MCP 服务:运行时调试、控制试玩、截图。…Blender MCP把 Blender 接到任意大模型:用对话做建模、搭场景、改物件。…Unity ML-Agents把游戏与仿真变成训练环境的官方工具包:基于 PyTorch 的一批算法,训 2D /…Godogen生成游戏工程与 Agent 工作流:覆盖 Godot 4(C# 或 GDScript…Story-to-Game从「小说 / 剧本转互动文字游戏」到「运行互动文游」的全套:一个 AI 技能把任意体…UnitySkills基于 REST 接口的 Unity 编辑器自动化工具,当前 README 列出 83…
github README + DeepWiki · 核验 2026-10-19 | 判断栏可报错。