mcpField
G
godot-mcp

godot-mcp

Local
github.com/sandraschiDeveloper Tools6Updated 5d ago

About godot-mcp

godot-mcp is an MCP server for AI-driven control of the Godot 4 engine, aimed at game developers and agents building or testing games. It combines deterministic frame-by-frame playtesting and structured state reads with scene editing and asset import tools.

Key features

  1. 01Control scenes and engine functions
  2. 02Import 3D models and edit animations
  3. 03Run deterministic tests with injected input
  4. 04Read live game state as JSON
  5. 05Generate procedural textures
  6. 06Validate and repair GDScript

Use cases

  1. 01Build a playable game from a natural-language description
  2. 02Reproduce and inspect a specific game state
  3. 03Edit TileMap or GridMap cells
  4. 04Review performance metrics and mesh issues

MCP support

The server exposes more than 95 Godot tools through MCP and controls the Godot 4 engine through a TCP bridge. MCP clients can use it for scene operations, imports, testing, profiling, and game building.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository
Packages
mcpbgodot-mcp-v0.5.0-beta.1.mcpb

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Godot MCP

Just Python FastMCP Release Tier

AI-driven Godot 4 control via MCP — scene manipulation, 3D import, GPU particles, procedural textures, HTML5 export. Deterministic playtesting: freeze the game clock, inject analog/joypad/mouse input, step frame-by-step until a condition is met, read live game state as structured JSON. Game Builder: describe a game in natural language and get playable GDScript + export. Publish to itch.io and Steam. 95+ tools, 77 tests, NSIS desktop installer.


Quick Install

git clone https://github.com/sandraschi/godot-mcp
cd godot-mcp
just bootstrap       # install deps
just serve           # start server (10993)
just web             # open dashboard (10992)

See INSTALL.md for all options (MCPB, dev setup, naked PC).


Features

  • Game Builder — design_game -> generate_game_logic -> generate_game_tests -> generate_dialogue -> export. Validated with gdlint + godot --check-only, auto-repaired by LLM. Tutorial
  • Procedural textures — godot_generate_procedural_texture: gradient, noise, checker, solid. No external assets needed.
  • Deterministic playtesting — freeze game clock, step frame-by-step, step-until GDScript condition, analog/joypad/mouse/text input injection. Three-phase implementation inspired by satelliteoflove/godot-mcp.
  • Structured game state — godot_state_digest reads live node state as JSON via _mcp_state() convention or auto-collected properties. Cheaper than full scene tree dump.
  • Engine control — 30 bridge tools: import STL/GLB/OBJ, particles, cameras, lighting, animation, viewport capture, input simulation, scene node management.
  • Animation keyframe editor — query tracks down to individual keyframes, insert/remove keys, set interpolation.
  • TileMap/GridMap editing — read and write cell data directly (bypasses base64 .tscn serialization).
  • Performance profiler — 14 engine metrics with auto-sampling and spike detection (>2 stddev).
  • Mesh validation — scan for NaN vertices, degenerate triangles, zero normals.
  • 3D Gaussian Splat import — import .ply and .spz files with a custom billboarded Gaussian shader (per-splat scale, SH DC color).
  • Publishing — itch_ops and steam_ops portmanteaus for itch.io Butler and SteamPipe. Cross-repo fleet pipeline.
  • GDScript validation — two-pass (gdlint style + godot compile) with LLM repair.
  • Plugin ecosystem — 7 community plugins installable from the /plugins page.
  • LLM detection — auto GPU probe, model recommendation by VRAM tier. Default gemma4:12b.
  • Sample game — Vibecoder Runner with 10 AI-themed enemy types.

What You Can Do

just gb-demo "A 2D runner where you collect stars and avoid spikes"
just bridge-test                          # check engine connection
just demo-run vibecode                    # play sample game
just gb-preview                           # preview latest HTML5 export

Documentation

DocContents
InstallationAll install methods
ConfigurationEnv vars, settings
Tool ReferenceAll 90+ MCP tools
Playtesting SpecDeterministic playtesting architecture
Demo ScriptsPlaytesting, profiling, scene inspection, splat import demos
Game Builder TutorialPrompt-to-game walkthrough
Godot EcosystemPlugins, gdtoolkit, fleet pipeline
TroubleshootingCommon issues
API ReferenceREST endpoints
DevelopmentContributing, local setup

Requirements

  • Godot 4.4+ (for engine bridge tools) — just install-godot or godotengine.org
  • Python 3.13+ + uv — winget install astral-sh.uv
  • Bun — winget install oven-sh.bun
  • Ollama (optional, for game builder) — winget install Ollama.Ollama then ollama pull gemma4:12b
  • Rust (optional, for NSIS build) — rustup.rs

License

MIT — see LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.