Godot Forge MCP Server

Godot 4 MCP server — test runner, API docs, script analysis, scene parsing, LSP.

Local serverstdioPython

What is the Godot Forge MCP server?

Godot Forge MCP server exists for a simple reason — assistants are far more useful when they can act on Godot Forge directly instead of describing what you should do. Godot 4 MCP server — test runner, API docs, script analysis, scene parsing, LSP.

Setting it up

The server ships on npm as godot-forge, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What the assistant can call

Once Godot Forge is connected, these are the calls the assistant has available:

  • godot_run_tests — Run GUT/GdUnit4 tests, get structured pass/fail results
  • godot_search_docs — Search Godot 4 API docs with 3→4 migration mapping
  • godot_analyze_script — Detect 10 GDScript pitfalls (deprecated API, coupling, re-entrancy)
  • godot_analyze_scene — Parse .tscn/.tres, detect antipatterns and format errors
  • godot_get_project_info — Project structure overview with progressive disclosure
  • godot_get_diagnostics — LSP diagnostics from Godot's language server
  • godot_run_project — Launch/stop project, capture debug output
  • godot_screenshot — Capture viewport screenshot as base64 PNG
  • Development — The Development tool exposed by this server

Configuration and credentials

You will need one environment variable: GODOT_PATH. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Node.js 18+: for npx execution - Godot 4.x: auto-detected (optional for 6 of 8 tools) - Any MCP-compatible IDE: Claude Code, Cursor, VS Code, Windsurf, Zed, and more

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Godot Forge.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the godot forge mcp server does with a few real requests.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Godot Forge's toolset — godot_run_tests, godot_search_docs, godot_analyze_script and 6 more — is a fair guide to whether it matches your workflow. It is maintained by gregario; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Godot Forge's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
godot_run_testsRun GUT/GdUnit4 tests, get structured pass/fail results
godot_search_docsSearch Godot 4 API docs with 3→4 migration mapping
godot_analyze_scriptDetect 10 GDScript pitfalls (deprecated API, coupling, re-entrancy)
godot_analyze_sceneParse .tscn/.tres, detect antipatterns and format errors
godot_get_project_infoProject structure overview with progressive disclosure
godot_get_diagnosticsLSP diagnostics from Godot's language server
godot_run_projectLaunch/stop project, capture debug output
godot_screenshotCapture viewport screenshot as base64 PNG
DevelopmentThe Development tool exposed by this server.

How to install the Godot Forge MCP server

{
  "mcpServers": {
    "godot-forge": {
      "command": "npx",
      "args": ["-y", "godot-forge"],
      "env": {
        "GODOT_PATH": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js 18+: for npx execution - Godot 4.x: auto-detected (optional for 6 of 8 tools) - Any MCP-compatible IDE: Claude Code, Cursor, VS Code, Windsurf, Zed, and more
VariableDescriptionRequired
GODOT_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Godot Forge to godot run tests.
  • Use Godot Forge to godot search docs.
  • Use Godot Forge to godot analyze script.

Frequently asked questions

It connects Godot Forge to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (godot_run_tests, godot_search_docs, godot_analyze_script, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Godot Forge directly.