
Godot Forge
io.github.gregarioPublished by GitHub account gregariov0.1.2Updated Oct 28, 2026
Godot 4 MCP server — test runner, API docs, script analysis, scene parsing, LSP.
Overview
Godot 4 MCP server that lets an AI assistant run GUT/GdUnit4 tests, search Godot 4 API docs with 3→4 migration mappings, analyze GDScript and scenes, and…
- What you can do
- Run GUT/GdUnit4 tests and get structured pass/fail results with failure locations
- Search Godot 4 API docs, including Godot 3→4 migration mappings for deprecated APIs
- Analyze GDScript files for ten common pitfalls and parse .tscn/.tres scenes for antipatterns and format errors
- Inspect project structure and fetch LSP diagnostics from Godot's language server
- Launch or stop the project with debug output, and capture viewport screenshots as PNG
- When to use it
- Useful when an AI assistant writes or reviews GDScript for a Godot 4 project and tends to produce deprecated Godot 3 APIs, or when you want tests, scene checks and screenshots driven from the chat instead of the editor.
- Requirements
- Runs locally via npx, so Node.js 18+ is needed. Godot 4.x is auto-detected (GODOT_PATH can override it) and is required only for test running, project launching and screenshots; LSP diagnostics need the Godot editor open with the project. The project directory is found by walking up to project.godot or set with a --project flag. No authentication declared.
Installation
In SourceWeft
- Open Godot Forge in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Godot Forge
The MCP server for Godot 4. Test runner, API docs, script analysis, and more.
[npm version] [npm downloads] [MIT License] [Node.js 18+] [MCP Compatible] [godot-forge MCP server]
AI coding assistants are structurally bad at GDScript. Models trained on data skewed towards Godot 3 hallucinate deprecated APIs (yield instead of await, KinematicBody instead of CharacterBody3D, export var instead of @export var). Godot Forge fixes this.
8 tools. Zero config. Works with every MCP-compatible IDE.
[godot-forge MCP server]Install
That's it. Godot Forge auto-detects your Godot binary (Steam, Homebrew, direct download) and finds your project.godot automatically.
Add to your IDE
Claude Code
Cursor
Add to .cursor/mcp.json:
VS Code (Copilot)
Add to .vscode/mcp.json:
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
Zed
Add to settings.json:
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows):
More IDEs (Codex, Gemini CLI, JetBrains, Continue, Cline, Roo Code, Neovim, OpenCode, Kiro)
See IDE Setup Guide for configuration snippets for all supported IDEs.
Tools
[!TIP] 6 of 8 tools work without Godot installed. Only test running, project launching, and screenshots need the binary.
Features
Test Runner
Auto-detects GUT and GdUnit4. Returns structured JSON with pass/fail counts, failure details with file paths and line numbers. Supports filtering by script, method, or inner class.
Godot 3→4 Migration Mapping
The #1 reason AI writes broken GDScript. When your AI queries a deprecated API, it gets the correct Godot 4 equivalent instantly (30+ mappings covering classes, methods, syntax, and constants).
Script Analysis: 10 Pitfalls
Every pitfall detected from real game development:
Scene Analysis
Parses .tscn and .tres files. Detects deep nesting (>8 levels), oversized scenes (>100 nodes), missing script references, preload() in .tres, integer resource IDs, and more.
LSP Diagnostics
Connects to Godot's built-in language server (runs automatically when the editor is open). Returns real compiler errors and warnings (no guesswork).
[!NOTE] Requires the Godot editor to be running with your project open. All other tools work without the editor.
Screenshot Capture
Captures the game viewport as a PNG image. Loads the project's main scene (or a specified scene), waits for rendering, and returns the screenshot as base64 for the AI to see.
Configuration
Godot Binary
Auto-detected in this order:
GODOT_PATHenvironment variablegodot/godot4in PATH- Steam installation (macOS, Windows, Linux)
- Platform defaults (
/Applications/Godot.app, Homebrew, Scoop, Flatpak, Snap, etc.)
Override manually:
See Godot Detection for the full list of searched paths.
Project Directory
Auto-detected by walking up from the current directory to find project.godot. Override:
Requirements
- Node.js 18+: for
npxexecution - Godot 4.x: auto-detected (optional for 6 of 8 tools)
- Any MCP-compatible IDE: Claude Code, Cursor, VS Code, Windsurf, Zed, and more
Design Principles
- Outcomes, not operations: Each tool delivers a complete result, not raw API wrapping
- 8 curated tools: No 93-tool context bloat (why this matters)
- Progressive disclosure: Summaries first, details on demand
spawn()notexec(): No command injection, no Windows quoting bugs- Actionable errors: Every error includes a suggestion the AI can act on
- Cross-platform: macOS, Windows, Linux. Steam and non-Steam installs.
Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
- Bug reports: Open an issue
- Feature requests: Start a discussion
- Pull requests: Fork, branch, test, PR
Development
Running locally
Roadmap
See ROADMAP.md for planned features.
Phase 2: Input simulation, runtime scene tree inspection, performance profiling, shader validation, export/CI pipeline.
Licence
Source: README.md at commit 401f414
Tools
0Version history
1- v0.1.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts