Skip to main content

Godot Engine adapter and 2D game-authoring skills for DCC-MCP

Project description

dcc-mcp-godot

Godot 4 editor adapter for the DCC Model Context Protocol ecosystem. It ships a GDScript EditorPlugin, typed project and scene tools, and a tested 2D arena-roguelike skill.

Install

pip install dcc-mcp-godot

Install the packaged addon into a Godot project:

dcc-mcp-godot-install /path/to/project

Enable DCC-MCP Godot under Project Settings > Plugins, then run:

dcc-mcp-godot

The MCP endpoint defaults to http://127.0.0.1:8765/mcp. The plugin connects to the loopback bridge at ws://127.0.0.1:3847; override the port with DCC_MCP_GODOT_BRIDGE_PORT before starting both processes.

Agent workflow

  1. Load godot-project to inspect the project or write a bounded .gd file below res://.
  2. Load godot-scene to inspect the current scene and make undoable node edits.
  3. Load godot-roguelike, call create_2d_roguelike, then validate_2d_roguelike.
  4. Run the project. Arrow keys move the player; enemies spawn continuously and the player auto-attacks, earns experience, levels up, and eventually reaches game over.

No raw editor evaluation or arbitrary filesystem command is exposed. Scene edits use Godot's undo manager; script writes are restricted to .gd files below res://.

Real Godot CI

CI resolves the official godotengine/godot latest stable GitHub release and downloads the Linux editor. It starts the packaged MCP server and EditorPlugin, sends real JSON-RPC load_skill, paginated tools/list, tools/call, and jobs_get_status requests, then runs the generated game 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/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dcc_mcp_godot-0.2.0.tar.gz (83.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dcc_mcp_godot-0.2.0-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file dcc_mcp_godot-0.2.0.tar.gz.

File metadata

  • Download URL: dcc_mcp_godot-0.2.0.tar.gz
  • Upload date:
  • Size: 83.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dcc_mcp_godot-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d3683ce168b5f3660a7f9d55ae78ae8d5f37a220768585c8a5b3eb5e0414e00e
MD5 0fad6516b69cb120ec4ee6838b66230e
BLAKE2b-256 e5d0b7605da035457883194c823276c140af78b853abcb41d669c9ed276dd856

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_godot-0.2.0.tar.gz:

Publisher: release.yml on dcc-mcp/dcc-mcp-godot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dcc_mcp_godot-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dcc_mcp_godot-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dcc_mcp_godot-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18e7615c066aac0dc3e9db2bb01e02229f747689fd955cbda35464a77869e362
MD5 f36b8a346774ac9ad8b755697253c916
BLAKE2b-256 de74d511c26277b60e3ef9c4a89c0a415f8fbabaeebcf279eaf01429186a3c8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_godot-0.2.0-py3-none-any.whl:

Publisher: release.yml on dcc-mcp/dcc-mcp-godot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page