wgt19861219/godot-mcp-enhanced
View on GitHub ↗Enhanced MCP server for Godot 4.5-4.7: 33 tools / 199 actions, 3-layer architecture (headless + editor + game bridge), secure sandbox, recording & frame-verify, cross-version CI.
83 ★8 forksTypeScriptUpdated 18d ago
What you need to know
Free open-source Godot MCP server with a three-layer architecture (headless + editor + game bridge), runtime control and systematic security hardening.
Install
claude mcp add -s user godot -- npx -y godot-mcp-enhanced
For Cursor/Cline/Windsurf add {"mcpServers":{"godot":{"command":"npx","args":["-y","godot-mcp-enhanced"]}}}
npx godot-mcp-enhanced setup for one-click auto-detectionUsage
- •Run setup_project_rules(project_path=...) after connecting to generate CLAUDE.md/AGENTS.md and hooks
- •Use read_scene / write_script / run_and_verify / validate_scripts / verify_delivery for the edit-run-verify loop
- •Game Bridge tools query a running game over TCP: game_query, game_input, game_wait
- •Set GODOT_PATH, GODOT_PROJECT_PATH or per-project godot_path for multi-version Godot
Key features
- ✓40 merged MCP tools (210 actions) covering scenes, scripts, UI, animation, physics, particles, navigation, audio, tests, export and 3D parametric assets
- ✓Engine-level runtime control: read node trees, GPU screenshots, input simulation, recording/replay and frame-verify
- ✓Security: ALLOWED_PROJECT_PATHS whitelist, Godot binary allowlist, GDScript injection defense, confirmation tokens and output anti-forgery
- ✓verify_delivery end-to-end delivery gate, dev_loop and chain_verify self-questioning engine
- ✓godot:// resources for reading project context without explicit tool calls
Best for
AI-assisted Godot 4.x game development with closed edit-run-verify loops and safety guards.
Caveats
- ⚠GDScript has full system access; the sandbox is a mistake-prevention layer, not an unbypassable boundary
- ⚠Only for local trusted environments; no remote authentication or encryption
- ⚠Runtime tools only affect the headless execution context and do not persist to .tscn
- ⚠update-checker fetches the npm registry at startup unless GODOT_MCP_UPDATE_CHECK=false
Platforms: Windows · Linux · macOSClients: Claude Code · Cursor · Cline · Windsurf · Warp · ZCode · CodeBuddy
Documentation ↗Reviewed 2026-08-11
Topics
aiai-agentclaudeclaude-codeclosed-loopcursorgame-devgame-developmentgdscriptgodotgodot-4godot-enginemcpmcp-servermodel-context-protocol
- Stars
- 83★
- Forks
- 8
- Language
- TypeScript
- License
- NOASSERTION
- Created
- 2026-03-21
- Last push
- 2026-08-18