Unity MCP is an AI-powered game development assistant that connects various AI agents to Unity for automating workflows, generating code, and enabling AI within games. It allows real-time AI debugging and player-AI interaction inside compiled games.
From the registry: Make 3D games in Unity Engine with AI. MCP Server + Plugin for Unity Editor and Unity games.
$ npm install -g unity-mcp-clihttps://github.com/IvanMurzak/Unity-MCPPlease install the `unity-mcp-ivanmurzak` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Node.js** — Node.js required to run unity-mcp-cli. (https://nodejs.org)
- **Unity Project** — A Unity project is required to install the plugin into. (https://unity.com)
- **unity-mcp-cli** — CLI tool for installing and managing the Unity plugin. Run: `npm install -g unity-mcp-cli` (https://github.com/IvanMurzak/Unity-MCP)
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","unity-mcp-cli","run","--project","<path-to-unity-project>"]
Note: Install plugin: unity-mcp-cli install-plugin ./MyUnityProject. Also works with Docker: ivanmurzakdev/unity-mcp-server. Supports Editor and Runtime (in-game AI). Works with Claude, Cursor, Codex, GitHub Copilot, and more.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.