MCP server for Unity: 130+ tools, Unity 6 skills, AI/ML discovery. No Editor.
Unity MCP Server delivers structured access to Unity projects via MCP-capable IDEs or apps without requiring the Unity Editor. It aggregates 110+ tools, AI/ML discovery, and bundled skills to enable AI assistants to interact with Unity projects.
🛠️ Key Features
MCP server for Unity with no Editor required
110+ tools and bundled skills
AI/ML discovery capabilities
Structured access from MCP-capable IDEs or apps
Topics: agents, mcp, mcp-server, skills, unity
🚀 Use Cases
Integrate Unity project data with external AI assistants
Enable remote collaboration without Unity Editor
Discover and invoke Unity tools via MCP protocol
⚡ Developer Benefits
Clear MCP-based integration pathway for Unity assets
Discoverability through MCP Registry
Compatibility with MCP-enabled environments
⚠️ Limitations
Description notes that no Editor is required; no further limitations are specified in the source data
MCP server for Unity — Gives AI assistants structured access to your Unity project from any MCP-capable IDE or app. No Unity Editor required.
Cursor / IDE → Unity MCP Server → Unity Project
Your IDE talks to this server; the server reads your Unity project folder and answers with project info, build scenes, scripts, prefabs, and more — so the AI can help without opening the Editor.
Overview
Editor-free — Reads only from the project filesystem.
One server, many projects — Set UNITY_PROJECT_PATH per project in your MCP config.
MCP-native — Works with any client that supports the Model Context Protocol (tools over stdio).
Supported IDEs and clients
This server uses the standard MCP protocol over stdio and exposes tools. Any IDE or app that can run an MCP server and pass environment variables will work. Commonly used clients include:
Client
Notes
Cursor
Add server to MCP settings; set UNITY_PROJECT_PATH in env.
Claude Desktop
Add to claude_desktop_config.json; same command + env pattern.
Claude Code
MCP support including tools.
VS Code
Use an MCP extension (e.g. GenAI / Copilot MCP); configure server and UNITY_PROJECT_PATH.
Windsurf
Add MCP server with command and env.
Continue
Configure MCP server in Continue settings.
Cline
MCP tools and resources.
Other
Any client that supports MCP tools over stdio (e.g. Zed, Roo Code, LibreChat, custom agents).
Configuration is the same everywhere: command = node, args = path to dist/index.js, env = UNITY_PROJECT_PATH = your Unity project root. See Configuration below for a Cursor example; other clients use the same structure in their own config format.
Tools
Expand a category below to see the tools it includes.
Copy-paste these into Claude, Cursor, or any MCP client (with this server configured and UNITY_PROJECT_PATH set). The AI will pick the right tools.
Role
Example prompt
Developer
"Which assembly contains Assets/Scripts/Player.cs?" · "List scripts in MyGame.Runtime" · "Who depends on MyGame.Core?" · "Are there assembly dependency cycles?" · "Run release readiness check"
Tester
"Which scenes are in the build?" · "List assemblies that have test in the name" · "Is the project release ready?" · "What's the build size and largest assets?"
Game developer
"Which prefabs have an Animator?" · "Summarize Hero.prefab" · "Show animator transitions in Player.controller" · "List input action assets"
Game designer
"Which materials use Standard shader?" · "List all ScriptableObject assets" · "Summarize Main.unity" · "What lighting does Main.unity use?" · "List all objects in Main.unity with their layers"
What to type in Claude / Cursor or any other MCP Client
In Claude, Cursor, or any MCP client, ask in natural language; the AI picks the right tool. Use the Example prompt to type column in each tools table above — those are the phrases to type in chat to get that result.
Prerequisites
Node.js 18+
UNITY_PROJECT_PATH — Absolute path to your Unity project root (set in your MCP client)
Installation
bash
git clone https://github.com/rachitkumarrastogi/unity-mcp-server.git
cd unity-mcp-server
npm install
npm run build
The server uses stdio; your MCP client starts it automatically.
Configuration
Example for Cursor (same idea for Claude Desktop, VS Code + MCP, Windsurf, etc.):
Replace the paths with your actual paths. For Claude Desktop, add an entry under mcpServers in claude_desktop_config.json with the same command, args, and env. For VS Code, use your MCP extension’s config to add the server and UNITY_PROJECT_PATH. Other clients follow the same pattern in their own config files.
Development
Run built:node dist/index.js
Run dev:npm run dev or npx tsx src/index.ts
Integration with Unity Editor
Current workflow: The AI runs inside your IDE (Cursor, VS Code with MCP, Claude Desktop, Windsurf, or another MCP-capable client). This server provides the AI with read-only access to your project (scenes, scripts, settings, and related assets). You run Unity Editor separately to open scenes, enter Play mode, and build. The AI uses the server to inspect the project and to suggest changes, answer questions, and assist with refactoring.
Future compatibility: This server implements the standard MCP protocol over stdio and requires a single environment variable (UNITY_PROJECT_PATH). If Unity Editor gains built-in MCP client support, you could connect it to this server using the same configuration: command node, arguments pointing to dist/index.js, and UNITY_PROJECT_PATH set in the environment. No changes to this codebase would be required.
Security
This repository does not include game code, assets, or secrets. The Unity project path is supplied at runtime by your MCP client. The server is suitable for public and private use.
Documentation
MCP Registry — Discover and install this server from the official registry.