CoplayDev/unity-mcp

Unity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.

13,194 ★1,396 forksC#Updated 3d ago

What you need to know

MCP for Unity lets you create Unity apps with LLMs — it bridges AI assistants (Claude, Codex, VS Code, local LLMs, and more) with the Unity Editor via the Model Context Protocol, giving the LLM tools to manage assets, control scenes, edit scripts, run tests, and automate game-dev workflows through 47 MCP tool entrypoints.

Install

Unity Package Manager → Add package from git URL: https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main (pin #v10.0.0 for this release, or openupm add com.coplaydev.unity-mcp)

Usage

  • Configure: Window → MCP for Unity → "Configure All Detected Clients"
  • Prompt: "Create a cube at the origin and add a Rigidbody."
  • Works with any MCP client — Claude Desktop & Code, Cursor, VS Code, Windsurf, Cline, Gemini CLI, and more

Key features

  • 47 focused MCP tool entrypoints for scene/GameObject creation, C# script editing, asset management, test running, profiling, and building
  • Multi-Instance Routing for multiple Unity instances
  • Tool groups (vfx / animation / ui / testing / etc.) for organizing capabilities
  • Roslyn script validation; remote-hosted server option with auth
  • Free and MIT-licensed; published research paper (MCP-Unity: Protocol-Driven Framework for Interactive 3D Authoring)

Best for

AI-driven Unity game development — scene creation, asset management, script editing, and test running via natural language, from any MCP client.

Caveats

  • Requires Unity 2021.3 LTS → 6.x and Python 3.10+ (via uv) for the server side
  • Not affiliated with Unity Technologies
  • Sponsored/maintained by Aura, which also sells a premium Unity/Unreal AI assistant (Aura for Unity)
Platforms: Windows · macOS · LinuxClients: Claude Desktop · Claude Code · Cursor · VS Code · Windsurf · Cline · Gemini CLI · Codex · local LLMs
Documentation ↗

Reviewed 2026-08-07

Topics

aiai-integrationanthropicclaudecopilotcursorgame-developmentgamedevgeminillmmcpmodel-context-protocolopenaiunityunity3dvideogames
View on GitHub ↗Compatibilityvs cursor-talk-to-figma-mcp
Stars
13,194★
Forks
1,396
Language
C#
License
MIT
Created
2025-03-18
Last push
2026-08-03