Unity Biome MCP README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Unity Biome MCP listing page.

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.

Five requests turn an empty Unity scene into a toy shop with a spinning blue cube and a small house

Claude Desktop · Follow the same scene edits in an illustrated chat using the results Unity returned.

Claude Desktop-style conversation showing the cube, its blue material and the completed house

Interactive CLI · Enter ubiome shell once. Type help, create a pickup, move it and check the editor for compile errors.

Live Unity terminal session creating, moving and inspecting a pickup

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:

sh
ubiome get_scene_tree depth=2

Output from the included SampleScene (first six lines; references vary by session):

text
Main Camera &asK
Global Light 2D &asW
House &axs
│  ├─ Floor &arq
│  ├─ WallBack &axC
│  ├─ WallFrontL &ato

Read the five Toyshop requests and their results.

Install the CLI and try the command offline

Install the CLI once with uv and Git:

sh
uv tool install 'git+https://github.com/german-krasnikov/unity-biome-mcp.git@master#subdirectory=server'

You can check the command before opening Unity:

console
$ 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.

  1. In Unity, open Window > Package Manager > + > Add package from git URL:
    text
    https://github.com/german-krasnikov/unity-biome-mcp.git?path=unity-plugin#master
    
  2. Wait for the package to compile. Keep the project open and run ubiome get_scene_tree depth=2 in your terminal. If the connection fails, open MCP > Status > Diagnose in Unity or run ubiome doctor.
  3. 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:

bash
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

GoalGuide
Install and connectGetting Started
Choose and configure an MCP clientClient guides
Install project-local AI guidanceAI Skills and Agents
Find a tool for a taskTool Guide
Use batch safelyBatch Operations
Build Play Mode workflowsPlayTest DSL
Configure In-Unity ChatChat Backends
Extend Unity Biome MCPPlugin Quick Start
Diagnose failuresDiagnostics

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:

python
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

Animated architecture diagram: external clients and In-Unity Chat reach the Python MCP server and Unity Editor plugin through their local transport paths

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

Documentation MIT license Latest release

Python CI C# Linux EditMode C# macOS EditMode C# Windows EditMode

Python coverage C# coverage SonarCloud Quality Gate Tool quality score

Registered MCP tools Discovered test inventory unity-biome-mcp MCP server

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.

160 registered MCP tools. Test inventory: 17748 entries: 7321 regular Python, 511 Python stress, 658 live Python, and 9258 Unity source attributes. Unity count source: static source scan. Server package version: v3.0.3.

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.

License

MIT · Third-Party Notices