godot-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| --project | No | Default Godot project directory to use instead of relying on cwd or per-tool projectPath. | |
| GODOT_PATH | No | Environment variable specifying the path to the Godot binary, checked in addition to --godot-path, PATH, and standard platform locations. | |
| --godot-path | No | Path to the Godot binary to use if Godot is not found on PATH. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| project_infoB | Inspect project.godot metadata, Godot version, resolved main scene, viewport, renderer, autoloads, InputMap actions, and .tscn/.gd inventory. |
| godot_api_docsC | Look up cached Godot ClassDB API docs (methods, properties, signals, constants) for the active local Godot version. |
| project_diagnosticsB | Validate GDScript files and scenes via headless Godot, optionally running --import first, and return structured diagnostics. |
| project_settings_patchC | Patch project.godot keys, autoloads (*res://...), and InputMap actions (Key / MouseButton) using Godot ConfigFile. |
| scene_inspectB | Inspect a .tscn/.scn/.tres scene structure: node hierarchy, scripts, non-default properties, groups, signal connections, and external resources. |
| scene_patchB | Apply batched atomic scene operations (create_scene, add_node, modify_node, remove_node, reparent_node, connect_signal, disconnect_signal, add_collision_shape) in one headless Godot run. |
| run_headless_scriptC | Execute a GDScript body inside func run(tree: SceneTree) headlessly against the project for procedural asset/scene generation. |
| game_launchC | Launch the Godot game window with zero-footprint transient pilot injection, optionally frozen on frame 1 (startPaused). |
| game_stepB | Unfreeze and advance simulation frames/duration with optional input actions, until trigger, final or filmstrip PNG capture, and auto-freeze. |
| game_screenshotB | Capture the current game viewport as a PNG image without advancing simulation ticks. |
| game_inspectC | Inspect the live SceneTree nodes, visible Control rects/text/disabled states, and Performance monitors. |
| game_evalC | Evaluate a GDScript expression or statement block against the live SceneTree and return the result and diagnostics. |
| game_logsB | Read and optionally clear buffered structured error/log/stderr diagnostics from the running or last game session. |
| game_stopA | Stop the active Godot game session cleanly, verify override.cfg cleanup, and return final diagnostics. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 14 tools
The set is cleanly grouped into project_*, scene_*, and game_* families, and descriptions make the static vs. live distinction clear (scene_inspect vs. game_inspect). Minor overlap exists between scene_patch and run_headless_script, and between project_diagnostics and game_logs, but each tool's stated purpose keeps misselection unlikely.
Nearly all tools follow a domain-prefix + noun_verb pattern (scene_inspect, scene_patch, game_launch, game_eval, project_info), which is highly predictable and readable. run_headless_script is the one clear outlier with verb-first ordering, and godot_api_docs breaks the family prefix, but these are minor deviations.
Fourteen tools sit comfortably in the well-scoped 3-15 range for a Godot automation server. Each tool maps to a distinct lifecycle stage (inspect, validate, patch, run, observe, stop) with no filler entries.
The surface covers the full loop: project inspection/docs/diagnostics/settings, scene inspection and patching, headless scripting, and a complete game runtime cycle (launch, step, screenshot, inspect, eval, logs, stop). A gap remains around directly reading/writing GDScript or arbitrary resource files, which agents must work around via run_headless_script.