Unity Biome MCP
Build Unity scenes by asking Claude for the next change, or edit the open scene yourself with ubiome.
Build a toy shop in five requests
Claude Code · “Make the cube spin.” Watch Claude attach a component and check that the cube actually turns in Play Mode.
Claude Desktop · Follow the same scene edits in an illustrated chat using the results Unity returned.
Interactive CLI · Enter ubiome shell once. Type help, create a pickup, move it and check the editor for compile errors.
Try the five prompts, inspect the tool calls or install the Unity skills
Replay the Toyshop workflow · Copy the interactive terminal session
Claude created the cube and saved the scene in one batch. To teach your agent how to choose tools, batch edits and verify results in your own project, install the optional Unity skills for Claude Code and Codex.
Copy the first command and see the recorded output
With the Unity plugin installed and your project open outside Prefab Mode, run:
ubiome get_scene_tree depth=2
Output from the included SampleScene (first six lines; references vary by session):
Main Camera &asK
Global Light 2D &asW
House &axs
│ ├─ Floor &arq
│ ├─ WallBack &axC
│ ├─ WallFrontL &ato
Install the CLI and try the command offline
Install the CLI once with uv and Git:
uv tool install 'git+https://github.com/german-krasnikov/unity-biome-mcp.git@master#subdirectory=server'
You can check the command before opening Unity:
$ ubiome get_scene_tree depth=2 --dry-run
[dry-run] get_scene_tree {'depth': 2}
Quick Start · Documentation · Browser demos · Releases
Quick Start
You need Unity 6 (6000.0 or later), Git 2.14+ on PATH, and
uv. The server requires
Python 3.14+, which uvx manages for the standard setup. Install Python
separately for source development or optional Codex skill synchronization.
- In Unity, open Window > Package Manager > + > Add package from git URL:
https://github.com/german-krasnikov/unity-biome-mcp.git?path=unity-plugin#master - Wait for the package to compile. Keep the project open and run
ubiome get_scene_tree depth=2in your terminal. If the connection fails, open MCP > Status > Diagnose in Unity or runubiome doctor. - To use a desktop MCP client as well, open MCP > Setup Wizard, choose your
client, and point its server entry at the development server
before restarting it. The Wizard configures the client and does not perform an end-to-end connection test.
Ask the client to read the loaded scenes at depth 2. A successful
get_scene_tree(depth=2)call returns the hierarchy shown above.
For manual setup, see the client guides. For in-editor chat, use the local package setup so the relay runs the matching server. You do not need external-client configuration for this path. For manual OpenCode setup, use its client-specific configuration instead of the Wizard’s standard clipboard JSON. See the OpenCode guide.
Local source installation
Use Git and Python 3.14 or newer. From a new checkout:
git clone --branch master https://github.com/german-krasnikov/unity-biome-mcp.git
cd unity-biome-mcp
python install.py setup
python install.py configure --tool claude-code
python install.py doctor
After upgrading your local Python, run python install.py update to recreate
the virtual environment.
Browser demos
Play the Unity browser builds. These are playable game builds, not a live Unity Editor connection or an MCP client test. Use the quick start to try editor automation in your own project.
Documentation
| Goal | Guide |
|---|---|
| Install and connect | Getting Started |
| Choose and configure an MCP client | Client guides |
| Install project-local AI guidance | AI Skills and Agents |
| Find a tool for a task | Tool Guide |
| Use batch safely | Batch Operations |
| Build Play Mode workflows | PlayTest DSL |
| Configure In-Unity Chat | Chat Backends |
| Extend Unity Biome MCP | Plugin Quick Start |
| Diagnose failures | Diagnostics |
What You Can Do
- Scene and object editing: inspect and modify GameObjects, components, assets, materials, shaders, and UI.
- Playtesting and verification: run PlayTest DSL workflows, compile checks, console checks, runtime diagnostics, and visual comparisons.
- Animation and VFX: work with clips, Animator controllers, Timeline, particles, materials, shaders, and Shader Graph.
- Efficient tool use: group compatible operations with
execute_batch, request deferred schemas, and enable capability categories only when needed. - Extensibility: add project-specific server tools, Unity commands, Chat context chips, and plugin hooks.
Prompt and batch examples
Example prompts:
Create a player object, add a Rigidbody, and place it at the scene origin.
Find enemies without colliders and add a BoxCollider to each.
Run a playtest that moves the player to the door and verifies that the score increases.
Capture the Game View and compare it with the saved baseline.
Summarize scene changes since the last checkpoint.
Batch example
Use execute_batch for two or more compatible operations:
execute_batch(commands="""
create_node name=Enemy
set_component_property path=Enemy component=Transform prop=position value=0,1,0
manage_component path=Enemy type=Rigidbody action=add
set_component_property path=Enemy component=Rigidbody prop=mass value=2
""")
Some typed tools are direct-only and cannot be placed in a batch. See the Batch guide for validation, Undo-backed rollback, and error handling.
Ways to Work
External MCP client
An MCP client launches the Python server over stdio. The server discovers the active Unity project and sends framed commands to the editor plugin over localhost TCP.
In-Unity Chat
Open MCP > Chat to work inside the editor. Select a supported CLI backend and use Ask or Agent mode. Authentication is handled by the selected CLI. Context chips can attach scene objects, scripts, and assets to a turn, while each completed AI turn is grouped for Unity undo.
See Chat backends for setup and behavior.
Architecture
The external path is MCP client -> Python MCP server -> localhost TCP -> Unity Editor plugin. In-Unity Chat invokes the selected CLI through the local chat relay; that CLI connects to the same Python MCP server and rejoins the shared TCP-to-plugin path.
AI Skills
The Unity package includes 12 reusable domain skills and 4 focused agents for Claude Code and Codex. They cover efficient MCP tool selection, batching, Unity authoring, playtesting, diagnostics, and evidence-based verification.
Open MCP > Install AI Skills to install them into the current project. Existing and generated files are ownership-checked before replacement. See AI Skills and Agents for paths, safe updates, and Codex synchronization.
MCP clients that support Skills can also discover the bundled
unity-mcp-operations guide and fetch its references from the running
server at skill://unity-mcp-operations/SKILL.md.
Project Inventory
The values below are generated from registrations, pytest collection, Unity test discovery or source scanning, and package metadata. They are discovery counts, not a claim that every test was executed in the current checkout.
Unity MCP Product Comparison
Verified August 16, 2026:
- Unity Biome MCP: 160 registered tools, deterministic PlayTest DSL, and visual baseline/diff workflows.
- Unity MCP Server 2.17: first-party local bridge, connection approval, and multi-client support.
- MCP for Unity 10.1.2: Unity 2021.3 compatibility, 47 tool entrypoints, and authenticated remote hosting.
- AI Game Developer 0.87.0: compiled-player runtime plus local, HTTP, cloud, and Docker deployment.
- MCP Unity: 33 listed tools, optional Undo rollback for batches, and an MCP App dashboard.
The detailed matrix cites exact source commits or versioned official documentation and records constraints as well as strengths.
Open the full source-backed comparison
Recent Changes
Current release: v3.0.3 (2026-11-17). Read the full changelog.
Contributing
Read CONTRIBUTING.md before opening a pull request. New contributors can start with good first issues.
Report security issues through SECURITY.md.