AI Game Newsaigame.news
Home / Tools and guides / Guide

MCP for Unity: let an agent drive the Unity Editor

An open-source MCP bridge for the Unity Editor that can manage assets, scenes, and scripts, and run tests and builds. It is free and MIT-licensed. The docs name Claude, Codex, Cursor, VS Code, and other MCP clients. Checked on December 3, 2026.

MCP for Unity: let an agent drive the Unity Editor
Image source: MCP for Unity ↗

Overview

Aura sponsors the project, but the README separates the free MCP for Unity from the paid Aura for Unity product. It also states this is a free, open-source Unity Editor tool and is not affiliated with Unity Technologies.

The official description is a Model Context Protocol bridge that lets assistants such as Claude, Codex, VS Code, and local models talk to a running Unity Editor.

What it can do

In natural language they can manage assets, control scenes, edit C# scripts, run tests, profile, and build. The README mentions 50 focused MCP tool entry points; the full catalog is in the docs.

How to install

This is not finished by asking an agent to install a skill. You first add the package in Unity, then connect the editor to your client. The requirements are Unity 2021.3 LTS through 6.x, Python 3.10 or later via uv, and an MCP client.

The fastest path is Window → Package Manager in Unity, then Add package from git URL, and paste https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main. To pin a release, the docs show changing the branch to #v10.0.0. You can also run openupm add com.coplaydev.unity-mcp, or import it from the Unity Asset Store. A beta branch is documented too. After import, a setup wizard usually opens: it checks Python and uv (and can help install them if they are missing), then lets you configure detected clients. After that, Window → MCP for Unity can start or stop the server, switch HTTP and stdio, and show whether it is Connected.

How to use

Once the panel shows Connected, you can talk to the editor from your client in plain language — you do not need to read the whole manual first. The official example is: “Create a cube at the origin and add a Rigidbody.” You can also say: “Create a cube at the origin and add a Rigidbody to it.” or “Add a directional light to the current scene, then place a simple ground plane.”

For tool groups, multiple instances, and script validation, see the official documentation.

Compatible platforms

Named clients include Claude Desktop, Claude Code, Cursor, VS Code Copilot, GitHub Copilot CLI, Windsurf, Cline, and OpenClaw. The docs also note that Claude Desktop supports stdio only.

Notes and license

Checked on December 3, 2026 (Beijing time): GitHub showed 16,396 stars. The license is MIT. The README listed v10.3.0 (4 October 2026) as a recent release, and the default branch was beta. This page is a short intro; follow the official docs to install.