Better Godot MCP
Composite MCP Server for Godot Engine - Optimized for AI Agents
Why "Better"?
18 composite tools that consolidate Godot Engine operations into action-based mega-tools optimized for AI agents.
Key Features
Feature | Description |
Composite Actions | 1 tool call instead of multiple steps |
Full Scene Control | Create, parse, modify |
GDScript CRUD | Create, read, write, attach scripts |
Shader Support | Create, edit shaders with Godot 4 syntax |
Input Mapping | Manage input actions and events |
Physics/Audio/Nav | Configure collision layers, audio buses, navigation |
Token Efficient | Tiered descriptions with on-demand |
Quick Start
Option 1: Package Manager (Recommended)
{
"mcpServers": {
"better-godot": {
"command": "bun",
"args": ["x", "@n24q02m/better-godot-mcp@latest"]
}
}
}Alternatively, you can use npx, pnpm dlx, or yarn dlx:
Runner |
|
|
npx |
|
|
pnpm |
|
|
yarn |
|
|
Option 2: Docker
{
"mcpServers": {
"better-godot": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"--name", "mcp-godot",
"n24q02m/better-godot-mcp:latest"
]
}
}
}Note: Project path is passed via tool parameters (
project_path), not environment variables.
Tools
Tool | Actions |
| info, version, run, stop, settings_get, settings_set, export |
| create, list, info, delete, duplicate, set_main |
| add, remove, rename, list, set_property, get_property |
| create, read, write, attach, list, delete |
| launch, status |
| detect_godot, check |
| status, set |
| Get full documentation for any tool |
| list, info, delete, import_config |
| list, add_action, remove_action, add_event |
| list, connect, disconnect |
| create_player, add_animation, add_track, add_keyframe, list |
| create_tileset, add_source, set_tile, paint, list |
| create, read, write, get_params, list |
| layers, collision_setup, body_config, set_layer_name |
| list_buses, add_bus, add_effect, create_stream |
| create_region, add_agent, add_obstacle |
| create_control, set_theme, layout, list_controls |
Token Optimization
Tiered descriptions for efficient token usage:
Tier | Purpose | When |
Tier 1 | Compressed descriptions | Always loaded |
Tier 2 | Full docs via | On-demand |
{"name": "help", "tool_name": "scenes"}Environment Variables
Variable | Required | Description |
| No | Default project path (most tools accept |
| No | Path to Godot binary (auto-detected if not set) |
Limitations
Requires Godot 4.x project structure
Scene files (
.tscn) are parsed/modified via text manipulation, not Godot's internal APIrun/stop/exportactions require Godot binary to be installedDocker mode has limited filesystem access (mount your project directory)
Build from Source
git clone https://github.com/n24q02m/better-godot-mcp
cd better-godot-mcp
mise run setup
bun run buildRequirements: Node.js 24+, bun latest
Compatible With
Also by n24q02m
Server | Description | Install |
Notion API for AI agents |
| |
Web search, content extraction, library docs |
| |
Persistent AI memory with hybrid search |
| |
Email (IMAP/SMTP) for AI agents |
|
Contributing
See CONTRIBUTING.md
License
MIT - See LICENSE