Unity-MCP
AI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may
What is Unity-MCP?
AI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for free.
Overview of Unity-MCP
What it is
Unity-MCP is an AI-powered game development assistant for the Unity Engine. It provides a collection of MCP (Model Context Protocol) tools, AI skills, and a command-line interface that allow AI agents to interact directly with the Unity Editor and even with compiled games at runtime. It is open-source under the Apache-2.0 license.
Key features
- AI agents: Use 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 the Unity Editor. * Skills: Generate skills for AI based on the operating system, Unity version, and plugins in the project. * Runtime (in-game): Use LLMs directly inside your compiled game for dynamic NPC behavior or debugging. * Code and Tests: Develop game mechanics and test them with AI agents. * Extensible: Create custom Tools in your project code.
Use cases
Automating Unity Editor workflows, generating and debugging game code, enabling dynamic non-player character (NPC) behavior in compiled games, and performing real-time AI debugging within a running game.
Getting started
Install the plugin using the .unitypackage installer or via OpenUPM: openupm add com.ivanmurzak.unity.mcp. Alternatively, use the CLI: bash npm install -g unity-mcp-cli unity-mcp-cli install-plugin ./MyUnityProject unity-mcp-cli login unity-mcp-cli open ./MyUnityProject After installation, open Window/AI Game Developer in Unity and click Auto-generate skills or Configure MCP, or use the CLI: npx unity-mcp-cli setup-skills claude-code ./MyUnityProject.
License and pricing
This project is open-source and licensed under Apache-2.0.
Based on the project's public README and repository metadata.