
advanced-unity-mcp
by codemaestroai·★ 91·综合分 47
一个允许 AI 助手通过自然语言命令控制 Unity 编辑器的 MCP 服务器。
概述
Code Maestro 的 Advanced Unity MCP 为 AI 助手和 Unity 编辑器之间的双向通信提供支持。开发者可以通过自然语言命令执行复杂操作,例如'创建红色材质并应用到立方体'或'为 Android 构建项目'。该服务器支持两种连接模式:面向 Code Maestro 桌面应用直接连接,以及面向其他 MCP 客户端(如 VS Code、Cursor 和 Claude Desktop)的中继服务器连接。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
如果您正在使用 Unity 并且希望通过自然语言命令控制编辑器,特别是如果您已经在使用 Code Maestro 或其他支持的 MCP 客户端,请选择此服务器。
什么时候不要选它
如果您使用的 Unity 版本低于 2022,或者需要使用不受支持的 MCP 客户端且无法通过继电器服务器连接,请不要选择此方案。
此 server 暴露的工具
从 README 抽取出 12 个工具execute_menu_itemExecute Unity Editor menu items
read_console_messagesRead Unity Console messages
clear_consoleClear Unity Console messages
create_materialCreate new Unity materials
create_scriptCreate new Unity scripts
create_prefabSave GameObjects as prefabs
modify_gameobjectModify existing GameObjects
manage_sceneManage Unity scenes
set_build_targetConfigure build settings and target platform
control_playbackControl game play mode in Unity
access_profilerAccess Unity Profiler for performance analysis
manage_unity_packagesManage Unity packages and project settings
说明:Tool names inferred from the documentation examples and capabilities sections, as the README doesn't provide an explicit tool list with formal names
可对比工具
安装
安装
**1. 安装包**
Unity 包管理器 → 从 git URL 添加包(适用于您使用的 Unity 版本)
对于 **Unity 2020-2022**
https://github.com/codemaestroai/advanced-unity-mcp.git?path=Unity2020_2022对于 **Unity 6+**
https://github.com/codemaestroai/advanced-unity-mcp.git?path=Unity6**2. 连接您的 AI**
- 在 Unity 中转到
Code Maestro > MCP Dashboard。 - **面向 Code Maestro 桌面应用:**选择"Code Maestro 桌面应用"连接模式。
- **面向其他客户端(VS Code、Cursor 等):**选择"其他客户端"连接模式,然后点击您首选客户端旁边的**配置**。
FAQ
- 支持哪些 Unity 版本?
- 支持 Unity 2020+,有专门针对 Unity 2020-2022 和 Unity 6+ 的安装路径。
- 哪些 MCP 客户端与此服务器兼容?
- 支持 Code Maestro 桌面应用(直接连接)和任何 MCP 兼容客户端,如 VS Code、Cursor、Windsurf、Claude Desktop 等(中继连接)。
advanced-unity-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。