Repository navigation
FAQ
A Unity package (com.ivanmurzak.unity.mcp) plus a CLI (unity-mcp-cli) that let AI agents work in the Unity Editor and in built games through the Model Context Protocol. See Home.
Yes, for game development, commercial games included. The plugin, the CLI and the server are open source under Apache-2.0. The plugin uses RQL and Code-Exec, licensed under PolyForm Shield 1.0.0: that license restricts only companies that build competing AI tools for game development, so game developers can use everything freely.
Any MCP client. The AI Game Dev window and unity-mcp-cli setup-mcp configure Claude Code, Claude Desktop, Codex, Cursor, Gemini, GitHub Copilot (VS Code, Visual Studio, CLI), Rider, Cline, OpenCode, Antigravity, Unity AI and more; unity-mcp-cli setup-mcp --list prints the current list.
2022.3 and newer, including Unity 6.
Skills (Auto-generate skills in the window, or unity-mcp-cli setup-skills) are recommended when your agent supports them: the agent loads tool instructions only when it needs them. MCP configuration works with every client.
Version 1.0.0 replaced them with RQL (rql-query, rql-mutate, rql-schema). The mapping is in AI Tools Reference.
No. In Cloud mode (the default) the plugin connects to https://ai-game.dev/mcp; in Custom mode it can download and start the local GameDev-MCP-Server itself. Cloud is the default because it needs no open ports and avoids port conflicts with other programs; it is free.
The relay is stateless: it routes tool calls between your AI client and the Editor without inspecting or persisting their contents. It does not collect your conversations, source code, project files, assets or scene data. It records MCP event metadata (event type, timing, status, session identifiers, the tool, prompt or resource name, and error details); request logs and these events are used within a rolling 90-day window. The Privacy Policy is the authority.
Cloud mode uses one: click Authorize in the AI Game Dev window, or run unity-mcp-cli login; either signs in through the browser once per machine. Custom mode with a local or self-hosted server works without it.
Yes. Initialize UnityMcpPluginRuntime in your game and register your own tools; see API Reference.
Yes, with [AiToolType] and [AiTool] on any C# method: Custom Tools Development.
Yes: in the window, with tool-set-visibility, or unity-mcp-cli configure <path> --disable-tools <ids>. A hidden tool is not listed to the agent but still runs when called by name. See Configuration.
UserSettings/AI-Game-Developer-Config.json in the project, edited through Window > AI Game Dev.