Unity MCP Server logo

Unity MCP Server

Reads Unity project files over MCP to inspect settings, packages, scenes, scripts, assemblies, and build configuration without opening the Editor.

Install Unity MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "unity-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "unity-mcp-server"
      ],
      "env": {
        "UNITY_PROJECT_PATH": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 156 tools correctly ().

Overview

Unity MCP Server reads a Unity project directory and exposes structured inspection tools to MCP-compatible clients over stdio. It reports project metadata, build scenes, packages, settings, scripts, assemblies, dependency graphs, and related configuration without requiring the Unity Editor to run. Set UNITY_PROJECT_PATH to the project root for most queries, while Unity Hub project discovery can run without a project path. Reach for it when an AI assistant needs to audit or understand a Unity project from an IDE.

Use cases

  • Audit Unity project settings before a build
  • Trace C# assembly and script dependencies
  • Review packages and inferred Unity feature sets
  • Check build scenes and active platform configuration
  • Inspect Unity projects registered in Unity Hub

Key features

  • Reads Unity project data without the Editor
  • Inspects packages, settings, scenes, and build configuration
  • Maps scripts to assemblies and dependency relationships
  • Finds C# scripts by folder or content pattern
  • Lists Unity Hub projects
  • Runs over MCP stdio

Tools156

What Unity MCP Server lets your agent do. Expand a tool for its parameters.

Verified live~8.7k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 78d

What it can do

From the 156 tools this server returned when we ran it.

Runs commands · 1Can delete or modify data · 1Handles credentials · 3Makes network requests · 2Read-only tools · 154
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age270 days
Maintainers1

Observed 2026-11-10 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · unity-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
npm downloads1.2kPackage downloads in the last 30 days.
Last commit11d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed156Callable tools this server registers over MCP.

How Unity MCP Server works

What Unity MCP Server does

Unity MCP Server gives MCP clients read access to Unity project data stored on disk. It can identify the project path and Unity version, inspect player and build settings, enumerate packages and package samples, and read configuration such as graphics, physics, audio, navigation, XR, time, quality, layers, serialization, and scripting defines.

The server also focuses on code organization. It can list C# scripts, locate scripts by content pattern, map files to assemblies, inspect assembly definitions and references, and produce an assembly dependency graph. Project-level tools cover build scenes, bundle version, changelog contents, Unity feature-set inference, and Unity Hub projects.

How it works

An MCP-capable application starts the server with Node.js and communicates with it through standard input and output. The server reads files from the configured Unity project folder and returns tool results to the client. It does not require the Unity Editor to be open because its inspection is based on project files and Unity configuration assets.

Most operations use the project root supplied through UNITY_PROJECT_PATH. The Unity Hub listing tool is an exception: it can list projects registered with Unity Hub without a project path. One server configuration can be pointed at different projects by changing the environment variable.

Setup and configuration

Build or install the package so the compiled entry point is available, then configure an MCP client to run node with the path to dist/index.js as its argument. Add UNITY_PROJECT_PATH to the server environment and set it to the root directory of the Unity project being inspected.

The same command-and-environment pattern applies across clients, although each client stores MCP configuration in its own format. The server communicates over stdio, so the client must be able to launch an MCP process and pass environment variables.

Tools and capabilities

The available tools include:

  • Read project identity, Unity version, product settings, bundle version, build target, and changelog data.
  • List build scenes in EditorBuildSettings order and inspect package manifests, lock-file dependencies, samples, and inferred Unity 6 feature sets.
  • Examine quality, physics, graphics, time, audio, navigation, XR, cloud services, version control, collision layers, and script execution order.
  • List assemblies and scripts, find scripts by content, identify the assembly for a path, inspect reverse assembly references, and build assembly dependency graphs.
  • Discover Unity projects through Unity Hub without configuring a project root.

These tools are suited to questions such as which scenes ship in a build, which packages a project uses, which assembly contains a script, or how project settings are configured.

Limitations and notes

The server is filesystem-based and does not require the Unity Editor, but the available operations are inspection-oriented. Its project-specific tools depend on a valid Unity project path, while Unity Hub discovery uses the local Hub project registry. Client compatibility depends on support for MCP tools over stdio and the ability to pass environment variables.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Unity MCP Server

Unity MCP Server is an MCP server that connects AI clients to Unity project files and Unity Hub project data. Its main tools inspect project metadata, build scenes, packages, Unity settings, C# scripts, assembly definitions, and dependency graphs. It works without requiring the Unity Editor to be open.

Install or build the package so its compiled `dist/index.js` entry point is available, then configure your MCP client to run `node` with that file as an argument. Add `UNITY_PROJECT_PATH` to the server environment and set it to your Unity project root.

Yes, Unity MCP Server works with Cursor through its MCP settings. Configure the command as `node`, pass the path to `dist/index.js` in the arguments, and set `UNITY_PROJECT_PATH` in the server environment.

No, Unity MCP Server reads the Unity project filesystem and does not require the Unity Editor to be open. Its tools inspect project files and settings, including packages, scenes, build configuration, scripts, and assemblies.

Change the `UNITY_PROJECT_PATH` environment variable to the root of the other Unity project. One server configuration can be reused for different projects by updating that value; Unity Hub project listing does not require it.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewUnity MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/unity-mcp-server?style=directory)](https://allmcps.com/mcp/unity-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/unity-mcp-server"><img src="https://allmcps.com/api/badge/unity-mcp-server?style=directory" alt="Unity MCP Server on AllMCPs" /></a>