Biome Editor Contracts

Use these Python contracts when connecting a native game editor or runtime to Model Context Protocol (MCP) clients. They standardize observations and operations shared across engines, including scene queries, compilation and reference checks. They do not provide an editor plugin or run a native engine.

Try a verification report

Install Git, uv and Python 3.11 or later. Installation resolves a pinned Git revision of the shared Biome MCP framework.

git clone https://github.com/german-krasnikov/biome-game-engine-core-mcp.git
cd biome-game-engine-core-mcp
uv sync --locked

Save this as example.py:

from biome_editor.interfaces.verify import verification_compile_state, verification_report

report = verification_report({
    "compilation": {"state": "idle", "errors": 0},
    "references": {"errors": 1, "missing_refs": 1, "scope": "scene", "complete": True},
})
print(verification_compile_state(report), report["references"]["missing_refs"])

Run uv run --locked python example.py. It prints idle 1: compilation was idle, but the complete reference scan still found one missing reference. No engine connection is required for this example.

What to do next