MCP Hub
Back to servers

better-godot-mcp

MCP server for Godot Engine 4.x with 18 tools for scenes, scripts, and shaders.

Registrynpm410/wk
Stars
1
Updated
Mar 6, 2026

Quick Install

npx -y @n24q02m/better-godot-mcp

Better Godot MCP

Composite MCP Server for Godot Engine - Optimized for AI Agents

CI codecov npm Docker License: MIT

TypeScript Node.js Godot Engine semantic-release Renovate

Why "Better"?

18 composite tools that consolidate Godot Engine operations into action-based mega-tools optimized for AI agents.

Key Features

FeatureDescription
Composite Actions1 tool call instead of multiple steps
Full Scene ControlCreate, parse, modify .tscn files directly
GDScript CRUDCreate, read, write, attach scripts
Shader SupportCreate, edit shaders with Godot 4 syntax
Input MappingManage input actions and events
Physics/Audio/NavConfigure collision layers, audio buses, navigation
Token EfficientTiered descriptions with on-demand help tool

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:

Runnercommandargs
npxnpx["-y", "@n24q02m/better-godot-mcp@latest"]
pnpmpnpm["dlx", "@n24q02m/better-godot-mcp@latest"]
yarnyarn["dlx", "@n24q02m/better-godot-mcp@latest"]

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

ToolActions
projectinfo, version, run, stop, settings_get, settings_set, export
scenescreate, list, info, delete, duplicate, set_main
nodesadd, remove, rename, list, set_property, get_property
scriptscreate, read, write, attach, list, delete
editorlaunch, status
setupdetect_godot, check
configstatus, set
helpGet full documentation for any tool
resourceslist, info, delete, import_config
input_maplist, add_action, remove_action, add_event
signalslist, connect, disconnect
animationcreate_player, add_animation, add_track, add_keyframe, list
tilemapcreate_tileset, add_source, set_tile, paint, list
shadercreate, read, write, get_params, list
physicslayers, collision_setup, body_config, set_layer_name
audiolist_buses, add_bus, add_effect, create_stream
navigationcreate_region, add_agent, add_obstacle
uicreate_control, set_theme, layout, list_controls

Token Optimization

Tiered descriptions for efficient token usage:

TierPurposeWhen
Tier 1Compressed descriptionsAlways loaded
Tier 2Full docs via help toolOn-demand
{"name": "help", "tool_name": "scenes"}

Environment Variables

VariableRequiredDescription
GODOT_PROJECT_PATHNoDefault project path (most tools accept project_path param)
GODOT_PATHNoPath 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 API
  • run/stop/export actions require Godot binary to be installed
  • Docker 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 build

Requirements: Node.js 24+, bun latest

Compatible With

Claude Desktop Claude Code Cursor VS Code Copilot Antigravity Gemini CLI OpenAI Codex OpenCode

Also by n24q02m

ServerDescriptionInstall
better-notion-mcpNotion API for AI agentsnpx -y @n24q02m/better-notion-mcp@latest
wet-mcpWeb search, content extraction, library docsuvx --python 3.13 wet-mcp@latest
mnemo-mcpPersistent AI memory with hybrid searchuvx mnemo-mcp@latest
better-email-mcpEmail (IMAP/SMTP) for AI agentsnpx -y @n24q02m/better-email-mcp@latest

Contributing

See CONTRIBUTING.md

License

MIT - See LICENSE

Reviews

No reviews yet

Sign in to write a review