Godot MCP Runtime

v4.0.0
io.github.Erodenn/godot-mcp-runtime Checked 4 hours ago Published 20 days ago

Zero-addon MCP server for Godot 4.5 or later: agents edit, run, and play-test the game.

Values you need

VariableWhat it is
GODOT_PATHoptional Path to the Godot 4.5 or later executable. Auto-detected if Godot is on PATH.
DEBUGoptional Enable verbose logging when set to 'true'.
GODOT_MCP_DISABLE_ELICITATIONoptional Set to 'true' to skip the once-per-project confirmation prompts for run_project, render_movie and run_script (the call proceeds with a warning) for clients that cannot display elicitation, e.g. Claude Desktop.

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add godot-mcp-runtime -- npx -y godot-mcp-runtime@4.0.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "godot-mcp-runtime": {
      "args": [
        "-y",
        "godot-mcp-runtime@4.0.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "godot-mcp-runtime": {
      "args": [
        "-y",
        "godot-mcp-runtime@4.0.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "godot-mcp-runtime": {
      "args": [
        "-y",
        "godot-mcp-runtime@4.0.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.godot-mcp-runtime]
command = "npx"
args = ["-y", "godot-mcp-runtime@4.0.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: launch_editor, run_project, switch_project, get_debug_output, stop_project, take_screenshot, simulate_input, get_ui_elements, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json