Unity Open MCP
MCP server by AlexeyPerov Verified · npm:unity-open-mcp
Unity Open MCP gives AI assistants over 270 typed tools for working in the Unity Editor, from editing scenes and prefabs to running tests and playtesting games. It is for Unity developers who want agents to make checked changes to real projects.
Install Unity Open MCP
Built from the published package, never by AI.
claude mcp add unity-open-mcp -- npx -y unity-open-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"unity-open-mcp": {
"args": [
"-y",
"unity-open-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"unity-open-mcp": {
"args": [
"-y",
"unity-open-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"unity-open-mcp": {
"args": [
"-y",
"unity-open-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add unity-open-mcp -- npx -y unity-open-mcp{
"mcpServers": {
"unity-open-mcp": {
"args": [
"-y",
"unity-open-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add unity-open-mcp npx -y unity-open-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the unity-open-mcp block.
About
Unity Open MCP is an MCP server that routes tool calls to a live Unity Editor through the Unity Open MCP Bridge, or to batch Unity processes. Its mutations follow a checkpoint, mutate, validate, delta flow, with safety gates that can stop a change that would break the project. It also covers Edit and Play Mode tests, console and profiler data, and playtesting, where an agent plays the running game and records a Markdown report. When Unity is closed, it can read assets or compile diagnostics from disk for some tools.
The project is aimed at Unity developers who want an AI agent to edit, test, and check their projects. It installs through an npx CLI command that writes matching package pins, MCP configuration, and a bundled agent skill. Teams and monorepos can use committable configuration without machine-specific paths.
Written from the project's README and checked against it.
Tools it gives your assistant
Safe typed authoringEdits GameObjects, scenes, prefabs, materials, packages, and package-gated domains with validation.Playtest the gamePlays the running game, reads the screen, taps and drags controls, and records a Markdown report.Test and observeRuns Edit and Play Mode tests and reads console, screenshots, profiler, and memory data.Live, batch, or offlineUses the live Editor, a headless Editor for supported tools, or files on disk when Unity is closed.Extend and automateExposes project commands and async jobs with progress, retained results, and cancellation.Discover only what you needStarts with core tool groups and activates other domains on demand.Install and maintainInstalls matching package pins, MCP config, and the agent skill, with coordinated updates.
What you need
- Unity 2022.3 LTS or newer
- Node.js 18+
Try asking
- Smoke-test the shop on an iPhone 13 and report any errors.
- Remove that prefab, but check for missing references first.
- Run the Edit and Play Mode tests and summarize the failures.
Good to know
- Headless fallback is available only for supported tools.
- Some reads work from disk only when Unity is closed.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Unity Open MCP
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Unity Open MCP: common questions
Which Unity versions does Unity Open MCP support?
The source says it requires Unity 2022.3 LTS or newer. It also needs Node.js 18 or newer for the MCP server.
Can it work when the Unity Editor is closed?
Yes, for some tools. The source says it can read assets or compile diagnostics from disk when Unity is closed, and structured search and reference analysis remain available where their route supports it.
Will playtesting change my saved game progress?
The source says the player's save is snapshotted and restored during a playtest session, so the session does not use up the developer's progress.
How do I install Unity Open MCP?
In Claude Code run claude mcp add unity-open-mcp -- npx -y unity-open-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Unity Open MCP the official server?
Unity Open MCP is published by npm:unity-open-mcp from its verified domain in the official MCP Registry.
Is Unity Open MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Unity Open MCP safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Unity Open MCP?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Unity Open MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
