开源项目解析
Unity-MCP(Murzak)
编辑器与运行时都能用的 Unity AI 助手。除了常规的编辑器操作,**它能跑在你编译出来的游戏里** —— 用来实时调试,或者让 NPC 行为由模型驱动。
能在打包后的游戏里跑按环境自动生成技能编辑器与运行时都覆盖
读懂层
2 张 · 架构图 / 时序图
DeepWiki · 抓取 2026-08-17 · 核验 2026-08-17
DeepWiki · 抓取 2026-08-17 · 核验 2026-08-17
它管哪几个决定
自持能力
动手层
还没做。装它要过哪几关、改哪个文件能改什么、坑在代码哪一处 —— 这三项要读源码,尚未完成。
教程
没找到官方口径的教程 —— 官方只给了 README。
项目自述
以下是仓库 README 的开头部分(原文引用,抓取 2026-08-17)。读全文 ↗
✨ AI Game Developer — Unity SKILLS, MCP
中文 | 日本語 | Español
Unity MCP is an AI-powered game development assistant for Editor & Runtime. Connect Claude, Cursor, & Windsurf to Unity via MCP. Automate workflows, generate code, and enable AI within your games.
Unlike other tools, this plugin works inside your compiled game, allowing for real-time AI debugging and player-AI interaction.
> 💬 Join our Discord Server - Ask questions, showcase your work, and connect with other developers!
- ✔️ AI agents - Use the best agents from Anthropic, OpenAI, Microsoft, or any other provider with no vendor lock-in
- ✔️ Tools - A wide range of default MCP Tools for operating in Unity Editor
- ✔️ Skills - Generate skills for AI based on operating system, Unity version, plugins in the project
- ✔️ Code and Tests - Develop game mechanics and test them with AI agents
- ✔️ Runtime (in-game) - Use LLMs directly inside your compiled game for dynamic NPC behavior or debugging
- ✔️ Debug support - Let AI debug and fix the problems in a project
- ✔️ Natural conversation - Chat with AI like you would with a human
- ✔️ Flexible deployment - Works locally (stdio) and remotely (http) via configuration
- ✔️ Extensible - Create custom Tools in your project code
https://github.com/user-attachments/assets/228baf4d-4f00-4dce-939d-fb985ebdd8dd
OR use cli
bash
1. Install unity-mcp-cli
npm install -g unity-mcp-cli
2. Install "AI Game Developer" in Unity project
unity-mcp-cli install-plugin ./MyUnityProject
3. Sign in to ai-game.dev (opens your browser — OAuth device flow)
unity-mcp-cli login
4. Open Unity project (auto-connects and generates skills)
unity-mcp-cli open ./MyUnityProject
Quick Start
Get up and running in three steps:
1. Install plugin — download the .unitypackage installer or run openupm add com.ivanmurzak.unity.mcp
> Alternative: npx unity-mcp-cli install-plugin ./MyUnityProject — see CLI documentation
2. Pick an AI agent — Claude Code, Claude Desktop, GitHub Copilot, Cursor, or any other
3. Setup AI agent — open Window/AI Game Developer in Unity and click Auto-generate skills (recommended) or Configure MCP
> Alternative: npx unity-mcp-cli setup-skills claude-code ./MyUnityProject — see CLI documentation
That's it. Ask your AI *"Create 3 cubes in a circle with radius 2"* and watch it happen. ✨
Skills and Tools Reference
The plugin ships with 70+ built-in tools across four categories. Each tool brings AI skill. All tools are available immediately after installation — no extra configuration required. See docs/default-mcp-tools.md for the full reference with detailed descriptions.
> 🧰 Browse the full MCP tools registry online: ai-game.dev/docs/tools
Project & Assets
- assets-copy - Copy the asset at path and stores it at newPath
- assets-create-folder - Creates a new folder in the specified parent folder
- assets-delete - Delete the assets at paths from the project
- assets-find - Search the asset database using the search filter string
- assets-find-built-i
……(后略,见原文)判断
优势
- 进得了编译后的游戏,这一点同类都做不到
- 技能按你的实际环境生成,不是一份通用清单
- 中日西三语说明齐全
局限
- 运行时嵌模型意味着玩家机器上要跑推理,成本转嫁给玩家
- 覆盖面比头部项目宽,但每一块的深度得自己验
- README 极长,找一个具体功能要翻很久
不适用
只做编辑器侧自动化 —— 运行时那一半是它的主要重量,用不上就选更轻的。
同管这些决定的其它项目
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++ 技能,覆盖玩法、渲染等方向。 …MCP for Unity把 Unity 编辑器接到任意 MCP 客户端:建场景与对象、改 C# 脚本、管资源…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 /…LLM for Unity把大模型集成进 Unity,做能对话的 AI 角色。包含一套检索增强系统,可以在你自…Godot RL Agents让 Godot 里的游戏成为强化学习的训练环境,供开发者与研究者训智能体。…Godogen生成游戏工程与 Agent 工作流:覆盖 Godot 4(C# 或 GDScript…Story-to-Game从「小说 / 剧本转互动文字游戏」到「运行互动文游」的全套:一个 AI 技能把任意体…UnitySkills基于 REST 接口的 Unity 编辑器自动化工具,当前 README 列出 83…
github README + DeepWiki · 核验 2026-10-19 | 判断栏可报错。