Unity MCP Server

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

MCP server

Medium risk

We rate an entry medium when the tool runs code, makes network calls or reads project files. Check what exactly it does before installing.

Why this level

  • Controls the Unity editor and changes your project
  • Runs builds and can install editors through Unity Hub
All reasons and checks

anklebreaker-studio/unity-mcp-server

Install

Manual install

git clone https://github.com/AnkleBreaker-Studio/unity-mcp-server.git
cd unity-mcp-server
npm install

Install the server from source. The companion plugin is installed in Unity separately via Package Manager.

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

What it does

The server links an agent to the Unity editor through a companion plugin installed as a UPM package by a git URL. The agent works with the scene and hierarchy, creates and edits GameObjects and components, manages lights, environment, skybox and baking, handles the project and its packages, configures and runs builds, and captures profiling and scene screenshots. Through Unity Hub it can list and install editors and modules. The server discovers running Unity instances and prompts a choice when several exist, and some tools activate only when the matching packages are present in the project.

Who it is for. For Unity game developers who want to control the editor and builds through an agent.

Good fit when

  • You need to build a scene, objects and components from a description
  • You need to configure and run a project build
  • You need profiling or a scene screenshot from an agent

Not a fit when

  • You have no Unity 2021.3 LTS or newer
  • You cannot install the companion plugin via Unity Package Manager

Example request

Create a red cube at position 0, 2, 0, add a Rigidbody and show the scene hierarchy

Limitations

You need Node.js 18 or newer, Unity 2021.3 LTS or newer and the unity-mcp-plugin companion installed via UPM. Bridge paths and ports are set through environment variables. The AnkleBreaker Open License requires attribution and forbids reselling the tool, while personal and educational use is exempt from attribution. Some tools work only when packages such as Amplify Shader Editor are installed.

How to disable. Remove the server entry from your MCP client config and remove the companion plugin from Unity via Package Manager.

MCP

Transport
stdio
Authentication
not required
Environment variables
Environment variables
UNITY_HUB_PATH
Path to the Unity Hub executable.
UNITY_BRIDGE_PORT
Editor bridge port, default 7890.

Security check

  • Controls the Unity editor and changes your project
  • Runs builds and can install editors through Unity Hub

README in short

The README covers installing the companion plugin via UPM, installing the server from source with npm install and configuring the client via node src/index.js. It lists tool groups: scene, objects, components, lighting, project, builds, profiling, input and Unity Hub. It documents environment variables for paths and ports, version requirements and an optional package section. It notes the server and plugin are free and open under the AnkleBreaker Open License.

FAQ

What must I install in Unity itself?

The unity-mcp-plugin companion via Unity Package Manager from a git URL. Editor tools do not work without it.

Are there license limits?

Yes, the license requires attribution and forbids reselling the tool. Personal and educational use is exempt from attribution.

Editors’ pick

A skills library that gives coding agents a development process: brainstorming, planning, TDD, subagents and code review

PluginMedium riskNo VPN needed292.5KRepository stars
Editors’ pick

Small composable skills for engineering with agents: plan grilling, TDD, bug diagnosis, code review and architecture

SkillLow risk271.4KRepository stars
Editors’ pick

GitHub toolkit for spec-driven development: the specify CLI adds agent commands and skills to a project, from principles to implementation

CLIMedium riskNo VPN needed139.3KRepository stars

Reference MCP servers

Model Context Protocol servers

Official

Official reference MCP servers: Filesystem, Fetch, Git, Memory, Sequential Thinking, Time and Everything

MCP serverMedium risk90.6KRepository stars
Foxx AIUnity MCP Server

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