MCP Unity

MCP server that connects an AI agent to the Unity Editor: scene, objects, packages and project resources

  • 2,018 ★ on the repository
  • Last commit
  • MIT
MCP server

Broad access

Why this level

  • Changes objects and components in a real Unity project
  • Can install packages into the project
All reasons and checks

codergamester/mcp-unity

Install

Manual install

{
  "mcpServers": {
    "mcp-unity": {
      "command": "node",
      "args": ["ABSOLUTE/PATH/TO/mcp-unity/Server~/build/index.js"]
    }
  }
}

Copy the absolute path from Tools > MCP Unity > Server Window.

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • Changes objects and components in a real Unity project
  • Can install packages into the project

This is third-party code. Review the repository files before installing.

What it does

MCP Unity gives an agent access to the Unity Editor over the Model Context Protocol. Through a set of tools the agent can work with scene objects, change components, install packages in the Package Manager, read project state and get step-by-step guidance for common tasks. The server runs on Node.js and a package is installed inside Unity via the Package Manager, after which a client such as Cursor, Claude Code, Codex or Windsurf connects over MCP.

Who it is for. For Unity game developers who want to drive the editor and project through an AI agent.

Good fit when

  • You want an agent to change Unity scene objects and components
  • You want to manage Unity packages through an assistant
  • You want an agent to read Unity project state

Not a fit when

  • The project is not on Unity
  • You cannot keep the Unity Editor and a Node.js server running

Example request

List the project's installed packages and add an empty controller object to the scene

MCP

Transport
stdio
Authentication
not required

Limitations

It needs Unity 6 or newer, Node.js 18 or newer and an open editor. Setup is multi-step: the Unity Package Manager package, then the server and the client config with an absolute path. The agent changes a real project, so version control matters.

How to disable. Remove the server entry from your MCP config and remove the MCP Unity package from the Package Manager.

FAQ

What is installed in Unity itself?

The MCP Unity package via the Package Manager; it opens the server window and the editor bridge.

Which clients are supported?

Cursor, Claude Code, Codex, Windsurf and other MCP-capable clients.

Discussion

No questions or reviews yet.

Control the Unity Editor from an agent over MCP: scenes and objects, C# scripts, assets, tests, profiling and builds

MCP serverBroad access15.9KRepository stars

An MCP server for Unity: control the scene, objects, components, builds and profiling from an agent

MCP serverExtended access542Repository stars

A Unity package: the Editor serves MCP over HTTP itself, and agents and the command line drive scenes, assets and builds

MCP serverBroad access344Repository stars

A Unity package with a local editor bridge: an agent drives scenes, prefabs, builds and tests over MCP

MCP serverBroad access257Repository stars

A Unity plugin with an MCP server, skills and CLI: the agent drives scenes, assets, scripts and tests in the Unity Editor

MCP serverBroad access4.6KRepository stars

An MCP server inside the Unity Editor: the agent builds scenes and scripts, enters play mode and checks the game with screenshots

MCP serverBroad access303Repository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialAuthenticationRepository starsMain difference
MCP Unity (this card)nonot required2,018
Funplay MCP for Cocosnonot required394a Cocos Creator extension with a built-in MCP server
Funplay MCP for Unitynonot required303an MCP server inside the Unity Editor

README in short

The README describes an MCP plugin that connects the Unity Editor to AI clients over the Model Context Protocol. Setup takes several steps: Node.js 18 or newer, the MCP Unity package in the Package Manager, running the server and configuring the client via a config file with an absolute path. It offers tools for objects and components, package installs, reading project resources and guidance for common tasks. MIT licensed.

README badge

Report a problem