Setup
Better Godot MCP — Manual Setup Guide
Section titled “Better Godot MCP — Manual Setup Guide”2026-05-02 Update (v<auto>+): Plugin install (Method 1) uses stdio mode (no auth required for godot). The previous default of HTTP transport has been changed to stdio. If you relied on HTTP mode, set
MCP_TRANSPORT=httpor pass--httpflag.
Method overview
Section titled “Method overview”This plugin supports 1 install method only: stdio via plugin install (uvx/npx). Reason: the plugin needs direct host access to your project files (Godot project / repo path) and doesn’t ship Docker or HTTP variants.
For comparison, the other 6 plugins in this stack (better-notion-mcp, better-email-mcp, better-telegram-mcp, wet-mcp, mnemo-mcp, imagine-mcp) support 3 methods:
- Default — Plugin install (
uvx/npx) stdio - Fallback — Docker stdio (Windows/macOS PATH issues)
- Recommended — Docker HTTP (multi-device, OAuth/relay form, claude.ai web)
⚠️ Mutually exclusive — pick ONE per plugin (applies to those 6 plugins, not godot): For the 6 plugins above that offer Method 2 (Docker stdio) or Method 3 (HTTP), do NOT stack
/plugin installAND a usermcpServersoverride — both would load simultaneously and create duplicate entries (plugin’snpx/uvxstdio + your override). Plugin matching is by endpoint (URL or command string) per CC docs, not by name — andnpx/uvx≠docker≠ HTTP URL, so all three are distinct endpoints. Choosing Method 2 or Method 3 means losing the plugin’s skills/agents/hooks/commands.better-godot-mcponly offers Method 1, so this note is informational only — there is no Docker stdio or HTTP variant to conflict with the plugin install here.
Prerequisites
Section titled “Prerequisites”- Node.js >= 24.14.1
- Godot Engine 4.x installed (required for
run,stop,exportactions; optional for scene/script editing) - A Godot 4.x project with a
project.godotfile
Method 1: Claude Code Plugin (Recommended)
Section titled “Method 1: Claude Code Plugin (Recommended)”Credential prompts at install
Section titled “Credential prompts at install”When you run /plugin install, Claude Code prompts you for the following credentials (declared in userConfig per CC docs). Sensitive values are stored in your system keychain and persist across /plugin update:
| Field | Required | Where to obtain |
|---|---|---|
GODOT_PATH | Optional | Absolute path to Godot 4.x binary; auto-detect from PATH if empty |
GODOT_PROJECT_PATH | Optional | Default project root (can override per tool call) |
- Open Claude Code in your terminal.
- Run:
Terminal window /plugin marketplace add n24q02m/claude-plugins/plugin install better-godot-mcp@n24q02m-plugins - The plugin auto-configures the MCP server in stdio mode — no prompts, no env vars required, it just works.
Optionally set GODOT_PROJECT_PATH to point at your Godot project directory; otherwise pass project_path per tool call.
Environment Variable Reference
Section titled “Environment Variable Reference”| Variable | Required | Default | Description |
|---|---|---|---|
GODOT_PROJECT_PATH | No | — | Default Godot project directory. Each tool call can also pass project_path as a parameter. |
GODOT_PATH | No | Auto-detected | Explicit path to the Godot binary. If not set, the server searches PATH and common install locations (Windows, macOS, Linux). |
MCP_TRANSPORT | No | stdio | Set to http to run in HTTP mode (advanced; not in scope of this guide). The --http CLI flag is equivalent. |
PORT | No | 0 (auto) | HTTP port when MCP_TRANSPORT=http. Set explicitly when you need a stable port. |
Troubleshooting
Section titled “Troubleshooting”Server starts but tools fail with “project not found”
Section titled “Server starts but tools fail with “project not found””- Ensure your Godot project has a
project.godotfile at its root. - Set
GODOT_PROJECT_PATHto the directory containingproject.godot, or passproject_pathin each tool call.
Godot binary not detected
Section titled “Godot binary not detected”- Install Godot 4.x and ensure it is on your PATH, or set
GODOT_PATHto the full path of the Godot executable. - Use the
configtool with actiondetect_godotto see where the server is looking.
Docker: “permission denied” or empty file listings
Section titled “Docker: “permission denied” or empty file listings”- Ensure the volume mount path is correct:
-v /absolute/path:/project. - On Linux, you may need to add
:zto the mount flag for SELinux:-v /path:/project:z.
npx: “command not found” or old version
Section titled “npx: “command not found” or old version”- Verify Node.js >= 24.14.1:
node --version. - Clear the npx cache:
npx --yes clear-npx-cacheor use@latesttag:npx -y @n24q02m/better-godot-mcp@latest.
Tools return errors about Godot 3.x
Section titled “Tools return errors about Godot 3.x”- This server requires Godot 4.x project structure. Godot 3.x projects are not supported.