MCP for Unity
Control the Unity Editor from an agent over MCP: scenes and objects, C# scripts, assets, tests, profiling and builds
Install
openupm add com.coplaydev.unity-mcpOpenUPM alternative, run in the Unity project folder.
This is third-party code. Review the repository files before installing.
What it does
MCP for Unity links the Unity Editor to an agent: a package inside Unity receives commands and a Python server exposes them to the client as MCP tools. The agent can create scenes and game objects, add components, edit C# scripts, manage assets, run tests, profile and build the project. Tools are grouped, for example for VFX, animation and UI. It supports several open Unity instances and a remote server with auth.
Who it is for. For Unity game and interactive app developers who want an agent to handle routine editor work.
Good fit when
- You want to prototype a scene from a text description quickly
- You need bulk changes to objects, components or assets
- The agent should run tests and builds itself after editing scripts
Not a fit when
- The project uses Unreal, Godot or another engine
- Your Unity version is older than 2021.3 LTS
Example request
Create a cube at the origin and add a Rigidbody to itLimitations
Requires Unity 2021.3 LTS through 6.x and Python 3.10+ via uv. The editor must be open. The project is not affiliated with Unity Technologies. The agent changes scenes and scripts directly, so work under version control.
How to disable. Remove the MCP for Unity package in Package Manager and delete the server from the client's MCP config.
MCP
- Transport
- stdio, http
- Authentication
- not required
Security check
- Modifies project scenes, assets and C# scripts
- Runs builds and tests in the editor
README in short
The README briefly lists capabilities and gives three steps: add the package to Unity via git URL or OpenUPM, configure clients from the menu and send a first prompt. The full tool catalog, tool groups, multi-instance routing and remote server are in the docs. MIT licensed.
FAQ
Do I have to add the server to the client by hand?
Usually not: the package menu has an item that configures detected clients automatically.
Is it paid?
No, it is free under MIT. The paid Aura assistant from the same team is a separate product.
Related
A skills library that gives coding agents a development process: brainstorming, planning, TDD, subagents and code review
Skills for real engineers by Matt Pocock
Skills For Real Engineers
Small composable skills for engineering with agents: plan grilling, TDD, bug diagnosis, code review and architecture
GitHub toolkit for spec-driven development: the specify CLI adds agent commands and skills to a project, from principles to implementation
Reference MCP servers
Model Context Protocol servers
Official reference MCP servers: Filesystem, Fetch, Git, Memory, Sequential Thinking, Time and Everything