IvanMurzak/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.

3,825 ★346 forksC#Updated 3d ago

What you need to know

"AI Game Developer" — an AI-powered Unity development assistant for Editor AND Runtime: connects Claude, Cursor, Codex and other MCP clients to Unity with 70+ built-in tools and skills, and can even run LLMs inside your compiled game for dynamic NPC behavior.

Install

openupm add com.ivanmurzak.unity.mcp   (or download the AI-Game-Dev-Installer.unitypackage)
npm install -g unity-mcp-cli && unity-mcp-cli install-plugin ./MyUnityProject
Docker: docker run -p 8080:8080 aigamedeveloper/mcp-server

Usage

  • Open Window/AI Game Developer in Unity and click Auto-generate skills (recommended) or Configure MCP
  • claude mcp add ai-game-developer <command> (or gemini mcp add, copilot /mcp add)
  • Ask the AI e.g. "Create 3 cubes in a circle with radius 2" or "Explain my scene hierarchy"

Key features

  • 70+ built-in tools across Project & Assets, Scene & Hierarchy, Scripting & Editor (Roslyn C# compile/execute), and Profiling & Diagnostics
  • Runtime (in-game) MCP: connect LLMs inside the compiled game for AI-driven NPCs, bots, and real-time debugging
  • Extensible via C# attributes: add custom MCP Tools, Resources, and Prompts in project code
  • Reflection-powered: discover and call any method in the codebase (including private and compiled DLL methods), live Unity API access
  • Extension tool packs for Animation, Cinemachine, InputSystem, NavMesh, ParticleSystem, ProBuilder, Splines, Terrain, Tilemap, Timeline; stdio and streamableHttp transports

Caveats

  • Unity project path cannot contain spaces
  • Your AI agent must support Skills or dynamic MCP tool updates
  • Optional cloud sign-in via ai-game.dev OAuth device flow (unity-mcp-cli login); authorization modes none/oauth/token
Platforms: Windows x64/x86/arm64 · macOS Apple Silicon/Intel · Linux x64/arm64Clients: Claude Code · Claude Desktop · Cursor · Windsurf · GitHub Copilot · Gemini · Antigravity · VS Code · Rider · Visual Studio · Cline · Kilo Code · Open Code
Documentation ↗

Reviewed 2026-08-07

Topics

aiai-integrationanthropicclaudeclaude-codeclaude-desktopclicopilotcursorgame-developmentgamedevgeminillmmcpmcp-servermodel-context-protocolopenaiunitywindsurf
View on GitHub ↗
Stars
3,825★
Forks
346
Language
C#
License
Apache-2.0
Created
2025-04-02
Last push
2026-08-03