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
Broad access
Why this level
- Changes objects and components in a real Unity project
- Can install packages into the project
Install
- Works in
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 reviewBroad 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 sceneMCP
- 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.
Related
MCP serversControl the Unity Editor from an agent over MCP: scenes and objects, C# scripts, assets, tests, profiling and builds
An MCP server for Unity: control the scene, objects, components, builds and profiling from an agent
A Unity package: the Editor serves MCP over HTTP itself, and agents and the command line drive scenes, assets and builds
A Unity package with a local editor bridge: an agent drives scenes, prefabs, builds and tests over MCP
A Unity plugin with an MCP server, skills and CLI: the agent drives scenes, assets, scripts and tests in the Unity Editor
An MCP server inside the Unity Editor: the agent builds scenes and scripts, enters play mode and checks the game with screenshots
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Authentication | Repository stars | Main difference |
|---|---|---|---|---|
| MCP Unity (this card) | no | not required | 2,018 | |
| Funplay MCP for Cocos | no | not required | 394 | a Cocos Creator extension with a built-in MCP server |
| Funplay MCP for Unity | no | not required | 303 | an 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.