dcc-mcp-godot
Agent workflow
AI agents should use the shared gateway through dcc-mcp-cli; IDE users may
continue to use the MCP endpoint. Prefer typed skills and tools over raw scripts.
Install or update the CLI
dcc-mcp-cli is the preferred control path for every shell-capable agent. If
it is missing, ask the user before installing the latest official release:
# Linux/macOS
curl -fsSL https://raw.githubusercontent.com/dcc-mcp/dcc-mcp-core/main/scripts/install-cli.sh | sh
# Windows PowerShell
powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/dcc-mcp/dcc-mcp-core/main/scripts/install-cli.ps1 | iex"
Keep an official build current through the release manifest:
dcc-mcp-cli update check
dcc-mcp-cli update apply
update apply downloads and stages the latest CLI for the next launch. It
does not update a running dcc-mcp-server; update that server in its own
environment.
dcc-mcp-cli dcc-types
dcc-mcp-cli list
dcc-mcp-cli search --query "<task>" --dcc-type godot
dcc-mcp-cli describe <tool-slug>
dcc-mcp-cli call <tool-slug> --json '{"key":"value"}'
dcc-types reports release-catalog support; list reports live sessions. If a
tool belongs to an inactive progressive skill, call dcc-mcp-cli load-skill <skill-name> --dcc-type godot before retrying. For post-task improvement,
attach a stable session id with --meta-json, query dcc-mcp-cli stats --range 24h --session-id <task-id>, then pass the bounded evidence to the
review_skill_improvement prompt from dcc-mcp-skills-creator.
Godot 4 editor adapter for the DCC Model Context Protocol ecosystem. It ships a GDScript
EditorPlugin, an EngineDebugger runtime peer, 163 on-demand tools, and a tested 2D
arena-roguelike skill.
Install
The canonical agent-first, three-platform lifecycle is documented in
install.md. It provides plan-first JSON, staged project updates,
receipts, repair, live verification, upgrade, and receipt-owned uninstall.
pip install dcc-mcp-godot
dcc-mcp-godot install /path/to/project --dcc-path /path/to/godot --dry-run --json
dcc-mcp-godot install /path/to/project --dcc-path /path/to/godot --yes --json
The legacy install-only alias remains compatible:
dcc-mcp-godot-install /path/to/project
When using only that legacy alias, enable DCC-MCP Godot under Project Settings > Plugins. Start the adapter with either compatible form:
dcc-mcp-godot
dcc-mcp-godot serve
Each adapter instance uses an OS-assigned MCP port and registers it for CLI discovery.
Connect through the stable gateway at http://127.0.0.1:9765/mcp; set
DCC_MCP_GODOT_PORT only when a fixed direct endpoint is required. The plugin connects
to the loopback bridge at ws://127.0.0.1:3847; override the bridge port with
DCC_MCP_GODOT_BRIDGE_PORT before starting both processes.
Agent workflow
- Search skills for the required domain, such as
Godot animation,Godot runtime, orGodot TileMap. - Load only the returned domain skill. Tools remain deferred until their skill is loaded.
- Inspect the project or scene before mutating it, then save and validate the result.
- Load
godot-runtime,godot-input, orgodot-testing-qaafter starting the game when live inspection, input simulation, or QA assertions are required.
The original godot-project, godot-scene, and godot-roguelike skills remain available.
Capability skills
The adapter groups 164 fine-grained tools into 23 independently loadable domains:
| Domains | Tools |
|---|---|
| Project, scene management, node, script, editor | 47 |
| Input and runtime | 27 |
| Animation and AnimationTree | 14 |
| 3D scene, physics, particles, navigation, audio | 29 |
| TileMap, Theme/UI, shader, resource | 24 |
| Batch/refactor, analysis, testing/QA, profiling, export | 23 |
Runtime tools use the official EditorDebuggerPlugin and EngineDebugger channel, so input
events and game-node operations run in the game process rather than the editor process. Enabling
the plugin registers the bundled runtime peer as an autoload; disabling it removes the autoload.
Scene edits use Godot's undo manager and file operations are restricted to res:// with size and
extension checks. execute_editor_script only calls a method on an existing @tool project
script. The compatibility tool execute_game_script is not an allowlist: it is a broad public-method
call on an existing runtime node. It must not be used for playtest or RL control, and neither broad
tool accepts raw source for immediate evaluation.
For bounded playtest control, use execute_typed_action. It accepts only the strict
input_action and exact script-digest-bound set_property variants declared in the fixed
res://.dcc-mcp/playtest-actions.v1.json project manifest. Calls bind the project, session,
process-unique redacted runtime ID, authority, manifest ID, and manifest SHA-256; replacement,
identity drift, reparse points, extra fields, exhausted budgets, and rate limits fail closed.
The host verifies the exact setter effect and script digest on both sides of mutation. Rejected or
cancelled actions do not consume authority; a cancelled or orphaned claimed mutation is rolled
back before its reservation expires.
Read Typed playtest actions before enabling this path. This foundation
does not provide episodes, rewards, trajectories, NPC control, an RL trainer, or another recorder.
Main-thread work budgets
get_game_scene_tree, get_game_node_properties, and find_ui_elements accept opaque cursor
values returned as next_cursor. Their max_nodes or max_properties limits are clamped to 128,
and the default page is 64 items. Continue with the returned cursor; do not construct or retain a
second host-side job. Legacy calls without a cursor still return the original top-level fields,
plus the first bounded page and continuation metadata.
get_game_screenshot reads the viewport and copies its RGB8/RGBA8 bytes on the Godot runtime
thread. The existing adapter execution thread then encodes and atomically replaces the requested
PNG; include_base64=true also encodes that PNG there. No Godot Image resource crosses threads.
execute_editor_script accepts budget_ms from 1 to 50 and reports elapsed_ms plus
budget_exceeded; this is an observational contract and cannot preempt GDScript. With
chunked=true, the existing method must return {done: bool, next_cursor?: value}. An incomplete
chunk returns a machine-executable next_step that calls the same path and method with the next
cursor. The adapter does not add a script executor, timer, thread, or job registry.
Real Godot CI
CI resolves the official godotengine/godot latest stable GitHub release and downloads the Linux
editor (reusing the existing cache when present). It starts the packaged MCP server and EditorPlugin, sends real JSON-RPC load_skill,
paginated tools/list, tools/call, and jobs_get_status requests, creates and edits a scene,
starts the game, verifies the runtime scene tree, then runs the generated gameplay simulation and
requires ROGUELIKE_SMOKE_OK.
Run the same smoke locally:
python tools/download_latest_godot.py --output .godot-bin
python tests/live_godot_smoke.py --godot /path/to/Godot
Development
python -m pip install -e ".[dev]"
pytest
ruff check src tests tools
ruff format --check src tests tools
python tools/lint_skills.py
python -m build
python -m twine check dist/*
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dcc_mcp_godot-0.7.0.tar.gz.
File metadata
- Download URL: dcc_mcp_godot-0.7.0.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93e847419fd779e85f179b68619770b2142fc5655827b2d1547a8dca611a2483
|
|
| MD5 |
e00173f8841197fc01b1e9da3e6f82a2
|
|
| BLAKE2b-256 |
60c7fc2718bb3a9b1ac1b5bc3368d3a0d0cc3ca91e1160a9e5f82ae91d1da244
|
Provenance
The following attestation bundles were made for dcc_mcp_godot-0.7.0.tar.gz:
Publisher:
release.yml on dcc-mcp/dcc-mcp-godot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dcc_mcp_godot-0.7.0.tar.gz -
Subject digest:
93e847419fd779e85f179b68619770b2142fc5655827b2d1547a8dca611a2483 - Sigstore transparency entry: 2640335838
- Sigstore integration time:
-
Permalink:
dcc-mcp/dcc-mcp-godot@9429d57f8c792ec69b27b6bc7cdc678a3edb689a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dcc-mcp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9429d57f8c792ec69b27b6bc7cdc678a3edb689a -
Trigger Event:
push
-
Statement type:
File details
Details for the file dcc_mcp_godot-0.7.0-py3-none-any.whl.
File metadata
- Download URL: dcc_mcp_godot-0.7.0-py3-none-any.whl
- Upload date:
- Size: 140.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66111ae3e797e4ec9ebd1e9dc9bdd73616bfb0e420e741631468ce5b7dd69666
|
|
| MD5 |
bd10e2afd6c3ba4269b9605bb1542c5f
|
|
| BLAKE2b-256 |
200cc63a2dfbd2f526d1ed322e2487746088b93e8f106fb3f31bc408c8d85126
|
Provenance
The following attestation bundles were made for dcc_mcp_godot-0.7.0-py3-none-any.whl:
Publisher:
release.yml on dcc-mcp/dcc-mcp-godot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dcc_mcp_godot-0.7.0-py3-none-any.whl -
Subject digest:
66111ae3e797e4ec9ebd1e9dc9bdd73616bfb0e420e741631468ce5b7dd69666 - Sigstore transparency entry: 2640336345
- Sigstore integration time:
-
Permalink:
dcc-mcp/dcc-mcp-godot@9429d57f8c792ec69b27b6bc7cdc678a3edb689a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dcc-mcp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9429d57f8c792ec69b27b6bc7cdc678a3edb689a -
Trigger Event:
push
-
Statement type: