Godot MCP icon

Godot MCP

AI-AssistedFOSS · MIT

MIT Model Context Protocol server for Godot 4 scenes & CLI

Free (MIT) · Coding-Solo & Contributors · Check whether final shipped assets contain ML-generated output under Valve's Pre-Generated guidelines.

AI
AI-Assisted
IP
Commercial-Safe IP
Engines
Godot
Platforms
Windows · macOS · Linux · CLI
Version
0.6
Technical Summary

Godot MCP is a free, MIT-licensed open-source TypeScript Model Context Protocol server maintained by Coding-Solo and contributors for Godot 4.x. Running locally over stdio on Windows, macOS, Linux, and CLI, it enables Claude Code, Cursor, and Cline to inspect `.tscn` scene trees, author GDScript, and capture live debugger output.

Technical Overview

Architecture and Production Workflow

While Godot 4 stores scenes (.tscn) and resources (.tres) in clean human-readable text formats, manually prompting an LLM to guess node paths, sub-resource IDs, or GDScript 4.x typed syntax (@onready, CharacterBody2D, Signal.connect callables) often produces hallucinated Godot 3.x APIs or broken scene instancing. Godot MCP (Coding-Solo/godot-mcp) equips coding agents with deterministic CLI and Godot Editor bridge tools over local stdio.

Pointed at your local Godot 4 executable (godot binary path) and project root, Godot MCP exposes structured engineering operations to Claude Code, Cursor, Windsurf, and Cline:

  • Scene & Resource Authoring: Creates .tscn scenes, adds typed 2D/3D nodes (CharacterBody3D, CollisionShape3D, NavigationAgent3D, TileMapLayer), assigns sprite textures or .glb meshes, and serializes valid .tres Resource files using Godot itself to guarantee valid UID references (uid://).
  • Headless GDScript Validation & Execution: Launches Godot in --headless or windowed test mode, captures live stdout, stderr, GDScript parser errors, and scene-tree dumps, and feeds runtime stack traces directly back to the coding agent for autonomous self-correction.
  • Zero Editor Plugin Bloat Required: Core CLI scene operations invoke the Godot binary directly via headless scripts, with optional editor plugin hooks for live viewport inspection.

Pricing, Licensing, and Commercial Rights

Godot MCP is 100% free and open source under the MIT License, matching Godot Engine's own zero-royalty MIT ethos. All MCP tool invocations run locally over stdio between your terminal/IDE and your local Godot 4.x installation without cloud intermediaries. Because Godot MCP operates strictly as a development-time authoring and debugging bridge, exported PCK/binary builds for Steam, itch.io, mobile, and consoles remain completely clean of third-party runtime SDKs.

Strengths and Tradeoffs in Studio Pipelines

Pipeline DimensionEngineering StrengthLimitations & Companion Tools
Godot 4.x AccuracyCatches hallucinated Godot 3.x syntax immediately via live --headless parser feedbackRequires Node.js (v18+) installed locally to run the TypeScript MCP stdio server
Valid UID IntegrityDelegates .tscn and .tres serialization to Godot so uid:// links never breakComplex visual shader node graphs or AnimationTree blendspaces remain faster in Godot's GUI
Clean Export BinaryZero project lock-in; uninstall or stop the server anytime before shippingPair with blender-mcp for end-to-end Blender .glb modeling straight into Godot 4 scenes

AI Transparency & Steam Disclosure

AI-Assisted Workflow

Authoring tool featuring optional ML-powered helpers (physics auto-posing, denoising, upscaling, or code autocomplete).

Steamworks guidance: Check whether final shipped assets contain ML-generated output under Valve's Pre-Generated guidelines.

Technical FAQ about Godot MCP

Does Godot MCP prevent LLMs from writing outdated Godot 3 GDScript syntax?
Yes. Because Godot MCP validates scripts against your actual installed Godot 4.3 or 4.4 binary and streams exact GDScript parser errors back to Claude Code or Cursor, the agent immediately catches deprecated Godot 3 keywords like `KinematicBody2D` or `yield`.
Do I need to bundle an addon inside my shipped Godot `.pck` file to use Godot MCP?
No. Godot MCP runs as an external local Node.js MCP server communicating with the Godot executable on your development machine. Your exported Windows, Linux, macOS, or Web `.pck` release contains zero MCP code or runtime overhead.
Can Godot MCP work with C# (.NET 8) Godot 4 projects as well as GDScript?
Yes. Alongside creating `.tscn` node hierarchies and validating GDScript files, coding agents connected via Godot MCP can launch Godot .NET 8 builds, pair with `dotnet build` CLI compiler checks, and capture live runtime C# stack traces from standard output.

More tools like Godot MCP