unity-mcp: an MCP-based bridge that enables LLMs to control the Unity Editor via natural language

unity-mcp: an MCP-based bridge that enables LLMs to control the Unity Editor via natural language

What it solves

It removes the manual friction of game development by allowing developers to control the Unity Editor using natural language. Instead of manually navigating menus and manipulating objects, developers can use AI assistants to automate repetitive tasks and complex scene setups.

How it works

The project implements the Model Context Protocol (MCP), acting as a bridge between AI assistants (such as Claude, Cursor, or VS Code) and the Unity Editor. It provides 47 specialized tool entrypoints that the LLM can call to perform actions directly within the editor, such as creating GameObjects, editing C# scripts, and managing assets.

Who it’s for

Game developers using Unity (versions 2021.3 LTS through 6.x) who want to integrate LLM-driven automation into their development workflow.

Highlights

  • Broad Compatibility: Works with any MCP-compliant client, including Claude Desktop, Cursor, Windsurf, and Gemini CLI.
  • Comprehensive Control: Tools cover scene creation, script editing, asset management, testing, profiling, and building.
  • Advanced Routing: Supports multi-instance routing for managing multiple Unity projects simultaneously.
  • Developer Friendly: Includes Roslyn script validation to ensure generated code is correct.

Sources