Godot 4 MCP tools for tests, API lookup, GDScript analysis, scene parsing, diagnostics, project control, and screenshots.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent ā or use 1-click editor setup below.
This server is confirmed live ā we successfully called its tools/list endpoint directly (see the verified badge above). We haven't yet sandbox-tested the stdio install command below specifically, which is a separate, ongoing check.
š” Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Godot Forge.
godot_run_testsRun GUT or GdUnit4 tests headlessly and return structured pass/fail results. Auto-detects the test framework. Returns total/passed/failed counts with failure details including file paths and line numbers.
godot_search_docsSearch Godot 4.x API documentation. Returns class overviews, method details, or fuzzy search results. Automatically detects Godot 3 API queries and suggests Godot 4 equivalents ā the #1 source of AI-generated GDScript bugs.
godot_get_diagnosticsGet LSP diagnostics (errors, warnings) from Godot's built-in language server. Requires Godot editor to be running with the project open.
godot_analyze_sceneParse .tscn scene files or .tres resource files and return structured analysis. Detects antipatterns (deep nesting, oversized scenes, missing scripts) and format errors (preload in .tres, custom class names in type field, integer resource IDs).
godot_analyze_scriptAnalyse GDScript files for all 10 battle-tested pitfalls: Godot 3ā4 API misuse, giant scripts, := on Variant, tight coupling, signal re-entrancy, autoload misuse, missing signal disconnect, _init() timing, Python-isms, and static func on autoloads.
godot_run_projectLaunch, stop, or get debug output from a running Godot project. Captures stdout/stderr with timestamps.
gregario/godot-forge MCP server connects an MCP-compatible coding assistant to common Godot 4 development tasks. It exposes eight focused tools rather than a general-purpose wrapper around every Godot operation.
The tools cover automated testing, API documentation lookup, static analysis, scene and resource inspection, project inventory, language-server diagnostics, project execution, and screenshot capture. Results are returned in structured form where applicable, including test counts, failure locations, diagnostic messages, project metadata, and base64-encoded PNG screenshots.
The server communicates with the assistant through MCP and locates a Godot project by searching upward from the current directory for project.godot. It also searches for the Godot executable automatically. The lookup order starts with GODOT_PATH, then checks godot or godot4 on PATH, followed by common Steam and platform-specific installation locations.
Godot is not needed for documentation search, script analysis, scene analysis, or project information. Running tests, starting or stopping a project, and taking screenshots use the Godot binary. Language-server diagnostics have a different requirement: the Godot editor must be open with the project loaded.
Test execution detects either GUT or GdUnit4 and can return pass/fail totals plus failure file paths and line numbers. Documentation search handles Godot 4.x queries and can identify older Godot 3 terms, returning suggested Godot 4 equivalents. Project information uses progressive disclosure, providing a summary first and more detail when requested.
Install the gregario/godot-forge MCP server with Node.js 18 or newer:
Add that command to the MCP configuration for a supported client such as Claude Desktop, Cursor, Windsurf, or Cline. The repository also documents setup for other IDEs.
The project directory is detected automatically. To select a project explicitly, pass its directory with the server's --project option. Set GODOT_PATH when the automatic executable search does not find the intended Godot binary. Godot 4.x is optional for the tools that only inspect files or documentation, but is needed for execution-related operations.
godot_run_tests runs GUT or GdUnit4 headlessly, with optional filtering by script, method, or inner class.godot_search_docs searches Godot 4 API references and supplies migration mappings for deprecated Godot 3 APIs.godot_analyze_script checks ten documented GDScript pitfalls, including outdated APIs, oversized scripts, unsafe type inference, coupling, signal issues, autoload problems, and Python-style syntax.godot_analyze_scene parses .tscn and .tres files, checking nesting, node count, missing scripts, and resource-format problems.godot_get_project_info reports the project name, Godot version, scenes, scripts, autoloads, addons, and directory tree.godot_get_diagnostics reads errors and warnings from Godot's built-in language server when the editor is running.godot_run_project launches or stops a project and captures timestamped standard output and error output.godot_screenshot captures the running viewport as a base64 PNG and requires a display server rather than headless mode.gregario/godot-forge MCP server is aimed at Godot 4 workflows. Its migration lookup can suggest replacements for Godot 3 APIs, but that does not make it a Godot 3 tool. Screenshot capture requires a graphical display, and language-server results are unavailable unless the editor has the project open.
The repository describes the package as cross-platform for macOS, Windows, and Linux, including both Steam and non-Steam Godot installations. The source is licensed under MIT. Planned roadmap items such as input simulation, runtime scene-tree inspection, profiling, shader validation, and export or CI support are not listed as current tools.
Factual signals from GitHub, npm, and our automated checks ā not a rating.
No reviews yet ā be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/gregario-godot-forge)<a href="https://allmcps.com/mcp/gregario-godot-forge"><img src="https://allmcps.com/api/badge/gregario-godot-forge?style=directory" alt="Godot Forge on AllMCPs" /></a>