godot-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@godot-mcp Add a Timer node to Main.tscn and connect its timeout signal."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
godot-mcp
Zero-setup Godot 4.x MCP server for scene authoring, cached ClassDB docs, headless diagnostics, and deterministic TAS-style game playtesting.

No
res://addons/plugin required — works on any Godot 4.x repo while keepinggit statusclean.Godot
>= 4.0(>= 4.5unlocksOS.add_logger()+ScriptBacktracestructured stack traces;4.0–4.4and pre-boot parse errors fall back tostderr).Node.js
>= 20.0.0with zero native C++ addons.
60-Second Quickstart
npx (recommended)
npx -y @codyklim/godot-mcp --versionHomebrew (macOS / Linux)
brew tap CodyKlimkofski/tap
brew install godot-mcpCLI Options & Godot Discovery
godot-mcp [--project <path>] [--godot-path <path>] [-v|--version] [-h|--help]Godot binary discovery checks --godot-path, GODOT_PATH, PATH (godot, godot4), and standard platform locations (/opt/homebrew/bin/godot, /Applications/Godot*.app/Contents/MacOS/Godot, /usr/bin/godot*).
Related MCP server: Blender MCP
Client Configuration
Pass --project <path> if you want a default project directory instead of relying on cwd or per-tool projectPath, and --godot-path <path> if Godot is not on PATH.
Claude Code
claude mcp add godot-mcp -- npx -y @codyklim/godot-mcpOr in .mcp.json:
{
"mcpServers": {
"godot-mcp": {
"command": "npx",
"args": ["-y", "@codyklim/godot-mcp"]
}
}
}Cursor (.cursor/mcp.json)
{
"mcpServers": {
"godot-mcp": {
"command": "npx",
"args": ["-y", "@codyklim/godot-mcp", "--project", "/path/to/godot-project"]
}
}
}Antigravity (~/.gemini/antigravity/mcp_config.json)
{
"mcpServers": {
"godot-mcp": {
"command": "npx",
"args": ["-y", "@codyklim/godot-mcp", "--godot-path", "/Applications/Godot.app/Contents/MacOS/Godot"]
}
}
}Codex (~/.codex/config.toml)
[mcp_servers.godot-mcp]
command = "npx"
args = ["-y", "@codyklim/godot-mcp"]How It Works
Zero-Footprint Transient Injection
Before launching the game,
godot-mcpstagespilot.gdinto<project>/.godot/mcp/(ignored by Godot's standard.gitignoreand skipped byEditorFileSystem).Any existing
override.cfgis backed up byte-for-byte to.godot/mcp/override.cfg.bak, and a transientoverride.cfgstarting with; __GODOT_MCP_TRANSIENT__injects_GodotMcpPilot="*res://.godot/mcp/pilot.gd"under[autoload].Immediately after Godot reads
override.cfg(~100ms after boot),pilot.gd._init()restoresoverride.cfg.bak(or deletesoverride.cfg), so the project root stays clean even while playing or after aSIGKILL.
Deterministic TAS Playtesting
Non-clobbering
autopause:startPausedongame_launchandfreezeAfter(defaulttrue) ongame_stepfreezecurrent_scene.process_modeandPhysicsServer2D/3Dwithout touchingget_tree().paused, so your game's pause menu still works.untilstop triggers:game_stepcan stop early onexpression(truthy GDScript expression),onNewError,uiNodeVisible, ortimeoutMs.Native filmstrips: Set
capture: "filmstrip"andfilmstripFrames(1–9) to composite sampled frames inside GDScript viaImage.blit_rectinto a single PNG contact sheet.
14-Tool Reference
Tool | Description | Parameters |
| Inspect |
|
| Look up cached Godot ClassDB docs for the active local Godot version |
|
| Validate |
|
| Patch |
|
| Inspect |
|
| Apply batched atomic ops ( |
|
| Run a GDScript snippet inside |
|
| Launch the game window with transient pilot injection, optionally frozen on frame 1 |
|
| Unfreeze, run input |
|
| Capture current viewport PNG without advancing simulation ticks |
|
| Query live |
|
| Evaluate a GDScript expression or statement block against the live |
|
| Read and optionally clear buffered structured |
|
| Stop the active game session, verify | (none) |
Roadmap
See ROADMAP.md for planned milestones from 0.2.0 through 1.0.0.
License
MIT — see LICENSE.
Available Tools
14 toolsgame_evalC
Evaluate a GDScript expression or statement block against the live SceneTree and return the result and diagnostics.
Inputs: code (required), timeoutMs.
game_inspectC
Inspect the live SceneTree nodes, visible Control rects/text/disabled states, and Performance monitors.
Inputs: maxDepth, rootPath, includeControls, includePerformance.
game_launchC
Launch the Godot game window with zero-footprint transient pilot injection, optionally frozen on frame 1 (startPaused).
Inputs: scene, position, timeoutMs, resolution, +2 more.
game_logsB
Read and optionally clear buffered structured error/log/stderr diagnostics from the running or last game session.
Inputs: clear, kinds, sinceSeq.
game_screenshotB
Capture the current game viewport as a PNG image without advancing simulation ticks.
Inputs: maxWidth.
game_stepB
Unfreeze and advance simulation frames/duration with optional input actions, until trigger, final or filmstrip PNG capture, and auto-freeze.
Inputs: until, frames, actions, capture, +5 more.
game_stopA
Stop the active Godot game session cleanly, verify override.cfg cleanup, and return final diagnostics.
Inputs: no named parameters.
godot_api_docsC
Look up cached Godot ClassDB API docs (methods, properties, signals, constants) for the active local Godot version.
Inputs: member, search, className.
project_diagnosticsB
Validate GDScript files and scenes via headless Godot, optionally running --import first, and return structured diagnostics.
Inputs: runImport, projectPath, scriptsOnly.
project_infoB
Inspect project.godot metadata, Godot version, resolved main scene, viewport, renderer, autoloads, InputMap actions, and .tscn/.gd inventory.
Inputs: projectPath.
project_settings_patchC
Patch project.godot keys, autoloads (*res://...), and InputMap actions (Key / MouseButton) using Godot ConfigFile.
Inputs: set, autoloads, projectPath, inputActions.
run_headless_scriptC
Execute a GDScript body inside func run(tree: SceneTree) headlessly against the project for procedural asset/scene generation.
Inputs: code (required), timeoutMs, projectPath.
scene_inspectB
Inspect a .tscn/.scn/.tres scene structure: node hierarchy, scripts, non-default properties, groups, signal connections, and external resources.
Inputs: scenePath (required), maxDepth, projectPath.
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.
Inputs: ops (required), scenePath (required), projectPath.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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.
Maintenance
Related MCP Connectors
Drive real devices from your AI Coding tool. Embed a client SDK (Unity, Godot, Flutter, iOS/macOS, Android, React Native, Web) in your app, then capture screenshots, traverse the UI tree, inject taps and key events, and run automated test tasks on the physical device over a secure relay.
Linux cloud desktop your AI can use by the hour: run commands, read and write files, see the screen.
Persistent memory, hybrid search and a goal graph for AI agents, over stdio or remote HTTP.
Hosted runtime for persistent agent teams, durable workflows, memory, schedules, and goals.
Related MCP Servers
- AlicenseAqualityAmaintenanceConnects MCP clients directly to a live Godot editor, enabling AI assistants to build scenes, edit nodes, and control the editor through over 120 operations.4712,588 PyPI3,933MIT
- AlicenseAqualityDmaintenanceMCP server for AI-assisted Blender automation, providing layered tools for perception, declarative and imperative writing, and fallback operations.29145 PyPI7MIT
- AlicenseBqualityNot gradedmaintenanceEnables AI assistants to automate Godot 4 projects via headless tooling, live editor control, and runtime remote control, including scene building, testing, and observation.431MIT
- AlicenseAqualityBmaintenanceEnables AI agents to read and edit Godot 4.x scenes and resources, introspect the class API, run the game in a managed headless process with frame stepping, input injection and screenshots, validate scripts, and diagnose code via a built-in GDScript LSP plus a bridge to an already open editor.23MIT