源码内容
官方迁移页说明,com.unity.ai.assistant 的编辑器内 MCP Server 已弃用,由使用同一协议的 Unity CLI 内置 unity mcp 承接,而 CLI 的 MCP 模式继续受到完整支持。文档列出 unity pipeline install、unity mcp configure、unity mcp configure --list、unity skill install,以及直接操作编辑器的 unity command / unity eval。CLI 无需 AI 代理也能管理编辑器版本、执行无头构建与测试套件;官方技能涵盖 Claude Code、Codex、Cursor、Copilot、Windsurf 等客户端。Unity 的 Codex 专用指南说明如何从 Unity-Technologies/unity-agent-plugin 插件市场安装 unity@unity-agent-plugin,并验证技能已加载;官方 CLI 发布说明也记载 unity mcp configure codex。第三方 MCP 包不受此次弃用影响。
使用限制
The CLI is free and separate from Unity AI, but driving a running Editor through the Pipeline package requires Unity 6.0 LTS or later; the local pipeline server accepts localhost connections only. The separate Unity AI Assistant and AI Gateway remain beta, linked to Unity Cloud, and subject to trial or subscription terms; Unity Muse is deprecated. Assistant package versions before 2.13 conflict with the CLI. This entry separates the deprecated in-editor server from the supported CLI MCP mode; no local installation, engine run, or game-quality evaluation was performed.