MCP for Unity

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

  • 15,537 ★ on the repository
  • Last commit
  • MIT
MCP server

Broad access

Why this level

  • Modifies project scenes, assets and C# scripts
  • Runs builds and tests in the editor
All reasons and checks

coplaydev/unity-mcp

Install

Manual install

openupm add com.coplaydev.unity-mcp

OpenUPM alternative, run in the Unity project folder.

Access and checks

How we review

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

  • Modifies project scenes, assets and C# scripts
  • Runs builds and tests in the editor

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 it

MCP

Transport
stdio, http
Authentication
not required

Limitations

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.

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.

Discussion

No questions or reviews yet.

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

MCP serverBroad access2KRepository stars

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

MCP serverBroad access338Repository stars

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

MCP serverExtended access530Repository 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.5KRepository 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 access275Repository stars

An MCP server that lets an agent control the Unreal Engine editor in words: actors, blueprints, node graphs, camera

MCP serverExtended access2.1KRepository stars

Comparison with similar tools

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

EntryOfficialAuthenticationRepository starsMain difference
MCP for Unity (this entry)nonot required15,537
Roblox Studio MCP (community, debugging and playtests)nonot required345MCP server for Roblox Studio
WEPPY Roblox AI Toolkitnonot required69an MCP server plus a plugin for Roblox Studio
renderdoc-mcpnonot required373an MCP server and CLI for RenderDoc

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.

README badge

Report a problem

Foxx AIMCP for Unity
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.