Godot MCP Pro
Premium MCP (Model Context Protocol) server for AI-powered Godot game development. Connects AI assistants like Claude directly to your Godot editor with 187 powerful tools.
Architecture
AI Assistant ←—stdio/MCP—→ Node.js Server ←—WebSocket:6505—→ Godot Editor Plugin
- Real-time: WebSocket connection means instant feedback, no file polling
- Editor Integration: Full access to Godot's editor API, UndoRedo system, and scene tree
- JSON-RPC 2.0: Standard protocol with proper error codes and suggestions
What's in this repo
⚠️ This public repo only contains the free Godot addon/plugin. The MCP server (Node.js, required to connect AI assistants) is distributed as part of the paid package — one-time purchase, lifetime updates:
- Buy Me a Coffee: https://buymeacoffee.com/y1uda/extras
- itch.io: https://y1uda.itch.io/godot-mcp-pro
The paid zip includes the addon, the
server/directory with pre-built JavaScript,INSTALL.md, and AI-client instructions. If you cloned this repo and don't see aserver/folder, that's expected — grab the full package from one of the links above.
Quick Start
1. Install the Godot Plugin
Copy the addons/godot_mcp/ folder into your Godot project's addons/ directory.
Enable the plugin: Project → Project Settings → Plugins → Godot MCP Pro → Enable
2. Install the MCP Server
The
server/directory is only included in the full paid package (see above). After downloading and extracting the zip, run:
cd server
npm install
npm run build
3. Configure Claude Code
Add to your .mcp.json:
{
"mcpServers": {
"godot-mcp-pro": {
"command": "node",
"args": ["/path/to/server/build/index.js"],
"env": {
"GODOT_MCP_PORT": "6505"
}
}
}
}
4. Choose Your Mode
Godot MCP Pro offers four modes to fit any client's tool limit:
--3d includes the core tools plus physics, AnimationTree and navigation, but omits uid_to_project_path, project_path_to_uid, compare_screenshots, clear_output, close_script, reload_open_scripts, set_anchor_preset and click_button_by_text to stay within the 100-tool cap.
{
"mcpServers": {
"godot-mcp-pro": {
"command": "node",
"args": ["/path/to/server/build/index.js", "--lite"]
}
}
}
Replace --lite with --minimal for the smallest footprint.
- Lite includes: project, scene, node, script, editor, input, runtime, and input_map tools.
- Minimal includes: 35 essential tools — project info, scene management, node CRUD, script editing, editor errors, input simulation, and runtime inspection.
5. CLI Mode (Alternative to MCP)
For clients without MCP support, or when you want zero context overhead, use the CLI directly from a terminal/bash tool. The CLI requires the server to be built first (Step 2).
# Top-level help — shows all command groups
node /path/to/server/build/cli.js --help
# Group help — shows commands in a group
node /path/to/server/build/cli.js node --help
# Command help — shows options for a command
node /path/to/server/build/cli.js node add --help
# Execute
node /path/to/server/build/cli.js project info
node /path/to/server/build/cli.js scene play
node /path/to/server/build/cli.js node add --type CharacterBody3D --name Player
Replace /path/to/ with the actual path where you extracted the files.
The CLI connects directly to the Godot editor plugin via WebSocket. It requires:
- Godot editor running with the MCP plugin enabled
- Server built (
node build/setup.js install) - An available port in the 6510-6514 range
Advantage: LLMs discover capabilities progressively via --help instead of loading all tool definitions upfront. This works with any LLM client that has terminal access, regardless of tool count limits.
6. Client Compatibility
7. Use It
Open your Godot project with the plugin enabled, then use Claude Code to interact with the editor.
All 187 Tools
Project Tools (10)
Scene Tools (10)
Node Tools (17)
Script Tools (9)
Editor Tools (15)
Input Tools (5)
Input Map Tools (2)
Runtime Tools (20)
Animation Tools (6)
TileMap Tools (6)
Theme & UI Tools (8)
Profiling Tools (2)
Batch & Refactoring Tools (7)
Shader Tools (6)
Export Tools (4)
Resource Tools (4)
Physics Tools (6)
3D Scene Tools (7)
Particle Tools (5)
Navigation Tools (5)
Audio Tools (6)
AnimationTree Tools (9)
Analysis & Search Tools (6)
Testing & QA Tools (6)
Headless Tools (3)
Android Tools (3)
Key Features
- UndoRedo Integration: All node/property operations support Ctrl+Z
- Smart Type Parsing:
"Vector2(100, 200)","#ff0000","Color(1,0,0)"auto-converted - Auto-Reconnect: Exponential backoff reconnection (1s → 2s → 4s ... → 60s max)
- Heartbeat: 10s ping/pong keeps connection alive
- Helpful Errors: Error responses include suggestions for next steps
Competitive Comparison
Tool Count
Feature Matrix
Exclusive Categories (No Competitor Has These)
Architecture Advantages
License
Proprietary — see LICENSE for details. Purchase includes lifetime updates.