Godot MCP
Godot MCP is an MCP server that gives AI assistants deep, native control over Godot Engine 4.x projects — editing files directly, driving the live editor, and inspecting the running game.
Native file editing (no Godot needed): Read/write
.tscnscenes,.tresresources, GDScript/C#,.gdshader, andproject.godotvia custom parsers.Scene manipulation: Add/remove/clone/rename nodes, edit transforms, collision shapes, sprites, groups, and connect signals.
Scripting & shaders: Create/validate/analyze scripts, inject functions/signals/
@exportvars, and author VisualShader graphs.Asset tooling: Build materials, environments, animations, audio buses, TileSets, navigation meshes, translations, meshes, and themes.
Live editor control (140 tools): Select nodes, play/stop, undo/redo, save, set breakpoints, step the debugger, bake lightmaps/nav, manage plugins, and control the viewport camera.
Live-game runtime (11 tools): Inspect the running tree, get/set properties, call methods, emit signals, inject input, freeze, step frames deterministically, and screenshot.
Project management: Edit input maps, autoloads, export presets; validate projects; find unused assets; diff scenes/resources/scripts.
Discovery & diagnostics:
search_toolsto find the right tool among 386, andget_statusfor subsystem connectivity.Safety: Undoable editor mutations,
.bakbackups, read-only mode, path-traversal protection, and typed errors with repair hints.Flexible transports: stdio, SSE, Streamable HTTP, or all simultaneously.
Provides tools for interacting with Godot Engine projects, enabling AI agents to manage scenes, scripts, resources, animations, audio, and more within a Godot project.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Godot MCP list all scenes in the project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Godot MCP
The most complete MCP server for Godot Engine — 386 tools that give your AI assistant real hands inside your game project.
Godot MCP is a Model Context Protocol server that connects any AI assistant — Claude, Cursor, VS Code Copilot, Windsurf, Cline, Codex, Aider — directly to Godot Engine 4.x. Your AI stops guessing about your project and starts operating it.
📂 Reads and writes your project files natively —
.tscnscenes,.tresresources, GDScript, C#,.gdshader,project.godot. Custom parsers, no Godot process required, instant response.🎛️ Drives the live editor — select nodes, connect signals, author visual shaders, bake lightmaps, set breakpoints, step the debugger, run and stop the game.
↩️ Every scene edit is undoable — add, remove, rename, move, reparent, duplicate and instantiate all register on Godot's native undo stack. If the AI gets it wrong, Ctrl+Z puts it back.
🎮 Reaches inside the running game — inspect the live scene tree, call methods, inject input, freeze the game, step it one frame at a time, and screenshot the result. No other public Godot MCP does this.
🔎 Stays usable at scale —
search_toolsfinds the right tool out of 386,get_statustells you exactly what is connected, and every error returns a typed code plus a repair hint.
386 tools · 30 categories · 21 AI clients · 4 communication paths · one-command setup.
npx @yanhuifair/godot-mcp --enable-plugin -p .Requirement | |
Godot | 4.x (Godot 3 not supported) |
Node.js | >= 18 |
AI Client | Any MCP-compatible client (see Configuration) |
Why Godot MCP
Godot MCP | Other Godot MCP servers | |
Tool count | 386 across 30 categories | 16 – 156 |
Works without Godot running | ✅ Native | ⚠️ Usually needs a live editor |
Live editor control | ✅ 140 tools — play, debug, breakpoints, viewport, bake | Partial |
Undoable AI edits | ✅ Every scene mutation is one Ctrl+Z away — native | ❌ Edits are permanent |
Control the running game | ✅ 11 tools — live tree, method calls, input injection | ❌ None |
Deterministic frame stepping | ✅ | ❌ None |
Tool discovery for large catalogs | ✅ | ❌ None |
Error messages | ✅ Typed error code + actionable repair hint | Raw stack traces |
Transports | Stdio · SSE · Streamable HTTP | Usually stdio only |
Editor plugin install | ✅ One command, auto-enabled | Manual copy |
Engine introspection | ✅ Live ClassDB — classes, methods, properties, signals, docs | Rare |
If you have ever wanted to say "run the game, freeze it at the moment the player lands, and show me the collision state" — this is the server that can actually do it.
Related MCP server: Godot MCP server
Table of Contents
Quick Start
Two setup steps, about two minutes. You do not need to install anything globally, and you do not need to keep a terminal open — your AI client starts the server for you.
Before You Begin
You need | How to check |
Godot 4.x installed | Open Godot → the version shows in the title bar. (Godot 3 is not supported.) |
Node.js 18 or newer | Run |
An MCP-capable AI client | VS Code + Copilot, Cursor, Claude Desktop, Windsurf, Cline… see the full list. |
Step 1 — Install the Editor Plugin
Open a terminal, cd into your Godot project folder (the one containing project.godot), and run:
npx @yanhuifair/godot-mcp --enable-plugin -p .Run this from your project root — the folder containing
project.godot— because-p .means "the current directory". If you run it from anywhere else, pass an absolute path instead:npx @yanhuifair/godot-mcp --enable-plugin -p /Users/me/games/my-game
Always installs the latest version.
npxfetches the newest release every time. To force it or pin a specific version:npx @yanhuifair/godot-mcp@latest --enable-plugin -p .(latest) ·npx @yanhuifair/godot-mcp@1.12.16 --enable-plugin -p .(pinned)
What this does: copies the plugin into addons/godot-mcp/ and switches it on inside project.godot. Nothing to click in Godot.
How to confirm it worked: you should now see an addons/godot-mcp/ folder in your project. If Godot is already open, reload the project (Project → Reload Current Project) so it picks up the plugin.
Only if you want the live editor and live game tools (play the scene, read the current selection, set breakpoints, bake lightmaps, freeze the running game…).
Over 220 of the 386 tools — everything that reads and writes .tscn, .tres, .gd, shaders, project settings, etc. — work without the plugin and without Godot even being open. If that's all you need, skip to Step 2.
Step 2 — Point Your AI Client at the Server
Create .vscode/mcp.json in your project root (this exact file works for VS Code / GitHub Copilot):
{
"mcpServers": {
"godot-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@yanhuifair/godot-mcp", "-p", "."]
}
}
}Then restart your AI client so it reads the new config.
Using something else? The config file has a different name and location per client, but the
command/argspart is almost always identical. Copy-paste blocks for Cursor, Claude Desktop, Claude CLI, Windsurf, OpenAI Codex, Cline, Roo Code, Continue, Aider, Cody, Goose, Zed are in AI Client Configuration.
Step 3 — Verify and Start Chatting
Ask your AI:
"Run get_status"You should get back the tool count and whether the editor / runtime bridges are reachable. That means everything is wired up. Now try:
"List all scenes in the project"
"Find all CharacterBody2D nodes and tell me their collision layers"
"Run the game and take a screenshot"With 386 tools, the AI can't see them all at once — tell it to search_tools when it isn't sure what's available (e.g. "search_tools for animation").
Symptom | Fix |
Client shows no | Restart the client. Config files are only read on startup. |
| Node.js isn't installed or isn't on your |
| The |
Editor tools fail, file tools work | The plugin isn't installed/enabled. Re-run Step 1, then reload the project in Godot. |
| Godot isn't running, or the plugin isn't enabled. The server will try to launch Godot itself; if that fails, open the project in Godot manually and check Project → Project Settings → Plugins → Godot MCP is enabled. |
| The editor received the command but refused it — usually a wrong node path, a property that doesn't exist on that node type, or an invalid target. The message carries Godot's own reason. Use |
AI made a scene edit you don't want | Press Ctrl+Z in Godot, or call |
Godot binary not found | Set the |
What You Can Do
Godot MCP provides comprehensive coverage of the Godot 4.x engine through 386 tools in 30 categories.
Quick Demo
# One command to set up everything
npx @yanhuifair/godot-mcp --enable-plugin -p .
# Then ask your AI:
> "Create a 2D platformer scene with a CharacterBody2D player"
> "Add a Timer node, connect its timeout signal, write the handler"
> "Create a metallic PBR material and apply it to all MeshInstance3D nodes"
> "Set up an audio bus with reverb, set SFX volume to -6dB"
> "Set a breakpoint at line 42, run the game, step through the debugger"Feature Overview
Category | Tools | Description |
Editor | 140 | Live editor control — select, play, undo, save, breakpoints, file ops, performance |
Project | 24 | Config, input map, file ops, autoloads, export presets, validation, unused assets |
Scene | 22 | Scene CRUD — nodes, signals, transforms, collision, sprites |
Script + Shader | 21 | GDScript/Shader CRUD, structure analysis, code injection, validation |
Domain | 14 | Curve, Gradient, Path, Skeleton, ReflectionProbe, MultiMesh, NoiseTexture |
Animation | 10 | AnimationPlayer/AnimationTree — tracks, keyframes, parameters |
Godot Engine | 9 | Engine detection, launch editor, run/export project, screenshot |
Coverage | 18 | Mesh primitives, 2D lights, vehicles, spring arm, decal, occluder, grid map |
Node Inspectors | 8 | CharacterBody, AnimatedSprite, Audio, Video, Parallax, RichText, Container, Tab |
Resource | 8 | .tres CRUD, PBR materials, themes, 14 templates |
Audio | 7 | Audio bus layout, effects, volume |
Shader Graph | 8 | VisualShader graph — 40+ node types, connections, parameters |
Utility | 9 | Signal catalog, StyleBox, AtlasTexture, popup listing, cohesion report |
Rendering | 5 | MeshInstance, Viewport, Area, RayCast/ShapeCast |
Environment | 6 | Environment read/write, presets |
Inspector | 5 | Camera, Light, Particle node inspection |
Physics | 5 | PhysicsMaterial CRUD, collision layers |
Import | 3 | .import file read/write |
TileMap | 5 | TileSet resources, TileMapLayer inspection |
Navigation | 6 | NavigationRegion, NavigationMesh |
Translation | 8 | CSV/PO translation files, .po authoring, registration |
Joints | 5 | Physics joints — create, configure, list |
UID | 4 | File UID query, batch update, missing UID detection |
2D Geometry | 4 | CollisionPolygon2D, shape point editing |
Diff | 5 | Scene and resource comparison |
Texture | 4 | Texture import/read/write, atlas, noise |
Extension/World/C# | 5 | GDExtension, C#, World3D, CSProj |
Meta / Introspection | 2 | Tool search (search_tools) + system diagnostics (get_status) |
Logs | 5 | Read game-run logs ( |
Runtime (game) | 11 | Control the running game — tree, properties, methods, signals, input, freeze/step, screenshot |
Total: 386 tools across 30 categories
Core Capabilities in Detail
Project Management
Read and write project.godot settings, input maps, autoload singletons, and export presets. Perform file operations (list, search, move, delete with .bak backups), validate project health, detect unused assets, and generate comprehensive project reports.
Scene Editing
Full CRUD on .tscn scene files. Add, delete, modify, clone, and rename nodes. Edit node properties, transforms (position/rotation/scale), collision shapes, and sprite textures. Connect and disconnect signals between nodes. Search nodes across scenes by type, property, group, or signal.
Scripting & Shaders
Read, write, and create GDScript, C#, and .gdshader files. Analyze script structure (class names, signals, exported variables, functions). Inject functions, signals, and @export variables into existing scripts. Validate GDScript for common syntax issues. Validate and compile shaders. Manage VisualShader graphs — add, remove, connect, and configure nodes.
Resource Management
Read, write, and create .tres resource files with 14 built-in templates (StandardMaterial3D, ShaderMaterial, ORMMaterial3D, CanvasItemMaterial, and more). Inspect and modify PBR material parameters. Read Theme resources with properties grouped by type.
Animation Pipeline Complete AnimationPlayer and AnimationTree support: list animations, read tracks and keyframes, create new animations, add/remove tracks, set keyframes at specific times, configure animation libraries, and inspect AnimationTree state machines.
Audio Configuration Read, create, and modify audio bus layouts. Add and remove audio buses, attach effects (14 types: Reverb, Delay, Chorus, Compressor, and more), and set bus volume in dB.
Physics & Collision Inspect VehicleBody3D, SoftBody3D, and physics materials. Create collision shapes. Read collision layer and mask configuration from project settings. Create physics joints (PinJoint, HingeJoint, SliderJoint, and more).
Rendering & Environment Inspect MeshInstance3D, Viewport, Area, and RayCast nodes. Create and configure Environment resources (4 presets). Manage 2D lights, decals, and occluders. Read 3D mesh primitives (Box, Sphere, Capsule, Cylinder, Torus, and more).
Live Editor Control (140 tools) Interact with the running Godot editor in real time over a TCP or stdio bridge: select nodes, run/stop/pause the project, undo/redo, save scenes, create and attach scripts, set breakpoints, step the debugger, evaluate expressions, control the 3D viewport camera, bake lightmaps and navigation meshes, manage plugins, and simulate key presses.
Live Game Runtime Control (11 tools)
Go beyond the editor and reach into the actually running game. Inspect the live scene tree with real positions, read and write node properties at runtime, call arbitrary methods, emit signals, inject keyboard input, and — the headline feature — runtime_freeze the game, runtime_step forward an exact number of frames, and runtime_screenshot the result. This makes AI-driven gameplay debugging deterministic and reproducible.
Visual Shader Graphs Create and modify VisualShader graphs programmatically. Add nodes from a catalog of 40+ types (constants, math operations, textures, inputs), connect node ports, set node parameters, and list available node types with their default input/output configurations.
Engine Introspection (ClassDB) Query the live engine's ClassDB: list all classes, inspect methods, properties, and signals of any Godot type, read built-in class documentation, and search the help system. The AI works from ground truth instead of hallucinating APIs.
TileMap, Navigation & Translation Inspect TileSet resources and TileMapLayer nodes. List and read NavigationRegion nodes, create NavigationMesh resources. Read and create CSV/PO translation files with search support.
Architecture
System Overview
MCP Protocol (stdio/SSE/Streamable HTTP)
+-----------------+ +------------------+
| AI Client |<-------------------------------------->| Godot MCP Server |
| (VS Code/Cursor | | (TypeScript) |
| Claude/etc.) | | |
+-----------------+ | +-------------+ |
| | Tool Registry| |
| | (386 tools) | |
| +------+------+ |
| | |
| +----v-----+ |
File I/O (direct) | | Parsers | |
+------------------+<-------------------------------------->| | .tscn | |
| Godot Project | | | .tres | |
| Files on Disk | | | .godot | |
| (.tscn/.tres/.gd)| | +----------+ |
+------------------+ | |
| +-------------+ |
stdin/stdout (spawned process) | | Godot CLI | |
+------------------+<-------------------------------------->| | (spawn/edit) | |
| Godot Editor | | +-------------+ |
| (GDScript addon) | +------------------+
| TCP port 9876 |
| 102 commands |
+------------------+Communication Paths
The server uses four distinct communication paths depending on the operation:
Direct File I/O — For file-based tools (read_scene, write_script, create_resource, etc.), the server reads and writes Godot project files directly on disk using custom parsers. No Godot process is required. This is the fastest path.
Godot CLI — For engine operations (launch_editor, run_project, export_project, get_godot_version), the server spawns Godot as a subprocess and communicates via command-line arguments and stdout/stderr.
Editor Bridge (dual-mode) — For live editor tools (editor_get_selection, editor_play, editor_set_breakpoint, etc.), the MCP server communicates with a running Godot editor instance. Two modes are supported:
TCP mode (default): Connects to an already-running Godot on
localhost:9876. The editor plugin listens on this port.Stdio mode (fallback): Spawns Godot as a child process with
--editor --path <project>, setsMCP_STDIO=true, and communicates via stdin/stdout using JSON-RPC with a__MCP__:marker prefix. This mode auto-starts and auto-restarts Godot as needed.
Live-Game Runtime Bridge — For runtime tools (
runtime_*, e.g.runtime_get_tree,runtime_set_node,runtime_step), the MCP server talks to a small autoload running inside your played game on127.0.0.1:9877. The autoload (addons/godot-mcp/runtime_bridge.gd, namedgodot_mcp_runtime) is added to your project and listens only on loopback. This lets the AI inspect and mutate the live scene tree, inject input, pause/resume, deterministically step frames, and screenshot the running game — a tier no other public Godot MCP offers out of the box.
Project Structure
godot-mcp/
├── src/
│ ├── index.ts # CLI entry point, argument parsing, transport dispatch
│ ├── server.ts # MCP server factory, tool registration, request routing
│ ├── tools/ # tool handler files (one group per category)
│ │ ├── register.ts # Centralized registration (386 tools)
│ │ ├── project.ts # Project management tools
│ │ ├── scene.ts # Scene editing tools
│ │ ├── script.ts # Script and shader tools
│ │ ├── editor.ts # Live editor bridge (TCP + stdio, persistent connection)
│ │ ├── resource.ts # Resource/material/theme tools
│ │ ├── godot.ts # Godot engine control
│ │ ├── animation.ts # Animation pipeline
│ │ ├── audio.ts # Audio bus management
│ │ ├── scene_inspectors.ts # 2D lights, vehicles, spring arm, etc.
│ │ ├── mesh.ts # 3D mesh primitives
│ │ ├── shader_graph.ts # VisualShader graph editing
│ │ └── ... (16 more files: domain, physics, navigation, joints, etc.)
│ ├── parsers/
│ │ ├── scene_parser.ts # .tscn file parser (sections, nodes, connections)
│ │ ├── resource_parser.ts # .tres file parser
│ │ ├── config_parser.ts # project.godot INI parser
│ │ └── parser_helpers.ts # Shared utilities (quote handling, bracket balancing)
│ ├── transports/
│ │ ├── stdio.ts # Stdio transport (default, for local AI clients)
│ │ └── http-server.ts # SSE + Streamable HTTP transport
│ └── utils/
│ ├── types.ts # TypeScript type definitions
│ ├── file_utils.ts # File system operations with path traversal protection
│ ├── godot_cli.ts # Godot binary detection, process management
│ ├── registry.ts # ToolRegistry class with sorted listing
│ ├── errors.ts # Structured error codes
│ └── cache.ts # TTL-based file cache for parsed documents
├── addons/
│ └── godot-mcp/ # Godot editor plugin
│ ├── plugin.cfg # Plugin metadata
│ └── plugin.gd # stdin reader, TCP server, 102 command handlers
├── test/ # Vitest suite (unit + integration; the integration half needs a live Godot project) + legacy .mjs suites
│ ├── test_all.mjs # Legacy standalone suite (176 tool checks)
│ ├── test_editor.mjs # Legacy editor bridge TCP tests
│ ├── test_runner.mjs # Early integration test runner
│ ├── tools.test.ts # Vitest tool handler tests
│ ├── parsers.test.ts # Vitest parser tests
│ ├── structural.test.ts # Vitest structural tests
│ ├── integration_mcp_test.test.ts # Vitest integration tests
│ ├── server_normalization.test.ts # Vitest parameter-normalization tests
│ ├── scene_format.test.ts # .tscn/.tres on-disk format contract (round-trip, hierarchy, ids)
│ ├── addon_bridges.test.ts # GDScript bridge invariants (reserved names, poll(), return types)
│ ├── editor_error_surface.test.ts # Editor error tagging + undo/redo addon invariants
│ ├── fixtures/ # Test fixture files (.tscn, .tres, .gd)
│ └── test-project/ # Standalone Godot test project
├── scripts/
│ └── sync-addons.js # Post-build: syncs addons to target Godot project
├── package.json
└── tsconfig.jsonImplementation Principles
File-Based Parsing
All Godot file formats (.tscn, .tres, project.godot) are parsed directly in TypeScript using custom parsers. This eliminates the need to launch Godot for file operations, making reads and writes near-instantaneous.
Scene parser (parsers/scene_parser.ts):
Parses all
.tscnsections:[gd_scene],[ext_resource],[sub_resource],[node],[connection]Handles multi-line property values with balanced bracket/quote detection
Builds node hierarchy trees from parent references
Supports round-trip serialization for safe edits
Resource parser (parsers/resource_parser.ts):
Parses
.trestext resources with section-based structureDetects binary
.resfiles viaGDROMmagic header (returns unsupported error)Extracts header, external resources, sub-resources, and main resource properties
Config parser (parsers/config_parser.ts):
Parses INI-style
project.godotand.cfgfilesHandles multi-line values with indentation-based continuation
Preserves comments for round-trip editing
Dual-Mode Editor Bridge
The editor plugin (addons/godot-mcp/plugin.gd) implements 102 command handlers that wrap Godot's EditorInterface API. Communication uses JSON-RPC 2.0 over two channels:
TCP mode (port 9876): When Godot is running independently, the plugin accepts TCP connections on
127.0.0.1only (never the LAN). This is the preferred mode for interactive development. SetGODOT_MCP_TOKEN(or the project settinggodot_mcp/auth_token) to require anauthhandshake per connection.Stdio mode: When the MCP server spawns Godot as a child process (
godot --editor --path <project>), the plugin reads JSON-RPC requests from stdin and writes responses to stdout with a__MCP__:prefix marker. The server filters for these markers to distinguish JSON-RPC from Godot's standard output.
The bridge auto-detects which mode to use: it first attempts a rapid TCP health check (800ms timeout), and falls back to spawning Godot if no existing instance is found. If the spawned process exits unexpectedly, it auto-restarts up to 3 times.
Parameter Normalization
To accommodate AI clients that may use either snake_case or camelCase parameter naming, the server automatically normalizes 30+ common parameter names to the snake_case keys its Zod schemas expect (projectPath -> project_path, scenePath -> scene_path, etc.) before validation. The advertised inputSchema always uses snake_case, so snake_case inputs pass through unchanged.
Safety Guarantees
Path traversal protection: All file operations validate that resolved paths stay within the project root — including symlink escapes (the parent chain is realpath-resolved even when the target does not exist yet) and the
.godot/export_credentials.cfgsigning keys, which no tool may read or writeSandboxed reads from project config: Values inside
project.godotare treated as untrusted input. Alog_pathmay only point inside the project root or the Godot user-data directory, andlist_projectsonly scans the project root and the server's working directory (widen deliberately withGODOT_MCP_SCAN_ROOT)No config injection:
section/key/valuewrites reject line breaks and structural characters, so a value can never add a new section toproject.godot(an injected[autoload]would execute a script)Automatic backups: Write operations on script and scene files create
.bakbackup copiesRead-only mode:
--read-only(orGODOT_MCP_READ_ONLY=true) rejects the 223 write/side-effect tools (write_, create_, delete_, move_, set_, edit_, editor_* mutations, run/export/launch, …) via a maintained whitelist — they are hidden fromtools/listand blocked with aREAD_ONLYerror if called directlyTCP only on loopback: The editor plugin's TCP bridge binds
127.0.0.1only, never the LANHTTP token auth is always on:
/mcpand/sserequire a bearer token. SetGODOT_MCP_TOKENto choose it; when it is unset the server keeps one for you — on first start it generates a token and writes it to<project>/.godot/mcp_http_token(mode0600, and.godot/is already in Godot's.gitignore), then reuses that same token on every later start, so a configured HTTP client keeps working across restarts. With no project root it falls back to~/.godot-mcp/http_token. The token is printed to stderr at startup. Non-loopback HTTP binds still requireGODOT_MCP_TOKENto be set explicitly. The plugin TCP bridge enables itsauthhandshake whenGODOT_MCP_TOKEN(or the project settinggodot_mcp/auth_token) is setUndoable editor mutations: Every scene-changing editor command (
editor_add_node,editor_remove_node,editor_set_node_properties,editor_rename_node,editor_move_node,editor_move_node_3d,editor_reparent_node,editor_duplicate_node,editor_delete_selected,editor_instantiate_scene, …) is committed through Godot's nativeEditorUndoRedoManager, so a single Ctrl+Z (oreditor_undo) reverts what the AI just didStructured errors: Tool failures return structured
{ content, isError: true }responses; privileged paths carry typed error codes (READ_ONLY,EDITOR_NOT_REACHABLE,EDITOR_COMMAND_FAILED,NOT_FOUND, …). Engine-side failures are never reported as success — if the editor rejects a command, the tool surfacesEDITOR_COMMAND_FAILEDwith the engine's own messageClient-visible annotations: every tool advertises MCP
annotations(readOnlyHint,destructiveHint,idempotentHint,openWorldHint) plus a humantitle, derived from the same whitelist read-only mode uses — clients can auto-approve reads and only confirm real writesSelf-healing argument errors: a
VALIDATION_ERRORlists the accepted signature and names each ignored key with a suggestion (path→scene_path,node_type→type), instead of Zod's bareRequiredParameter aliases: the tool schemas grew organically, so the same concept appears as
path,scene_path,file_path,output_path, … Instead of breaking clients, the server accepts the synonyms interchangeably whenever a tool takes exactly one path (add_node(path=…)andcreate_scene(scene_path=…)both work), and refuses to guess when a tool has two different paths (attach_script). Conflicting values for two spellings of the same parameter are rejected rather than silently resolved.tools/listkeeps advertising the canonical key
Transport Modes
Godot MCP supports three transport protocols. Choose based on your client and deployment needs.
Mode | Protocol | Use Case | Default |
Stdio | Standard I/O (stdin/stdout) | Local AI clients (VS Code, Claude Desktop, Cursor, Windsurf) | Yes |
SSE | Server-Sent Events over HTTP | Older MCP clients, web-based clients, remote access | |
Streamable HTTP | MCP 2025 Streamable HTTP | Modern MCP clients, production deployments, remote access |
Stdio (default)
JSON-RPC communication over standard I/O (stdin/stdout). Ideal for local development — no network configuration needed.
npx @yanhuifair/godot-mcp -p /path/to/your/godot/projectSSE (Server-Sent Events)
HTTP-based transport using SSE for server-to-client streaming. Compatible with older MCP clients.
npx @yanhuifair/godot-mcp -t sse --port 3000 -p /path/to/your/godot/projectOption | Description | Default |
| Enable SSE transport mode | — |
| HTTP listen port |
|
| Bind address (use |
|
Client config:
{
"mcpServers": {
"godot-mcp": {
"url": "http://127.0.0.1:3000/sse"
}
}
}Streamable HTTP (MCP 2025)
Modern HTTP transport based on the MCP 2025 spec. Supports session management, reconnection with resume, and both stateful and stateless modes.
npx @yanhuifair/godot-mcp -t streamable-http --port 3000 -p /path/to/your/godot/projectEndpoints:
Method | Path | Purpose |
|
| Establish SSE stream (supports |
|
| Send JSON-RPC requests/notifications |
|
| Close session |
Client config:
{
"mcpServers": {
"godot-mcp": {
"url": "http://127.0.0.1:3000/mcp",
"transportType": "streamable-http"
}
}
}All Transports Simultaneously
npx @yanhuifair/godot-mcp -t all --port 3000 -p /path/to/your/godot/projectStarts: Stdio + SSE (/sse) + Streamable HTTP (/mcp) + Health Check (/health)
curl http://127.0.0.1:3000/health
# {"status":"ok","version":"1.12.18","projectRoot":"/path/to/project","endpoints":{...}}
/healthis deliberately not token-protected so probe tools can use it, but it only echoesprojectRootwhen the request comes from loopback or carries a validGODOT_MCP_TOKEN— a LAN/remote deployment must not leak local paths. Everything else (/mcp,/sse) is always token-gated:GODOT_MCP_TOKENwhen set, otherwise the persisted token in<project>/.godot/mcp_http_token(created on first start).
Installation
Read this first. In normal use you never launch this server yourself — your AI client launches it in the background using the
commandfrom its config file. The commands below are for installing the package and for manual/advanced runs (HTTP transports, debugging, CI).
Where to run these commands: from anywhere — but if you pass
-p ., the.refers to your current directory, so it must be your Godot project root (the folder containingproject.godot). When in doubt, pass an absolute path:-p /full/path/to/project.
Which method should I use?
Method | Best for | Trade-off |
npx (recommended) | Almost everyone | Nothing to install; always fetches the latest version. Tiny delay on first run. |
Global install | Slow/offline networks, pinning a version, using a bare | You must run |
From source | Contributing, or you need an unreleased change | You have to rebuild after every |
Option A — npx (recommended, nothing to pre-install)
npx -y @yanhuifair/godot-mcp -p /path/to/your/godot/projectnpx downloads the package on demand and caches it. This is exactly what the config snippets in AI Client Configuration use, so if you follow the Quick Start there is no separate install step at all — -y just skips the "install this package?" prompt.
Option B — Global install
npm install -g @yanhuifair/godot-mcp@latest
# then run it by name anywhere
godot-mcp -p /path/to/your/godot/projectIf you install globally, change your client config from "command": "npx" to "command": "godot-mcp" and drop the -y and package name from args:
{ "command": "godot-mcp", "args": ["-p", "."] }Update later with npm update -g @yanhuifair/godot-mcp.
Option C — From source
git clone https://github.com/yanhuifair/Godot-MCP.git
cd Godot-MCP
npm install
npm run build # compiles TypeScript into dist/
node dist/index.js -p /path/to/your/godot/projectPoint your client at the built entry file:
{ "command": "node", "args": ["/absolute/path/to/Godot-MCP/dist/index.js", "-p", "."] }Verify your installation
After any install method, confirm everything is in place:
Check | How | Expected |
Server version |
| A version number (e.g. |
Plugin files | Look in |
|
Plugin enabled | Open |
|
Server starts |
| Prints the tool count, e.g. |
Editor bridge | Open the project in Godot | Output log shows |
Install troubleshooting
Symptom | Fix |
| Install Node.js 18+ and make sure it is on your |
| You must run in the project root ( |
Godot still reports an old plugin version | Close Godot, delete |
Plugin loads but tools return | Project → Project Settings → Plugins → make sure Godot MCP is enabled, then reload the project. |
Upgrading to the latest version
npx always fetches the newest release, so the same one-liner that installs also upgrades:
npx -y @yanhuifair/godot-mcp@latest --enable-plugin -p .To refresh the editor plugin (the files in addons/godot-mcp/), delete the old copy first, then re-run — otherwise stale plugin files can linger:
rm -rf addons/godot-mcp && npx -y @yanhuifair/godot-mcp@latest --enable-plugin -p .On Windows PowerShell use
rm -r addons/godot-mcp(no-fflag).
Pin a version —
npx @yanhuifair/godot-mcp@1.12.16 …; force latest —npx @yanhuifair/godot-mcp@latest ….Global install —
npm update -g @yanhuifair/godot-mcp.From source —
git pull && npm run build.Check your version —
npx @yanhuifair/godot-mcp --version.
Upgrading from v1.9.0? That release shipped an editor plugin whose
runtime_bridge.gdfailed to parse in Godot 4.7 (a_inputfunction colliding with the built-inNode._input, plus an untyped_resolve). If your editor logs those parse errors, deleteaddons/godot-mcpand re-run--enable-pluginto install the fixed plugin.
What's new
Version | What changed |
1.12.16 |
|
1.12.15 | Correctness audit gated by the engine itself — smoke now loads every generated asset in real Godot, which caught corrupted gradient / noise / atlas / collision-shape output |
1.12.14 | Synonym parameter aliases ( |
1.12.13 | MCP |
1.12.12 |
|
Full changelog → · All releases
Command-Line Options
Flag | What it does |
| Your Godot project folder — the one containing |
| Path to the Godot executable. Auto-detected if omitted (see the detection order below). |
| Copy the editor plugin into |
| Copy the plugin files only — you enable it yourself in Godot's Plugins tab. |
| Safe mode: rejects the 223 tools that write files or cause side effects. Great for letting an AI explore an unfamiliar project. |
|
|
| HTTP port for |
| HTTP bind address. Default |
| Disable an individual endpoint when running |
| Print all options and sample client configs. |
# a few real examples
npx @yanhuifair/godot-mcp --enable-plugin -p . # one-time setup for a project
npx @yanhuifair/godot-mcp -p . --read-only # let the AI look, not touch
npx @yanhuifair/godot-mcp -p . -t streamable-http --port 8080Environment Variables
Variable | Description |
| Path to Godot binary (optional, auto-detected) |
|
|
| Auth token. HTTP: |
| Path to test project for integration tests |
| Target project for the |
|
|
Godot auto-detection order: GODOT_PATH -> /Applications/Godot.app -> PATH -> snap/flatpak -> Windows Program Files
Security note: The MCP server can read/write your project files, run GDScript, and export builds. When using HTTP transports, always set
GODOT_MCP_TOKEN— the server refuses to bind a non-loopback address without it, and loopback-only access is strongly recommended anyway.
AI Client Configuration
Godot MCP is a plain stdio MCP server — anything that speaks MCP can drive it. Below are step-by-step setups for the most popular AI agents, IDEs and CLIs.
In a hurry? Nearly every client wants the same six lines of JSON. Copy the universal snippet, drop it into the file listed for your client, restart, then ask the AI to run
get_status. Done.
Pick Your Client
Client | Where the config lives | Top-level key |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
AI panel → MCP (UI) |
| |
|
| |
Settings → AI Assistant → MCP |
| |
|
| |
|
| |
|
| |
Settings → MCP servers (UI) |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
— | see below |
The Universal Snippet
This is the config ~80% of clients accept verbatim:
{
"mcpServers": {
"godot-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@yanhuifair/godot-mcp", "-p", "."]
}
}
}What each part means:
Field | Why it's there |
| The name your AI will see. Rename it freely — nothing depends on it. |
| The server runs as a local child process. Some clients omit this field entirely; both are fine. |
| On Windows, if you hit |
| Skips npx's "install this package?" prompt. Without it the server hangs on first run. |
| Your Godot project folder. |
When to use . and when to use a full path:
Editors that open a folder (VS Code, Cursor, Windsurf, Zed, Trae, JetBrains) launch the server inside that folder →
"."works, and the config stays portable across machines.Desktop apps and global CLIs (Claude Desktop, Cherry Studio, a user-scope Claude Code entry) have no project folder → use an absolute path like
"/Users/you/Games/MyGame"or"C:/Users/you/Games/MyGame".Windows: always use forward slashes (
C:/Users/...) or escaped backslashes (C:\\Users\\...) in JSON.
Two useful variants:
// Read-only — the AI can inspect everything but cannot modify a single file
"args": ["-y", "@yanhuifair/godot-mcp", "-p", ".", "--read-only"]
// Pin the Godot binary when auto-detection fails
"env": { "GODOT_PATH": "/Applications/Godot.app/Contents/MacOS/Godot" }Claude Code
1. Register the server. Run this from inside your Godot project folder:
cd /path/to/your/godot/project
claude mcp add godot-mcp -- npx -y @yanhuifair/godot-mcp -p .Everything after -- is the command Claude Code will spawn. The -- separator is required — without it Claude Code eats the -y and -p flags as its own.
2. Pick a scope (optional — the default is fine for one project):
Command | Stored in | Who gets it |
|
| Just you, just this project |
|
| Everyone who clones the repo — commit this |
|
| You, in every project (use an absolute |
Adding an environment variable:
claude mcp add godot-mcp -e GODOT_PATH=/Applications/Godot.app/Contents/MacOS/Godot \
-- npx -y @yanhuifair/godot-mcp -p .3. Verify. Start claude, then type /mcp. You should see godot-mcp with a connected status. Press Enter on it to browse the 386 tools.
4. First prompt:
Run
get_statusand tell me what the Godot MCP server can currently reach, then list every scene in the project.
Managing it later:
claude mcp list # all registered servers + connection status
claude mcp get godot-mcp # full details of one server
claude mcp remove godot-mcp # unregisterIf you used
-s project, Claude Code will ask you to approve.mcp.jsonthe first time you open the project. That's a security prompt, not an error — answer yes.
Cursor
1. Create the config. Project-level is best — it travels with the repo:
.cursor/mcp.json in your Godot project root:
{
"mcpServers": {
"godot-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@yanhuifair/godot-mcp", "-p", "."]
}
}
}Prefer it everywhere? Use ~/.cursor/mcp.json (Windows: %USERPROFILE%\.cursor\mcp.json) with an absolute -p path instead.
You can also let Cursor create the file for you: Settings → Tools & Integrations → Add Custom MCP.
2. Verify. Open Cursor Settings → Tools & Integrations. godot-mcp should appear with a green dot and a tool count. Cursor hot-reloads this file, so no restart is needed — if the dot is red, click the refresh icon and check the JSON for a trailing comma.
3. Switch the chat to Agent mode (Cmd/Ctrl+I). Ask mode cannot call tools.
4. First prompt:
Use
search_toolsto find the tileset tools, then tell me which TileSets exist in this project.
Tool limit warning: Cursor only sends ~40–80 tools to the model at a time. Godot MCP ships 386. Keep
search_toolsin your rules file (see Make Your Agent Use the Tools Well) so the model looks a tool up instead of hallucinating one.
VS Code / GitHub Copilot
1. Create .vscode/mcp.json in your Godot project root. Note that VS Code's own key is servers, not mcpServers:
{
"servers": {
"godot-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@yanhuifair/godot-mcp", "-p", "."]
}
}
}Shortcut: run MCP: Add Server… from the Command Palette (Cmd/Ctrl+Shift+P) and pick Command (stdio) — VS Code writes the file for you.
2. Start it. VS Code shows a small Start codelens directly above the "godot-mcp" line in the JSON. Click it. (Or run MCP: List Servers → godot-mcp → Start Server.)
3. Switch Copilot Chat to Agent mode. Open Chat (Cmd/Ctrl+Shift+I), then choose Agent in the mode dropdown. Ask and Edit modes don't call MCP tools.
4. Verify. Click the tools icon (🛠) in the chat input — godot-mcp should be listed. If you see "0 tools", run MCP: List Servers → godot-mcp → Show Output to read the startup log.
5. First prompt:
#godot-mcp Run get_status, then list all scenes.
Team tip: commit
.vscode/mcp.json. Everyone who clones the repo gets the server automatically — VS Code just asks each person to trust it once.User-level instead: Command Palette →
MCP: Open User Configuration, and use an absolute-ppath.
Codex CLI (OpenAI)
1. Add the server with the built-in command (writes ~/.codex/config.toml for you):
codex mcp add godot-mcp -- npx -y @yanhuifair/godot-mcp -p .Or edit ~/.codex/config.toml by hand — note this is TOML, not JSON:
[mcp_servers.godot-mcp]
command = "npx"
args = ["-y", "@yanhuifair/godot-mcp", "-p", "."]
startup_timeout_sec = 30
[mcp_servers.godot-mcp.env]
GODOT_PATH = "/Applications/Godot.app/Contents/MacOS/Godot"startup_timeout_sec matters here: npx may need to download the package on the very first run, which can exceed Codex's default startup window.
2. Verify:
codex mcp list3. Use it — always launch Codex from inside the Godot project so -p . resolves correctly:
cd /path/to/your/godot/project
codex # interactive
codex exec "Run get_status and list all scenes" # one-shotGemini CLI (Google)
1. Add the server:
cd /path/to/your/godot/project
gemini mcp add godot-mcp npx -y @yanhuifair/godot-mcp -p .Default scope is project → written to .gemini/settings.json. Add -s user to write ~/.gemini/settings.json instead (then use an absolute -p path).
Equivalent hand-written config:
{
"mcpServers": {
"godot-mcp": {
"command": "npx",
"args": ["-y", "@yanhuifair/godot-mcp", "-p", "."],
"timeout": 600000,
"trust": false
}
}
}trust: trueskips the per-call confirmation prompt. Convenient, but it also means the AI can write files without asking — pair it with--read-onlyif you want a safety net.includeTools/excludeToolsaccept arrays of tool names if you want to hand the model a curated subset instead of all 386.
2. Verify. Run gemini, then /mcp — it lists connected servers and their tools. gemini mcp list works outside a session.
3. First prompt:
Call get_status, then use search_tools to find animation-related tools.
Windsurf
1. Open the config. Either click Cascade → the hammer icon → Configure, or edit the file directly:
macOS/Linux:
~/.codeium/windsurf/mcp_config.jsonWindows:
%USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"godot-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@yanhuifair/godot-mcp", "-p", "/path/to/your/godot/project"]
}
}
}This file is global, so give it an absolute project path.
2. Refresh. Back in Cascade, click the hammer icon → Refresh. godot-mcp should turn green.
3. First prompt (Cascade is Cmd/Ctrl+L):
Run get_status, then read the main scene.
Cline (VS Code Extension)
1. Open Cline's MCP settings — don't hunt for the file, use the UI: click the Cline icon in the sidebar → MCP Servers (the server rack icon at the top) → Installed tab → Configure MCP Servers. That opens cline_mcp_settings.json.
macOS:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonWindows:
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.jsonLinux:
~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
2. Add the entry:
{
"mcpServers": {
"godot-mcp": {
"command": "npx",
"args": ["-y", "@yanhuifair/godot-mcp", "-p", "/path/to/your/godot/project"],
"disabled": false,
"autoApprove": []
}
}
}autoApprove takes tool names that should run without a confirmation click — e.g. ["get_status", "search_tools", "list_scenes"] for read-only convenience.
3. Restart. Cline usually reloads on save; if not, click Restart Server next to godot-mcp in the MCP Servers panel. Wait for the dot to go green.
4. First prompt in Plan or Act mode:
Run get_status and summarize this Godot project's structure.
Roo Code (VS Code Extension)
Roo Code supports both a project file and a global file — the project file wins on conflicts.
1a. Project-level (recommended): create .roo/mcp.json in your Godot project root:
{
"mcpServers": {
"godot-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@yanhuifair/godot-mcp", "-p", "."]
}
}
}1b. Global: Roo Code panel → MCP icon → Edit Global MCP (file lives at …/globalStorage/rooveterinaryinc.roo-cline/settings/mcp_settings.json). Use an absolute -p path there.
2. Enable it. In the Roo Code MCP panel, make sure the godot-mcp toggle is on and the status dot is green. Hit the refresh icon if it isn't.
3. First prompt:
Use search_tools to find shader tools, then list every .gdshader file.
Trae
Trae has two steps most people miss: adding the server and attaching it to an agent.
1. Add the server. Open the AI side panel → Settings (gear) → MCP → Add → Add manually (or Import from JSON), then paste:
{
"mcpServers": {
"godot-mcp": {
"command": "npx",
"args": ["-y", "@yanhuifair/godot-mcp", "-p", "."]
}
}
}Wait for the status to become Connected/available before continuing.
2. Attach it to an agent. This is the step that trips people up — Trae agents only see MCP servers you explicitly grant them. Go to Agents → create or edit an agent → Tools → tick godot-mcp, then save.
3. Select that agent in the chat's agent dropdown.
4. First prompt:
Run get_status, then list all scenes in this project.
If the tools never fire, check MCP → godot-mcp → View logs — Trae surfaces the raw stdio startup output there.
Zed
1. Add a local server. Either use the UI — Settings → AI → MCP Servers → Add Server → Add Local Server — or run zed: open settings file from the Command Palette and add:
{
"context_servers": {
"godot-mcp": {
"command": "npx",
"args": ["-y", "@yanhuifair/godot-mcp", "-p", "."],
"env": {}
}
}
}Zed calls MCP servers context servers — the key is context_servers, not mcpServers. Everything else is the same.
2. Verify. Go back to Settings → AI → MCP Servers. The dot next to godot-mcp should be green with the tooltip "Server is active".
3. First prompt in the Agent Panel:
Use the godot-mcp tools: run get_status, then list the scenes.
Mentioning the server by name meaningfully improves tool-selection accuracy in Zed. For guaranteed usage, create an agent profile that turns off the built-in tools and leaves only
godot-mcpon.
JetBrains IDEs (Rider, IntelliJ, GoLand…)
Relevant if you write C# in Rider against a Godot project. Requires a 2025.1+ IDE with the AI Assistant plugin (Junie shares the same MCP config).
1. Open Settings/Preferences → Tools → AI Assistant → Model Context Protocol (MCP).
2. Click +, switch the dialog to As JSON, and paste:
{
"mcpServers": {
"godot-mcp": {
"command": "npx",
"args": ["-y", "@yanhuifair/godot-mcp", "-p", "."]
}
}
}If your IDE launches processes without your shell's PATH, replace "npx" with the absolute path (which npx / where npx).
3. Apply, then wait for the row to report a tool count instead of an error.
4. Use it in the AI Assistant chat with Codebase/Agent mode enabled — plain chat mode does not call tools.
OpenCode
1. Create opencode.json in your project root (or ~/.config/opencode/opencode.json for all projects):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"godot-mcp": {
"type": "local",
"command": ["npx", "-y", "@yanhuifair/godot-mcp", "-p", "."],
"enabled": true,
"timeout": 30000
}
}
}Two OpenCode-specific gotchas:
commandis a single array, notcommand+args.The default tool-discovery
timeoutis 5000 ms. Listing 386 tools plus a coldnpxdownload regularly blows past that — bump it to30000as shown or the server will silently show zero tools.
2. Verify. Start opencode in that folder. The MCP server appears at startup; tools are namespaced godot-mcp_*.
3. First prompt:
use godot-mcp to run get_status and list all scenes
Claude Desktop
1. Edit the config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Easier route: Settings → Developer → Edit Config opens the file directly.
{
"mcpServers": {
"godot-mcp": {
"command": "npx",
"args": ["-y", "@yanhuifair/godot-mcp", "-p", "/path/to/your/godot/project"]
}
}
}Claude Desktop has no project folder, so the absolute path is mandatory.
2. Fully quit and relaunch. Not "close the window" — quit the app (Cmd+Q / tray → Exit). Claude Desktop reads this file only at startup.
3. Verify. A tools icon appears in the chat input showing the tool count. If it's missing, check the log: ~/Library/Logs/Claude/mcp-server-godot-mcp.log (macOS) or %APPDATA%\Claude\logs\ (Windows).
4. First prompt:
Get the Godot version and list all scenes in my project.
Continue
Continue (VS Code + JetBrains) reads ~/.continue/config.yaml:
mcpServers:
- name: godot-mcp
command: npx
args:
- "-y"
- "@yanhuifair/godot-mcp"
- "-p"
- "/path/to/your/godot/project"Older Continue installs use ~/.continue/config.json with a mcpServers array instead — check which file exists before editing. Save, then reopen the Continue panel; tools are discovered automatically. MCP tools only fire in Agent mode.
Cherry Studio
Popular cross-platform desktop MCP client, fully GUI-driven.
Settings → MCP Servers → Add Server → Quick create.
Name:
godot-mcp· Type: STDIO · Command:npxArguments — one per line, not space-separated:
-y @yanhuifair/godot-mcp -p /path/to/your/godot/projectSave and toggle the server on. A green indicator plus a tool count means it's live.
In a chat, enable the MCP server via the toolbox icon under the input box, then ask it to run
get_status.
Import from JSON also works — paste the universal snippet with an absolute
-ppath.
Goose
Interactive (recommended):
goose configure
# → Add Extension → Command-line Extension
# Name: godot-mcp
# Command: npx -y @yanhuifair/godot-mcp -p /path/to/your/godot/project
# Timeout: 300Or edit ~/.config/goose/config.yaml directly:
extensions:
godot-mcp:
name: godot-mcp
type: stdio
cmd: npx
args:
- "-y"
- "@yanhuifair/godot-mcp"
- "-p"
- "/path/to/your/godot/project"
enabled: true
timeout: 300Goose calls MCP servers extensions and uses cmd, not command. Restart Goose, then run /mcp to confirm the connection.
Aider
Aider's MCP support is version-dependent — run aider --help | grep -i mcp first to see which flags your build has.
# Point Aider at a standard MCP JSON file
aider --mcp-servers-file ./mcp.json
# Or inline
aider --mcp-servers '{"mcpServers":{"godot-mcp":{"command":"npx","args":["-y","@yanhuifair/godot-mcp","-p","."]}}}'./mcp.json is just the universal snippet. Persist it in .aider.conf.yml:
mcp-servers-file: ./mcp.jsonHermes
1. Add via CLI:
hermes mcp add godot-mcp --command "npx" --args "-y" "@yanhuifair/godot-mcp" "-p" "/path/to/your/godot/project"Or edit ~/.hermes/config.yaml directly:
mcp_servers:
godot-mcp:
command: "npx"
args: ["-y", "@yanhuifair/godot-mcp", "-p", "/path/to/your/godot/project"]2. Reload and verify. In a session run /reload-mcp, then hermes mcp list / hermes mcp test godot-mcp. Tools appear prefixed mcp_godot-mcp_*.
OpenClaw
1. Add the server (CLI, or Control UI → Settings → MCP → Add server):
openclaw mcp add godot-mcp \
--command npx \
--arg "-y" --arg "@yanhuifair/godot-mcp" --arg "-p" --arg "/path/to/your/godot/project" \
--cwd /path/to/your/godot/projectOr write it directly into ~/.openclaw/openclaw.json:
{
"mcp": {
"servers": {
"godot-mcp": {
"command": "npx",
"args": ["-y", "@yanhuifair/godot-mcp", "-p", "."],
"cwd": "/path/to/your/godot/project",
"enabled": true
}
}
}
}2. Verify the connection — a saved definition proves nothing:
openclaw mcp doctor godot-mcp --probeRestart the Gateway / agent (or openclaw mcp reload) so it picks up the new definition.
Reasonix
1. Add a [[plugins]] entry in reasonix.toml (project) or ~/.reasonix/config.toml (global):
[[plugins]]
name = "godot-mcp"
command = "npx"
args = ["-y", "@yanhuifair/godot-mcp", "-p", "."]2. Restart Reasonix and ask it to call get_status — the godot-mcp_* tools appear in its tool list.
WorkBuddy / CodeBuddy
1. Add a custom MCP connector. Open the Connectors panel → Custom (top-right), and add a server with:
command: npx
args: -y @yanhuifair/godot-mcp -p /path/to/your/godot/projectThis saves to ~/.workbuddy/mcp.json under mcpServers:
{
"mcpServers": {
"godot-mcp": {
"command": "npx",
"args": ["-y", "@yanhuifair/godot-mcp", "-p", "."]
}
}
}2. Trust it. WorkBuddy keeps a new server inactive until you open it in the connectors list and click Trust. Then start a new session.
3. Verify. Ask:
use godot-mcp to run get_status and list all scenes
Any Other MCP Client
If your client accepts a local command, give it:
command: npx
args: -y @yanhuifair/godot-mcp -p /path/to/your/godot/projectIf your client only accepts a URL (n8n, Dify, browser-based agents, hosted connectors), run the server yourself and point the client at the HTTP endpoint:
export GODOT_MCP_TOKEN="$(openssl rand -hex 32)" # required for non-loopback binds
npx -y @yanhuifair/godot-mcp -p /path/to/your/godot/project -t all --port 3000Endpoint | URL |
Streamable HTTP (MCP 2025) |
|
SSE (legacy clients) |
|
Health check |
|
See Transport Modes for the full details.
Make Your Agent Use the Tools Well
386 tools is more than most models can keep straight, and many clients only forward a slice of them to the model. Two minutes of setup fixes this.
1. Drop a rules file in your project. Agents auto-read these: AGENTS.md (Codex, OpenCode, Cursor, Gemini CLI, Zed), CLAUDE.md (Claude Code), .cursor/rules/*.mdc (Cursor), .clinerules (Cline / Roo Code), .github/copilot-instructions.md (Copilot).
## Godot MCP
This project has the `godot-mcp` server attached (386 tools).
- Never guess a tool name. Call `search_tools` with a keyword first —
e.g. search_tools("tileset"), search_tools("animation"), search_tools("navmesh").
- On `EDITOR_NOT_REACHABLE` or `RUNTIME_NOT_REACHABLE`, call `get_status`
and tell me what's missing instead of retrying blindly.
- On `EDITOR_COMMAND_FAILED`, the editor rejected the command — read the
engine message, verify the node path / property with `editor_get_scene_tree`
or `get_class_properties`, then retry. Do not repeat the same call.
- Every `editor_*` scene change is undoable — if I say "undo that",
call `editor_undo` rather than trying to reconstruct the old state.
- Prefer the file tools (read_scene, write_script, create_resource…).
They work with Godot closed and are the fastest path.
- Use `editor_*` tools only when the change must show up in a live editor.
- Use `runtime_*` tools only after the game is actually running (F5).
- Always `read_scene` before `add_node` so the parent NodePath is correct.
- Read a script before rewriting it; never blank a file you haven't read.2. Let it look before it touches. For a first run on an unfamiliar project, add --read-only to args. The server then rejects every write tool at the boundary, so no amount of enthusiasm from the model can damage your project.
3. Two prompts worth memorizing:
get_status— what is currently reachable (editor? running game?) and how many tools are loaded.search_tools("<keyword>")— the right tool name, ranked, without burning context on a 386-item list.
Troubleshooting
Symptom | Cause & fix |
No tools show up at all | The client is in Ask/Chat mode. Switch to Agent mode — most clients don't call tools otherwise. |
Server "fails to start", no error | JSON syntax. A trailing comma or a smart quote from a copy-paste is the usual culprit — validate the file. |
| Change |
| The app launched without your shell |
Server times out on first launch |
|
|
|
Connected, but 0 tools | Tool-discovery timeout too low (notably OpenCode's 5 s default). Raise it to 30 s. |
File tools work, | The editor plugin isn't running. Run |
| The game isn't running, or the runtime autoload isn't registered. See Tool Discovery & Live Game Runtime. |
Godot can't be found | Set |
Model picks the wrong tool | Add the rules file above, and tell it to call |
Node.js too old |
|
Usage Examples
The following examples show what you can ask your AI assistant. Each maps to one or more MCP tools (shown in parentheses).
Project Exploration
Command | Tools Used |
"Show me the project structure" |
|
"Generate a project overview report" |
|
"What autoloads are configured?" |
|
"Check my project for broken references" |
|
"Find unused assets I should clean up" |
|
Scene Creation and Editing
Command | Tools Used |
"Create a 2D platformer scene with a CharacterBody2D root" |
|
"Add a Cooldown Timer node under the Player" |
|
"Clone the Enemy node as Enemy2" |
|
"Connect body_entered signal from Player to _on_body_entered" |
|
"Set the Player collision shape to CapsuleShape2D" |
|
"Load the player.png texture onto the Sprite" |
|
"Search all scenes for Timer nodes" |
|
"List all Button and Label nodes" |
|
Script and Shader
Command | Tools Used |
"Analyze the structure of player.gd" |
|
"Add a dash method to the Player script" |
|
"Search all scripts for references to 'velocity'" |
|
"Validate all GDScripts for syntax errors" |
|
"Create a new spatial shader with vertex displacement" |
|
"Validate and compile the hurricane shader" |
|
Materials and Resources
Command | Tools Used |
"Create a metallic PBR material with roughness 0.3" |
|
"List all materials grouped by type" |
|
"Change the albedo color of player_material" |
|
"Show me all .tres files in the project" |
|
Animation
Command | Tools Used |
"Show all player animations with their keyframes" |
|
"Add a position track to the idle animation" |
|
"Set a keyframe at 0.5s with value Vector2(100, 0)" |
|
"Show the AnimationTree state machine" |
|
Audio
Command | Tools Used |
"Show the audio bus layout" |
|
"Add a reverb effect to the Master bus" |
|
"Set the SFX bus volume to -6 dB" |
|
"List all .wav and .ogg files" |
|
Run, Debug, and Export
Command | Tools Used |
"Run the game at 1280x720 and take a screenshot" |
|
"Set a breakpoint at player.gd line 42" |
|
"Step through the debugger and show local variables" |
|
"Stop the running game" |
|
"Export the project for macOS" |
|
Worked Walkthroughs
The tables above are the building blocks; here are two complete sessions showing how the tools compose.
Walkthrough 1 — Build a player scene from scratch (no Godot needed for the file work)
1. "Create a 2D scene saved as player.tscn with a CharacterBody2D root named Player"
→ create_scene
2. "Add a CollisionShape2D with a CapsuleShape2D sized to the sprite, and a
Sprite2D loading textures/player.png" → add_node, set_collision_shape, load_sprite
3. "Create scripts/player.gd with _physics_process reading ui_left/ui_right/
ui_up/ui_down and moving at 300 px/s, then attach it to Player" → create_script, attach_script
4. "Instance Player into main.tscn at (100, 200)" → add_node (instance)
5. "Run the current scene" → editor_play_current_sceneEvery step is a real file/editor mutation — run editor_undo or press Ctrl+Z in Godot to step back through any of them.
Walkthrough 2 — Freeze and inspect the running game
1. "Run the game" → run_project / editor_play_current_scene
2. "Freeze it" → runtime_freeze
3. "Show the Player node's position, velocity, and is_on_floor()" → runtime_get_node + runtime_call_method
4. "Step one frame and show position again" → runtime_step + runtime_get_node
5. "Resume" → runtime_resumeThis is the fastest way to answer "what was the player actually doing at that exact frame?" — freeze, inspect, step, repeat.
Editor Plugin
The editor plugin enables real-time interaction with the Godot editor through two modes:
stdio mode — when MCP spawns Godot as a child process (JSON-RPC 2.0 over stdin/stdout)
TCP mode — when Godot is opened manually, the plugin listens on
127.0.0.1:9876(loopback only). IfGODOT_MCP_TOKENor the project settinggodot_mcp/auth_tokenis set, every connection must complete anauthhandshake first. The port can be changed via thegodot_mcp/editor_portproject setting.
Install
npx @yanhuifair/godot-mcp --enable-plugin -p /path/to/your/godot/projectThis installs the plugin to addons/godot-mcp/ and auto-enables it in project.godot. No manual steps required.
Editor Tools (140 tools)
These are the MCP-side tools. The plugin implements 115 bridge commands; a few tools are thin wrappers over one command (e.g.
editor_set_camera_param→set_node_properties).
View & Selection: editor_get_selection editor_set_selection editor_get_open_scene editor_read_current_scene editor_get_info editor_get_rect editor_focus editor_show_in_filesystem editor_open_dock
Playback Control: editor_play editor_stop editor_run_specific_scene editor_get_running_scene_tree editor_get_performance
Edit Operations: editor_undo editor_redo editor_save editor_save_all editor_reload_scene editor_delete_selected
Scene Operations: editor_create_scene editor_instantiate_scene editor_set_main_scene editor_get_scene_changes
Node Operations: editor_add_node editor_remove_node editor_duplicate_node editor_rename_node editor_reparent_node editor_move_node editor_get_node_properties editor_set_node_properties
Scripting: editor_create_script editor_attach_script editor_run_gdscript editor_evaluate_expression
Debugging: editor_set_breakpoint editor_remove_breakpoint editor_get_breakpoints editor_debug_continue editor_debug_step editor_debug_step_over editor_debug_break editor_get_stack_trace editor_get_debug_variables
Signals: editor_connect_signal editor_disconnect_signal editor_list_node_signals
File System: editor_open_asset editor_list_filesystem editor_create_folder editor_delete_asset editor_rename_asset editor_move_asset editor_duplicate_asset editor_reimport_asset editor_get_dependencies
Project Settings: editor_get_project_setting editor_set_project_setting editor_get_editor_setting editor_set_editor_setting editor_get_project_directory
Input & Autoloads: editor_get_input_map editor_add_input_action editor_remove_input_action editor_get_autoloads editor_add_autoload editor_remove_autoload
Assets & Baking: editor_bake_lightmaps editor_bake_navigation editor_take_screenshot
Class Documentation: editor_get_class_list editor_get_method_list editor_get_class_properties editor_get_class_signals editor_get_class_doc editor_search_help
Camera & Viewport: editor_get_camera editor_set_camera editor_toggle_grid editor_toggle_snap
Other: editor_get_recent_scenes editor_simulate_key editor_get_plugin_list editor_enable_plugin editor_disable_plugin editor_get_errors editor_clear_errors editor_health_check
Tool Discovery & Live Game Runtime
Most MCP servers can only touch the editor. Godot MCP can also drive the game you are actually playing — a tier no other public Godot MCP offers. This enables AI-driven playtesting, runtime-state debugging, automated gameplay verification, and live screenshots.
Enable the Runtime Autoload
The runtime bridge is a separate, lightweight autoload — it does not modify the editor plugin. Add it once per project:
Make sure the editor plugin is installed (
npx @yanhuifair/godot-mcp --enable-plugin -p .). The runtime bridge script ships inside the sameaddons/godot-mcp/folder.In the Godot editor, open Project → Project Settings → Globals → Autoload.
Add
addons/godot-mcp/runtime_bridge.gdwith the autoload namegodot_mcp_runtimeand enable it.Run the game from the editor (F5). The autoload prints
[godot-mcp-runtime] Listening on 127.0.0.1:9877to the output log.
Security: the bridge binds
127.0.0.1only — it is never reachable from the LAN. It runs withprocess_mode = PROCESS_MODE_ALWAYS, so pausing the game (viaruntime_freezeor the editor) does not stop the bridge from receiving commands.It also refuses to start in an exported build. The bridge can call arbitrary methods on any node, so shipping it would be a backdoor. It only listens when
OS.has_feature("editor")is true — i.e. when the game is run from the editor. If you forget to remove the autoload before exporting, it stays dormant instead of opening a port. To drive an exported build in CI, setGODOT_MCP_RUNTIME=1in the environment.
Runtime Tools (11)
Tool | Description |
| Check if the live-game runtime bridge is reachable. |
| Read the running game scene tree (live, inside the played game). |
| Read live properties of a node in the running game. |
| Set properties on a node in the running game (live mutation). |
| Call a method on a node in the running game. |
| Emit a signal on a node in the running game. |
| Inject a key input event into the running game (keycode + press/release). |
| Pause (freeze) the running game. |
| Resume (unpause) the running game. |
| Advance the running game by N frames deterministically while paused (frame stepping). |
| Capture a screenshot of the running game viewport. |
Example workflow
"Run the game, freeze it, then step 5 frames and screenshot"
→ runtime_ping → runtime_freeze → runtime_step { frames: 5 } → runtime_screenshot
"Set the Player's health to 0 and emit died"
→ runtime_set_node { path: "Player", properties: { "health": "0" } }
→ runtime_emit_signal { path: "Player", signal: "died" }If the runtime tools return a RUNTIME_NOT_REACHABLE error, run get_status — it reports whether the autoload is reachable and how to enable it.
Tool Discovery & Diagnostics (Meta, 2 tools)
With 386 tools, guessing the right name wastes tokens. Two discovery tools help:
Tool | Description |
| Search all tools by keyword/description to discover the right tool name. AND-combines space-separated words; name matches rank higher. |
| System status / diagnostics: editor bridge, live-game runtime bridge, and tool count. Use to debug connection issues. |
"Find tools that deal with collision shapes" → search_tools { keyword: "collision shape" }
"What subsystems are available right now?" → get_statusAll Tools
Click each category to expand and see all tools with descriptions.
Tool | Description |
| Get selected nodes in editor. |
| Select node in editor. |
| Get currently open scene path. |
| Read live editor scene tree. |
| Get editor status info. |
| Get editor window dimensions. |
| Bring the Godot editor window to the foreground. |
| Reveal a file in the FileSystem dock. |
| Open a dock: filesystem, inspector, scene, output. |
| Play project from editor. |
| Stop playing in editor. |
| Run a specific scene (not just main). |
| Get the live scene tree while the game is running. |
| Get FPS, draw calls, memory usage while game is running. |
| Undo the last scene action (including every MCP scene mutation) and report which action was undone. |
| Redo the last undone scene action and report which action was redone. |
| Save current scene in editor. |
| Save all open scenes. |
| Save and reload current scene. |
| Delete currently selected nodes. |
| Create and open a new scene in the editor. |
| Instantiate a PackedScene into the current scene. |
| Set the project main scene. |
| Check unsaved changes plus the last action name and whether undo/redo are available. |
| Add a node to the currently open scene in editor. |
| Remove a node from the currently open scene. |
| Duplicate a node with children, scripts, and signals. |
| Rename a node in the editor. |
| Move a node to a new parent. |
| Move a 2D/3D node to a new position. |
| Read all editor-visible properties of a node. |
| Set multiple properties on a node at once. |
| Create and open a new GDScript in the editor. |
| Attach a script to a node in the editor. |
| Execute arbitrary GDScript code in editor context. |
| Evaluate a GDScript expression in debugger/editor context. |
| Set a breakpoint in a script. |
| Remove a breakpoint from a script. |
| List all breakpoints. |
| Resume execution in debugger. |
| Step into next line in debugger. |
| Step over current line in debugger. |
| Stop execution (break) in debugger. |
| Get current call stack from debugger. |
| Get local variables from debugger. |
| Connect a signal between nodes in the editor. |
| Disconnect a signal between nodes. |
| List signals and their connections on a node. |
| Open an asset in editor. |
| List files and directories in the editor filesystem. |
| Create a directory in the project via editor filesystem. |
| Delete a file or folder via editor. |
| Rename a file via editor filesystem. |
| Move a file to a new location via editor. |
| Duplicate a file via editor filesystem. |
| Force reimport of an asset. |
| Get all resource dependencies for a file. |
| Read a project setting via editor API. |
| Set a project setting via editor API (auto-saves). |
| Read an editor preference value. |
| Set an editor preference. |
| Get project res:// and user:// paths. |
| Read the Input Map via editor API. |
| Add an input action via editor API. |
| Remove an input action via editor API. |
| List autoload singletons via editor API. |
| Add an autoload singleton via editor API. |
| Remove an autoload singleton via editor API. |
| Trigger lightmap baking. |
| Bake navigation meshes for all NavigationRegion nodes in current scene. |
| Capture the editor viewport as a PNG. |
| List all Godot classes, optionally filtered. |
| List all methods of a Godot class. |
| List all editor-visible properties of a class. |
| List all signals of a Godot class. |
| Open Godot documentation for a class in browser. |
| Search Godot documentation in browser. |
| Get the 3D editor viewport camera position. |
| Set the 3D editor viewport camera position. |
| Toggle 3D grid visibility. |
| Toggle 3D snap mode. |
| List recently opened scene paths. |
| Simulate a key press in the editor (e.g. F5 to run, Ctrl+S to save). |
| List all installed editor plugins with enabled state. |
| Enable a named editor plugin. |
| Disable a named editor plugin. |
| Get current editor error/log list. |
| Clear the editor error list. |
| Check if the Godot editor plugin is reachable. |
Tool | Description |
| Read a .tscn scene file. |
| Create a new scene from template. |
| Apply batch operations to a scene. |
| List all .tscn scene files. |
| Full-text search in .tscn content. |
| Analyze inter-scene dependencies. |
| Add a node to a scene. |
| Remove a node from a scene. |
| Modify node properties or rename. |
| Deep-clone a node in a scene. |
| Rename a node in a scene. |
| Attach a script to a node. |
| Connect a signal between nodes. |
| Disconnect a signal. |
| Set node position (2D/3D auto-detect). |
| Set node rotation (2D/3D). |
| Set node scale (2D/3D). |
| Apply a transform to a node. |
| Set collision shape for CollisionShape node. |
| Load a texture onto a Sprite2D node. |
| List Control-derived UI nodes. |
| Search nodes across scenes by type/property. |
Tool | Description |
| List files and directories in the Godot project. |
| Read and parse project.godot. |
| Write a config value to project.godot. |
| Read export presets from export_presets.cfg. |
| Create an export preset in export_presets.cfg (Windows Desktop/Linux/macOS/Android/iOS/Web). |
| Update fields/options of an existing export preset (by name or index). |
| Remove an export preset and renumber the remaining ones. |
| Read input map with key bindings. |
| Create a new input action. |
| Remove an input action. |
| Add key/mouse/joypad binding to action. |
| List all autoload singletons. |
| Add an autoload entry. |
| Remove an autoload entry. |
| Search for text across project files. |
| Delete a file with .bak backup. |
| Move/rename a file within project. |
| Create a directory in project. |
| Duplicate a scene file. |
| Duplicate a .tres resource. |
| Generate comprehensive project overview. |
| Find orphaned project files. |
| Validate project for broken refs, empty UIDs. |
| List all node groups across scenes. |
Tool | Description |
| Read a script file with line numbers. |
| Write content to a script file. |
| Create a new script from template. |
| List all script files grouped by type. |
| Analyze GDScript structure. |
| Search in scripts with function context. |
| Validate GDScript for common issues. |
| Append a function to GDScript. |
| Add a signal declaration to GDScript. |
| Add @export variable to GDScript. |
| Read a .gdshader file. |
| Create a new .gdshader from template. |
| List all .gdshader files. |
| Write content to a .gdshader. |
| Validate .gdshader for syntax issues. |
| Compile (reimport) a .gdshader via Godot editor. |
| List VisualShader graph files. |
| Read a VisualShader graph. |
| Read a .gdshaderinc file. |
| Create a .gdshaderinc file. |
| List all .gdshaderinc files. |
Tool | Description |
| List AnimationPlayers and animations. |
| Read animation tracks and keyframes. |
| Create Animation .tres resource. |
| Set animation parameter. |
| Add animation library to player. |
| Add track to animation. |
| Set keyframe on track. |
| Remove track from animation. |
| Read AnimationTree with state machine. |
| Set AnimationTree parameter. |
Tool | Description |
| Detect installed Godot version. |
| Launch Godot editor with project. |
| Run the Godot project. |
| Stop all running Godot processes. |
| Export project via Godot CLI preset. |
| Capture screenshot of running game. |
| Read Godot process output. |
| Check if Godot editor is running. |
| Scan directory for Godot projects. |
Tool | Description |
| Create 3D mesh resource: Box, Capsule, Cylinder, Plane, Sphere, Torus, etc. (11 types). |
| List PointLight2D/DirectionalLight2D nodes with energy and shadow settings. |
| Set a parameter on a 2D light node. |
| Create a VehicleBody3D with VehicleWheel nodes for car physics. |
| List VehicleBody3D nodes with wheel counts. |
| Create a SpringArm3D for smooth camera follow. |
| List SpringArm3D nodes with spring length and collision settings. |
| List Decal nodes with size and texture info. |
| List OccluderInstance3D and OcclusionPolygon2D nodes. |
| List Marker2D/Marker3D position markers across scenes. |
| Read audio file info: format, size, loop, bitrate from .import config. |
| List AudioListener2D/3D nodes for spatial audio positioning. |
| Create CameraAttributes (Practical or Physical) for 3D camera DOF and auto-exposure. |
| Create a SpriteFrames .tres resource with named animations. |
| List AnimatedSprite nodes and their SpriteFrames resources. |
| List SoftBody3D nodes with mass and stiffness. |
| List GridMap nodes with cell size and mesh library references. |
| Create a GridMap node for 3D tile-based level design. |
Tool | Description |
| Read a .tres resource file. |
| List all resource files. |
| Create a resource from template. |
| Write properties to a resource. |
| List materials grouped by type. |
| Read material with PBR formatting. |
| Set a single material parameter. |
| Read Theme resource with type-aware grouping. |
Tool | Description |
| Read AudioBusLayout. |
| List audio files by format. |
| Create AudioBusLayout. |
| Add audio bus to layout. |
| Remove audio bus. |
| Add effect to audio bus. |
| Set bus volume in dB. |
Tool | Description |
| Create a new VisualShader .tres graph file. |
| Add a node to a VisualShader graph (40+ types: constants, math, textures, effects). |
| Remove a node from a VisualShader graph by index. |
| Connect two node ports in a VisualShader graph. |
| Disconnect two node ports in a VisualShader graph. |
| Set a parameter on a VisualShader node (constant, expression, operator, etc.). |
| List all VisualShader node types organized by category with I/O counts. |
| Get default ports and parameters for a specific VisualShader node type. |
Tool | Description |
| Search all tools by keyword/description to discover the right tool name. Use this instead of guessing among 350+ tools. |
| System status / diagnostics: editor bridge, live-game runtime bridge, and tool count. Use to debug connection issues. |
Tool | Description |
| Check if the live-game runtime bridge is reachable. |
| Read the running game scene tree (live, inside the played game). |
| Read live properties of a node in the running game. |
| Set properties on a node in the running game (live mutation). |
| Call a method on a node in the running game. |
| Emit a signal on a node in the running game. |
| Inject a key input event into the running game. |
| Pause (freeze) the running game. |
| Resume (unpause) the running game. |
| Advance the running game by N frames deterministically while paused (frame stepping). |
| Capture a screenshot of the running game viewport. |
Domain (11): read_curve, create_curve, read_gradient, create_gradient, list_paths, read_path, list_skeletons, read_skeleton, read_reflection_probe, read_multimesh, create_noise_texture
Nodes (8): read_character_body, read_animated_sprite, read_audio_player, read_video_player, read_parallax, read_rich_text, read_container, read_tab_container
Utility (6): list_all_signals, read_project_icon, read_stylebox, create_atlas_texture, list_popups, generate_cohesion_report
Rendering (5): read_mesh_instance, set_mesh_surface_material, read_viewport, read_area, read_raycast
Environment (4): read_environment, list_environments, create_environment, set_environment_param
Inspector (5): list_cameras, read_camera, list_lights, set_light_param, read_particles
Physics (4): list_physics_materials, read_physics_material, create_physics_material, read_collision_layers
Import (3): read_import_config, list_import_files, write_import_config
TileMap (3): list_tilesets, read_tileset, read_tilemap
Navigation (3): list_nav_regions, read_nav_region, create_nav_mesh
Translation (8): list_translations, read_translation, create_translation, write_translation, add_translation_key, create_po_translation, register_translation, unregister_translation
Joints (3): create_joint, set_joint_param, list_joints
UID (3): get_uid, update_project_uids, list_missing_uids
2D Geometry (2): create_collision_polygon, set_shape_points
Diff (2): diff_scene, diff_resource
Other (4): read_gdextension, list_csproj, create_world, read_texture_info
Supported Formats
Format | Extension | Operations |
Scene |
| Read, write, create, edit |
Script |
| Read, write, create, validate, analyze |
Script |
| Read, write, create |
Shader |
| Read, write, create, validate, compile |
Shader Include |
| Read, write, create |
VisualShader |
| Read, list, graph editing |
Resource |
| Read, write, create (14 templates) |
Resource |
| Not supported (binary) |
Config |
| Read, write |
Config |
| Read |
Import |
| Read, write |
Environment |
| Read, write, create (4 presets) |
Animation |
| Read, create, modify |
AudioBus |
| Read, write, create |
PhysicsMaterial |
| Read, write, create |
TileSet |
| Read, list |
Translation |
| Read, create |
Development
npm install # Install dependencies
npm run build # Build TypeScript to dist/
npm run dev # Dev mode (tsx hot reload)
npm test # Run the vitest suite; node test/test_all.mjs for 176 legacy checks
npm run lint # ESLint (flat config). `npm run lint:errors` hides the `any` warnings
npm run test:watch # Watch mode
npm run check:godot # Load every fixture in a real headless Godot and verify
# ext_resource paths, UIDs and SubResource refs (needs Godot installed)CLI Options
See Command-Line Options for the full table (it lives once, in the installation section).
Tech Stack
Runtime: Node.js >= 18
Language: TypeScript 5.5
MCP SDK: @modelcontextprotocol/sdk ^1.29
Schema Validation: Zod ^3.24
HTTP Server: Express ^5.2
Test: Vitest ^2.0
Transport: stdio (default), SSE, Streamable HTTP
Build VSIX
npm run vsix
# Output: godot-mcp-<version>.vsixInstall in VS Code:
code --install-extension godot-mcp-<version>.vsixLimitations
Binary
.resfiles are not parseable — use.tres(text format) for editable resourcesGodot CLI tools (
launch_editor,run_project,export_project) require the Godot Engine binaryedit_sceneuses text manipulation on.tscn; complex refactors may require manual verificationScreenshots depend on OS-native screenshot utilities
FAQ
Do I need to keep Godot open? No. Every file-based tool — scenes, resources, scripts, shaders, project settings — uses native parsers and runs instantly against files on disk. Only the live editor tools (123) and live game runtime tools (11) need Godot running, and the server can launch it for you automatically.
Does it support Godot 3? No. Godot 4.x only. Godot 3's file formats and editor APIs differ too much to support cleanly.
Which AI clients work with it? Any MCP-compatible client. Verified with Claude Desktop, Claude Code, Cursor, VS Code (Copilot), Windsurf, Codex, Cline, Roo Code, Aider, Cody, Goose, and Continue.
How does the AI pick the right tool out of 386?
Use search_tools — it ranks the catalog by keyword against tool names and descriptions, so the AI can find add_audio_bus_effect without loading all 386 schemas into context. get_status reports which subsystems (editor bridge, game runtime) are currently reachable.
What makes the runtime tools different from the editor tools?
Editor tools talk to the Godot editor. Runtime tools talk to the running game through a lightweight autoload on 127.0.0.1:9877. That's what enables freezing the game, stepping an exact number of frames, and screenshotting a precise gameplay moment.
Is it safe to let an AI edit my project?
Destructive file operations write .bak backups, tools are classified read-only vs. write, and every failure returns a typed error code with a repair hint rather than silently corrupting a file. Use version control anyway.
Keywords
Godot MCP · Godot MCP server · Model Context Protocol Godot · Godot AI assistant · Godot AI agent · Godot Engine 4 MCP · GDScript AI · AI game development · Godot Copilot · Claude Godot integration · Cursor Godot · VS Code Godot MCP · Windsurf Godot · Cline Godot · Godot automation · Godot scene editing API · .tscn parser · .tres parser · Godot shader AI · VisualShader automation · Godot debugging AI · Godot runtime inspection · AI game engine tooling · MCP server for game engines · Godot编辑器 AI · Godot 自动化 · Godot 智能体
License
AGPL-3.0-or-later
Tip
Available Tools
358 toolsadd_animation_libraryC
Add animation library to player.
Inputs: scene_path (required), animation_name (required), animations.
add_animation_trackC
Add track to animation.
Inputs: scene_path (required), track_path (required), animation_name (required), interp, +1 more.
add_audio_busC
Add audio bus to layout.
Inputs: bus_name (required), send_to, volume_db, layout_path.
add_autoloadC
Add an autoload entry.
Inputs: name (required), path (required).
add_bus_effectC
Add effect to audio bus.
Inputs: bus_index (required), effect_type (required), layout_path, effect_params.
add_input_bindingA
Add key/mouse/joypad binding to action.
Inputs: action (required), key, device, joypad_axis, +2 more.
add_nodeC
Add a node to a scene.
Inputs: name (required), type (required), scene_path (required), groups, +2 more.
add_script_exportB
Add @export variable to GDScript.
Inputs: path (required), var_name (required), var_type, export_hint, +1 more.
add_script_functionC
Append a function to GDScript.
Inputs: path (required), func_name (required), body, params, +2 more.
add_script_signalB
Add a signal declaration to GDScript.
Inputs: path (required), signal_name (required), params.
add_shader_graph_nodeB
Add a node to a VisualShader graph. 40+ node types available (constants, math, textures, effects).
Inputs: path (required), node_type (required), params, position.
add_theme_typeC
Add a control type (font size/color) to a Theme.
Inputs: type (required), theme_path (required), font_size, font_color.
add_tileset_sourceB
Add an atlas source (texture) to a TileSet.
Inputs: texture_path (required), tileset_path (required), margin, source_id, +2 more.
add_translation_keyA
Append a translation key/row to an existing CSV.
Inputs: key (required), path (required), translations.
attach_scriptC
Attach a script to a node.
Inputs: node_path (required), scene_path (required), script_path (required).
capture_screenshotC
Capture screenshot of running game.
Inputs: delay, output_path, window_title.
clone_nodeC
Deep-clone a node in a scene.
Inputs: scene_path (required), clone_source (required), name, parent_path.
compile_shaderA
Compile (reimport) a .gdshader via Godot editor or local validation.
Inputs: path (required).
connect_shader_graph_nodesB
Connect two node ports in a VisualShader graph.
Inputs: path (required), to_node (required), to_port (required), from_node (required), +1 more.
connect_signalC
Connect a signal between nodes.
Inputs: signal (required), to_node (required), from_node (required), scene_path (required), +3 more.
create_animationB
Create Animation .tres resource.
Inputs: path (required), length, loop_mode.
create_atlas_textureC
Create AtlasTexture .tres.
Inputs: path (required), atlas_texture (required), region.
create_audio_bus_layoutD
Create AudioBusLayout.
Inputs: path, master_volume.
create_camera_attributesB
Create CameraAttributes (Practical or Physical) for 3D camera DOF and auto-exposure.
Inputs: path (required), preset.
create_collision_polygonC
Create CollisionPolygon2D.
Inputs: points (required), scene_path (required), name, parent_path.
create_curveC
Create Curve .tres.
Inputs: path (required), points, bake_resolution.
create_directoryC
Create a directory in project.
Inputs: path (required).
create_environmentC
Create Environment from preset.
Inputs: path (required), preset.
create_gdextensionB
Create a .gdextension config file.
Inputs: path (required), entry_symbol, library_path.
create_gradientC
Create Gradient .tres.
Inputs: path (required), colors, interpolation_mode.
create_grid_mapC
Create a GridMap node for 3D tile-based level design.
Inputs: scene_path (required), name, parent.
create_image_textureA
Create an ImageTexture .tres pointing at an image file.
Inputs: path (required), source (required).
create_jointB
Create a physics joint.
Inputs: name (required), joint_type (required), scene_path (required), node_a, +2 more.
create_mesh_primitiveA
Create 3D mesh resource: Box, Capsule, Cylinder, Plane, Sphere, Torus, etc. (11 types).
Inputs: path (required), mesh_type (required), params.
create_multimeshB
Create a MultiMesh .tres resource.
Inputs: path (required), mesh_path, instance_count, transform_mode.
create_noise_textureC
Create NoiseTexture2D.
Inputs: path (required), width, height, seamless, +1 more.
create_physics_materialC
Create PhysicsMaterial.
Inputs: path (required), rough, absorb, bounce, +1 more.
create_resourceC
Create a resource from template.
Inputs: path (required), type (required), properties.
create_sceneC
Create a new scene from template.
Inputs: path (required), template (required), root_name.
create_scriptC
Create a new script from template.
Inputs: path (required), type (required), template, class_name.
create_shaderB
Create a new .gdshader from template.
Inputs: path (required), type (required).
create_shader_includeB
Create a .gdshaderinc file.
Inputs: path (required).
create_skyB
Create a Sky .tres with a procedural or panorama sky material.
Inputs: path (required), material.
create_spring_armA
Create a SpringArm3D for smooth camera follow.
Inputs: scene_path (required), name, length, parent.
create_sprite_framesC
Create a SpriteFrames .tres resource with named animations.
Inputs: path (required), animations.
create_themeB
Create a Theme .tres resource.
Inputs: path (required), default_font_size.
create_tilesetB
Create a TileSet .tres resource.
Inputs: path (required), tile_size.
create_translationC
Create translation CSV.
Inputs: path (required), keys, language.
create_vehicle_bodyC
Create a VehicleBody3D with VehicleWheel nodes for car physics.
Inputs: scene_path (required), name, parent, wheels.
create_visual_shaderB
Create a new VisualShader .tres graph file.
Inputs: path (required), shader_type (required).
create_worldC
Create World3D .tres.
Inputs: path (required), environment_path.
create_world_environmentC
Create a .tscn with a WorldEnvironment node referencing an Environment.
Inputs: path (required), environment_path.
delete_fileA
Delete a file with .bak backup.
Inputs: path (required).
diff_animationB
Compare two Animation .tres files.
Inputs: path_a (required), path_b (required).
diff_project_configA
Compare two config files (project.godot, .cfg, .import) ignoring whitespace and comments.
Inputs: path_a (required), path_b (required).
diff_resourceC
Compare two resource files.
Inputs: path_a (required), path_b (required), context_lines.
diff_sceneC
Compare two scene files.
Inputs: path_a (required), path_b (required), ignore_whitespace.
diff_scriptA
Compare two GDScript files line-by-line.
Inputs: path_a (required), path_b (required).
disconnect_shader_graph_nodesB
Disconnect two node ports in a VisualShader graph.
Inputs: path (required), to_node (required), to_port (required), from_node (required), +1 more.
disconnect_signalD
Disconnect a signal.
Inputs: signal (required), to_node (required), from_node (required), scene_path (required), +1 more.
duplicate_resourceB
Duplicate a .tres resource.
Inputs: source (required), destination (required).
duplicate_sceneC
Duplicate a scene file.
Inputs: source (required), destination (required).
editor_add_autoloadC
Add an autoload singleton via editor API.
Inputs: name (required), path (required).
editor_add_input_actionC
Add an input action via editor API.
Inputs: name (required), deadzone.
editor_add_nodeC
Add a node to the currently open scene in editor.
Inputs: type (required), name, parent, properties.
editor_attach_scriptB
Attach a script to a node in the editor.
Inputs: path (required), script (required).
editor_bake_lightmapsB
Trigger lightmap baking.
Inputs: no named parameters.
editor_clear_errorsA
Clear the editor error list.
Inputs: no named parameters.
editor_connect_signalB
Connect a signal between nodes in the editor.
Inputs: node (required), method (required), signal (required), target.
editor_copyA
Copy selected nodes to the editor clipboard.
Inputs: no named parameters.
editor_create_cameraA
Create a Camera3D node in the open scene.
Inputs: name, parent, properties.
editor_create_csg_boxA
Create a CSGBox3D node in the open scene.
Inputs: name, parent, properties.
editor_create_csg_cylinderB
Create a CSGCylinder3D node in the open scene.
Inputs: name, parent, properties.
editor_create_csg_mergeA
Create a CSGCombiner3D node in the open scene.
Inputs: name, parent, properties.
editor_create_csg_polygonB
Create a CSGPolygon3D node in the open scene.
Inputs: name, parent, properties.
editor_create_csg_sphereA
Create a CSGSphere3D node in the open scene.
Inputs: name, parent, properties.
editor_create_folderB
Create a directory in the project via editor filesystem.
Inputs: path (required).
editor_create_gpu_particlesA
Create a GPUParticles3D node in the open scene.
Inputs: name, parent, properties.
editor_create_mesh_instanceB
Create a MeshInstance3D node in the open scene.
Inputs: name, parent, properties.
editor_create_multiplayer_spawnerA
Create a MultiplayerSpawner3D node in the open scene.
Inputs: name, parent, properties.
editor_create_multiplayer_synchronizerB
Create a MultiplayerSynchronizer3D node in the open scene.
Inputs: name, parent, properties.
editor_create_sceneB
Create and open a new scene in the editor.
Inputs: path (required), root_name, root_type.
editor_create_scriptB
Create and open a new GDScript in the editor.
Inputs: path (required), extends, template.
editor_cutA
Cut selected nodes to the editor clipboard (with undo).
Inputs: no named parameters.
editor_debug_breakB
Stop execution (break) in debugger.
Inputs: no named parameters.
editor_debug_continueB
Resume execution in debugger.
Inputs: no named parameters.
editor_debug_stepB
Step into next line in debugger.
Inputs: no named parameters.
editor_debug_step_overA
Step over current line in debugger.
Inputs: no named parameters.
editor_delete_assetC
Delete a file or folder via editor.
Inputs: path (required).
editor_delete_selectedA
Delete currently selected nodes.
Inputs: no named parameters.
editor_disable_pluginB
Disable a named editor plugin.
Inputs: plugin (required).
editor_disconnect_signalC
Disconnect a signal between nodes.
Inputs: node (required), signal (required), method, target.
editor_duplicate_assetC
Duplicate a file via editor filesystem.
Inputs: to (required), from (required).
editor_duplicate_nodeB
Duplicate a node with children, scripts, and signals.
Inputs: path (required), name.
editor_enable_pluginB
Enable a named editor plugin.
Inputs: plugin (required).
editor_evaluate_expressionA
Evaluate a GDScript expression in debugger/editor context.
Inputs: expression (required).
editor_focusA
Bring the Godot editor window to the foreground.
Inputs: no named parameters.
editor_get_autoloadsB
List autoload singletons via editor API.
Inputs: no named parameters.
editor_get_breakpointsA
List all breakpoints.
Inputs: no named parameters.
editor_get_cameraA
Get the 3D editor viewport camera position.
Inputs: no named parameters.
editor_get_class_docB
Open Godot documentation for a class in browser.
Inputs: class (required).
editor_get_class_listC
List all Godot classes, optionally filtered.
Inputs: filter, extends.
editor_get_class_propertiesB
List all editor-visible properties of a class.
Inputs: class (required).
editor_get_class_signalsB
List all signals of a Godot class.
Inputs: class (required).
editor_get_debug_variablesB
Get local variables from debugger.
Inputs: no named parameters.
editor_get_dependenciesC
Get all resource dependencies for a file.
Inputs: path (required).
editor_get_editor_settingA
Read an editor preference value.
Inputs: key (required).
editor_get_errorsA
Get current editor error/log list.
Inputs: no named parameters.
editor_get_infoC
Get editor status info.
Inputs: no named parameters.
editor_get_input_mapB
Read the Input Map via editor API.
Inputs: no named parameters.
editor_get_method_listB
List all methods of a Godot class.
Inputs: class (required).
editor_get_node_propertiesA
Read all editor-visible properties of a node.
Inputs: path (required).
editor_get_open_sceneB
Get currently open scene path.
Inputs: no named parameters.
editor_get_performanceA
Get FPS, draw calls, memory usage while game is running.
Inputs: no named parameters.
editor_get_plugin_listA
List all installed editor plugins with enabled state.
Inputs: no named parameters.
editor_get_project_directoryA
Get project res:// and user:// paths.
Inputs: no named parameters.
editor_get_project_settingC
Read a project setting via editor API.
Inputs: key (required).
editor_get_recent_scenesA
List recently opened scene paths.
Inputs: no named parameters.
editor_get_rectA
Get editor window dimensions.
Inputs: no named parameters.
editor_get_running_scene_treeA
Get the live scene tree while the game is running.
Inputs: no named parameters.
editor_get_scene_changesA
Check if current scene has unsaved changes.
Inputs: no named parameters.
editor_get_selectionA
Get selected nodes in editor.
Inputs: no named parameters.
editor_get_stack_traceA
Get current call stack from debugger.
Inputs: no named parameters.
editor_health_checkB
Check if the Godot editor plugin is reachable.
Inputs: no named parameters.
editor_instantiate_sceneC
Instantiate a PackedScene into the current scene.
Inputs: scene (required), name, parent.
editor_list_filesystemC
List files and directories in the editor filesystem.
Inputs: path, pattern, recursive.
editor_list_node_signalsC
List signals and their connections on a node.
Inputs: node (required).
editor_move_assetC
Move a file to a new location via editor.
Inputs: to (required), from (required).
editor_move_nodeB
Move a 2D/3D node to a new position.
Inputs: position (required), node_path (required).
editor_open_assetC
Open an asset in editor.
Inputs: path (required).
editor_open_dockA
Open a dock: filesystem, inspector, scene, output.
Inputs: dock (required).
editor_pasteA
Paste clipboard nodes into the scene (at selected node or root).
Inputs: parent.
editor_pauseA
Pause the editor scene tree (note: only affects the editor tree, not a separately running game).
Inputs: no named parameters.
editor_playB
Play project from editor.
Inputs: no named parameters.
editor_read_current_sceneB
Read live editor scene tree.
Inputs: no named parameters.
editor_redoA
Redo last undone action.
Inputs: no named parameters.
editor_reimport_assetC
Force reimport of an asset.
Inputs: path (required).
editor_reload_sceneB
Save and reload current scene.
Inputs: no named parameters.
editor_remove_autoloadC
Remove an autoload singleton via editor API.
Inputs: name (required).
editor_remove_breakpointA
Remove a breakpoint from a script.
Inputs: line (required), script (required).
editor_remove_input_actionB
Remove an input action via editor API.
Inputs: name (required).
editor_remove_nodeA
Remove a node from the currently open scene.
Inputs: path (required).
editor_rename_assetC
Rename a file via editor filesystem.
Inputs: to (required), from (required).
editor_rename_nodeC
Rename a node in the editor.
Inputs: name (required), path (required).
editor_reparent_nodeB
Move a node to a new parent.
Inputs: path (required), new_parent (required).
editor_run_gdscriptB
Execute arbitrary GDScript code in editor context.
Inputs: code (required).
editor_run_specific_sceneB
Run a specific scene (not just main).
Inputs: scene (required).
editor_saveA
Save current scene in editor.
Inputs: no named parameters.
editor_save_allA
Save all open scenes.
Inputs: no named parameters.
editor_search_helpC
Search Godot documentation in browser.
Inputs: query (required).
editor_set_animated_sprite_paramA
Set a property on an AnimatedSprite node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_area_paramB
Set a property on an Area2D/3D node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_audio_listener_paramA
Set a property on an AudioListener node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_audio_player_paramA
Set a property on an AudioStreamPlayer node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_breakpointA
Set a breakpoint in a script.
Inputs: line (required), script (required).
editor_set_cameraB
Set the 3D editor viewport camera position.
Inputs: position (required).
editor_set_camera_paramA
Set a property on a Camera node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_character_body_paramB
Set a property on a CharacterBody node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_container_paramA
Set a property on a Container node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_decal_paramB
Set a property on a Decal node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_editor_settingC
Set an editor preference.
Inputs: key (required), value (required).
editor_set_main_sceneB
Set the project main scene.
Inputs: scene (required).
editor_set_marker_paramA
Set a property on a Marker node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_multiplayer_spawner_paramB
Set a property on a MultiplayerSpawner3D node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_multiplayer_synchronizer_paramB
Set a property on a MultiplayerSynchronizer3D node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_node_propertiesC
Set multiple properties on a node at once.
Inputs: path (required), properties (required).
editor_set_occluder_paramA
Set a property on an Occluder node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_parallax_paramB
Set a property on a ParallaxBackground node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_particles_paramB
Set a property on a particle system node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_project_settingC
Set a project setting via editor API (auto-saves).
Inputs: key (required), value (required).
editor_set_rich_text_paramA
Set a property on a RichTextLabel node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_selectionC
Select node in editor.
Inputs: node_path (required), value, property.
editor_set_soft_body_paramB
Set a property on a SoftBody3D node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_tab_container_paramA
Set a property on a TabContainer/TabBar node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_video_player_paramB
Set a property on a VideoStreamPlayer node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_set_viewport_paramB
Set a property on a Viewport node in the open scene.
Inputs: param (required), value (required), node_path (required).
editor_show_in_filesystemB
Reveal a file in the FileSystem dock.
Inputs: path (required).
editor_simulate_keyA
Simulate a key press in the editor (e.g. "F5" to run, "Ctrl+S" to save).
Inputs: key (required), modifiers.
editor_stopA
Stop playing in editor.
Inputs: no named parameters.
editor_take_screenshotC
Capture the editor viewport as a PNG.
Inputs: path.
editor_toggle_gridA
Toggle 3D grid visibility.
Inputs: no named parameters.
editor_toggle_snapB
Toggle 3D snap mode.
Inputs: no named parameters.
editor_undoB
Undo last editor action.
Inputs: no named parameters.
editor_unpauseA
Resume the editor scene tree from pause.
Inputs: no named parameters.
edit_sceneC
Apply batch operations to a scene.
Inputs: path (required), operations (required).
export_projectC
Export project via Godot CLI preset.
Inputs: preset (required), output_path (required), project_path.
find_nodes_in_scenesC
Search nodes across scenes by type/property.
Inputs: group, node_type, max_results, signal_name, +2 more.
find_unused_assetsA
Find orphaned project files.
Inputs: no named parameters.
fix_missing_uidsA
Inject generated UIDs into scene/resource headers missing them.
Inputs: no named parameters.
generate_cohesion_reportC
Project cohesion report.
Inputs: no named parameters.
generate_project_reportC
Generate comprehensive project overview.
Inputs: no named parameters.
get_godot_versionA
Detect installed Godot version.
Inputs: no named parameters.
get_shader_node_defaultsB
Get default ports and parameters for a specific VisualShader node type.
Inputs: node_type (required).
get_statusA
System status / diagnostics: editor bridge, live-game runtime bridge, and tool count. Use to debug connection issues.
Inputs: probe_runtime.
get_uidB
Get UID for a file.
Inputs: path (required).
is_editor_runningA
Check if Godot editor is running.
Inputs: no named parameters.
launch_editorC
Launch Godot editor with project.
Inputs: scene, project_path.
list_all_signalsB
List all signal connections across scenes.
Inputs: scene_path, signal_name.
list_animationsC
List AnimationPlayers and animations.
Inputs: scene_path.
list_audio_filesB
List audio files by format.
Inputs: path.
list_autoloadsB
List all autoload singletons.
Inputs: no named parameters.
list_camerasB
List Camera nodes.
Inputs: scene_path.
list_csprojA
List C# project files.
Inputs: no named parameters.
list_environmentsB
List Environment resources.
Inputs: path.
list_groupsA
List all node groups across scenes.
Inputs: no named parameters.
list_import_filesA
List .import files grouped by type.
Inputs: path, type_filter.
list_jointsC
List physics joints.
Inputs: joint_type, scene_path.
list_lightsC
List light nodes.
Inputs: light_type, scene_path.
list_materialsC
List materials grouped by type.
Inputs: path, recursive, type_filter.
list_missing_uidsB
List files missing UIDs.
Inputs: no named parameters.
list_pathsB
List Path2D/3D nodes.
Inputs: scene_path.
list_physics_materialsC
List PhysicsMaterials.
Inputs: path.
list_popupsC
List Popup/Window/Dialog nodes.
Inputs: scene_path.
list_project_filesC
List files and directories in the Godot project.
Inputs: path, pattern, recursive.
list_projectsC
Scan directory for Godot projects.
Inputs: directory, recursive.
list_resourcesC
List all resource files.
Inputs: path, recursive, type_filter.
list_scenesB
List all .tscn scene files.
Inputs: path, recursive.
list_scriptsB
List all script files grouped by type.
Inputs: path, type, recursive.
list_shader_includesA
List all .gdshaderinc files.
Inputs: path, recursive.
list_shader_node_typesA
List all VisualShader node types organized by category with input/output counts.
Inputs: category.
list_shadersA
List all .gdshader files.
Inputs: path, recursive.
list_skeletonsB
List Skeleton nodes.
Inputs: scene_path.
list_texturesA
List all texture/image assets in the project.
Inputs: path.
list_tilesetsB
List TileSet resources.
Inputs: path.
list_translationsC
List translation files.
Inputs: path.
list_ui_nodesA
List Control-derived UI nodes.
Inputs: node_type, max_results.
list_visual_shadersB
List VisualShader graph files.
Inputs: path, recursive.
load_spriteC
Load a texture onto a Sprite2D node.
Inputs: node_path (required), scene_path (required), texture_path (required).
modify_nodeC
Modify node properties or rename.
Inputs: node_path (required), scene_path (required), new_name, properties.
monitor_outputC
Read Godot process output.
Inputs: clear.
move_fileB
Move/rename a file within project.
Inputs: source (required), destination (required).
read_animated_spriteC
Read AnimatedSprite settings.
Inputs: name, scene_path.
read_animationB
Read animation tracks and keyframes.
Inputs: scene_path (required), animation_name.
read_animation_treeC
Read AnimationTree with state machine.
Inputs: scene_path (required).
read_areaC
Read Area2D/3D properties.
Inputs: scene_path (required), node_name.
read_audio_bus_layoutD
Read AudioBusLayout.
Inputs: path.
read_audio_listenerB
List AudioListener2D/3D nodes for spatial audio positioning.
Inputs: scene_path.
read_audio_playerC
List AudioStreamPlayer nodes.
Inputs: scene_path.
read_audio_streamA
Read audio file info: format, size, loop, bitrate from .import config.
Inputs: path (required).
read_cameraC
Read camera configuration.
Inputs: scene_path (required), camera_name.
read_character_bodyB
Read CharacterBody properties.
Inputs: scene_path (required), name.
read_collision_layersA
Read collision layer names.
Inputs: no named parameters.
read_collision_polygonC
Read CollisionPolygon2D points from a scene.
Inputs: scene_path (required), node_path.
read_containerC
Read Container layout.
Inputs: scene_path (required), name.
read_csprojA
Read a C# .csproj (assembly, target framework, package refs).
Inputs: path (required).
read_curveC
Read Curve resource.
Inputs: path (required).
read_decalB
List Decal nodes with size and texture info.
Inputs: scene_path.
read_environmentB
Read Environment resource.
Inputs: path (required).
read_export_presetsA
Read export presets from export_presets.cfg.
Inputs: no named parameters.
read_gdextensionB
Read .gdextension config.
Inputs: path.
read_gradientC
Read Gradient resource.
Inputs: path (required).
read_grid_mapC
List GridMap nodes with cell size and mesh library references.
Inputs: scene_path.
read_import_configB
Read .import file config.
Inputs: asset_path (required).
read_input_mapB
Read input map with key bindings.
Inputs: no named parameters.
read_jointB
Read a physics joint config in a scene.
Inputs: scene_path (required), joint_name.
read_light_2dA
List PointLight2D/DirectionalLight2D nodes with energy and shadow settings.
Inputs: light_type, scene_path.
read_markerB
List Marker2D/Marker3D position markers across scenes.
Inputs: scene_path, marker_type.
read_materialC
Read material with PBR formatting.
Inputs: path (required).
read_mesh_instanceB
Read MeshInstance properties.
Inputs: scene_path (required), node_name.
read_multimeshB
List MultiMeshInstance nodes.
Inputs: scene_path.
read_occluderB
List OccluderInstance3D and OcclusionPolygon2D nodes.
Inputs: scene_path.
read_parallaxB
Read ParallaxBackground layers.
Inputs: scene_path.
read_particlesC
List particle systems.
Inputs: scene_path, particle_type.
read_pathC
Read Path node with curve.
Inputs: scene_path (required), name.
read_physics_materialC
Read PhysicsMaterial.
Inputs: path (required).
read_project_configA
Read and parse project.godot.
Inputs: no named parameters.
read_project_iconC
Read project identity.
Inputs: no named parameters.
read_raycastB
List RayCast/ShapeCast nodes.
Inputs: ray_type, scene_path.
read_reflection_probeC
List GI probes.
Inputs: scene_path.
read_resourceC
Read a .tres resource file.
Inputs: path (required).
read_rich_textB
List RichTextLabel nodes.
Inputs: name, scene_path.
read_sceneB
Read a .tscn scene file.
Inputs: path (required).
read_scriptB
Read a script file with line numbers.
Inputs: path (required), line_count, line_start.
read_script_structureC
Analyze GDScript structure.
Inputs: path (required).
read_shaderC
Read a .gdshader file.
Inputs: path (required), line_count, line_start.
read_shader_includeB
Read a .gdshaderinc file.
Inputs: path (required).
read_skeletonC
Read Skeleton bone hierarchy.
Inputs: scene_path (required), name.
read_soft_bodyC
List SoftBody3D nodes with mass and stiffness.
Inputs: scene_path.
read_spring_armC
List SpringArm3D nodes with spring length and collision settings.
Inputs: scene_path.
read_sprite_framesC
List AnimatedSprite nodes and their SpriteFrames resources.
Inputs: scene_path.
read_styleboxC
Read StyleBox resource.
Inputs: path (required).
read_tab_containerC
Read TabContainer/TabBar.
Inputs: scene_path (required), name.
read_texture_infoC
Read texture asset info.
Inputs: path (required).
read_themeC
Read Theme resource with type-aware grouping.
Inputs: path (required).
read_tilemapB
Read TileMapLayer in scene.
Inputs: scene_path (required).
read_tilesetB
Read TileSet resource.
Inputs: path (required).
read_translationC
Read translation file.
Inputs: path (required), filter.
read_vehicle_bodyC
List VehicleBody3D nodes with wheel counts.
Inputs: scene_path.
read_video_playerA
List VideoStreamPlayer nodes.
Inputs: scene_path.
read_viewportC
Read Viewport settings.
Inputs: scene_path (required), node_name.
read_visual_shaderC
Read a VisualShader graph.
Inputs: path (required).
remove_animation_trackC
Remove track from animation.
Inputs: scene_path (required), track_index (required), animation_name (required).
remove_audio_busC
Remove audio bus.
Inputs: bus_index (required), layout_path.
remove_autoloadB
Remove an autoload entry.
Inputs: name (required).
remove_input_actionB
Remove an input action.
Inputs: action (required).
remove_jointA
Remove a physics joint node from a scene.
Inputs: joint_name (required), scene_path (required).
remove_nodeC
Remove a node from a scene.
Inputs: node_path (required), scene_path (required).
remove_shader_graph_nodeB
Remove a node from a VisualShader graph by index.
Inputs: path (required), node_index (required).
rename_nodeC
Rename a node in a scene.
Inputs: new_name (required), node_path (required), scene_path (required).
run_projectC
Run the Godot project.
Inputs: debug, scene, headless, window_size, +1 more.
runtime_call_methodB
Call a method on a node in the running game.
Inputs: path (required), method (required), args.
runtime_emit_signalB
Emit a signal on a node in the running game.
Inputs: path (required), signal (required), args.
runtime_freezeA
Pause (freeze) the running game.
Inputs: no named parameters.
runtime_get_nodeA
Read live properties of a node in the running game.
Inputs: path (required).
runtime_get_treeB
Read the running game scene tree (live, inside the played game).
Inputs: no named parameters.
runtime_inputA
Inject a key input event into the running game.
Inputs: keycode (required), action.
runtime_pingA
Check if the live-game runtime bridge is reachable.
Inputs: no named parameters.
runtime_resumeA
Resume (unpause) the running game.
Inputs: no named parameters.
runtime_screenshotA
Capture a screenshot of the running game viewport.
Inputs: path.
runtime_set_nodeA
Set properties on a node in the running game (live mutation).
Inputs: path (required), properties (required).
runtime_stepA
Advance the running game by N frames deterministically while paused (frame stepping).
Inputs: frames.
scene_dependency_graphC
Analyze inter-scene dependencies.
Inputs: no named parameters.
search_in_projectC
Search for text across project files.
Inputs: query (required), pattern, max_results.
search_in_scriptsC
Search in scripts with function context.
Inputs: query (required), type, max_results.
search_scene_contentB
Full-text search in .tscn content.
Inputs: query (required), max_results.
search_toolsA
Search all tools by keyword/description to discover the right tool name. Use this instead of guessing among 350+ tools.
Inputs: keyword (required), limit, write_only.
set_animation_paramD
Set animation parameter.
Inputs: param (required), value (required), scene_path (required), animation_name (required).
set_animation_tree_paramC
Set AnimationTree parameter.
Inputs: param (required), value (required), scene_path (required), tree_name.
set_bus_volumeB
Set bus volume in dB.
Inputs: bus_index (required), volume_db (required), layout_path.
set_collision_shapeC
Set collision shape for CollisionShape node.
Inputs: node_path (required), scene_path (required), shape_type (required), shape_resource_path.
set_environment_paramC
Set environment parameter.
Inputs: path (required), param (required), value (required).
set_joint_paramC
Set joint parameter.
Inputs: param (required), value (required), joint_name (required), scene_path (required).
set_keyframeC
Set keyframe on track.
Inputs: time (required), value (required), scene_path (required), track_index (required), +2 more.
set_light_2d_paramB
Set a parameter on a 2D light node.
Inputs: param (required), value (required), light_name (required), scene_path (required).
set_light_paramC
Set light parameter.
Inputs: param (required), value (required), light_name (required), scene_path (required).
set_material_paramB
Set a single material parameter.
Inputs: path (required), param (required), value (required).
set_mesh_surface_materialB
Set surface material on MeshInstance.
Inputs: node_name (required), scene_path (required), material_path (required), surface_index.
set_node_positionB
Set node position (2D/3D auto-detect).
Inputs: value (required), node_path (required), scene_path (required).
set_node_rotationB
Set node rotation (2D/3D).
Inputs: value (required), node_path (required), scene_path (required).
set_node_scaleB
Set node scale (2D/3D).
Inputs: value (required), node_path (required), scene_path (required).
set_shader_node_paramB
Set a parameter on a VisualShader node (constant, expression, operator, etc.).
Inputs: path (required), param (required), value (required), node_index (required).
set_shape_pointsD
Set shape on CollisionShape2D.
Inputs: node_path (required), scene_path (required), points, radius, +2 more.
set_skeleton_bone_poseB
Set a bone pose (position/rotation/scale) in a skeleton.
Inputs: bone (required), scene_path (required), scale, position, +2 more.
set_styleboxB
Attach a StyleBoxFlat to a Theme type/state.
Inputs: type (required), theme_path (required), state, bg_color, +4 more.
set_texture_import_flagsB
Set import flags (compress, mipmaps, etc.) in a .import config.
Inputs: path (required), flags (required).
simplify_polygonB
Simplify a polygon via Douglas-Peucker and write it back.
Inputs: points (required), tolerance.
stop_projectA
Stop all running Godot processes.
Inputs: no named parameters.
transform_nodeB
Apply a combined transform (position, rotation, scale) to a node in a scene.
Inputs: node_path (required), scene_path (required), scale, position, +1 more.
update_project_uidsD
Scan for missing UIDs.
Inputs: check_only.
validate_projectA
Validate project for broken refs, empty UIDs.
Inputs: no named parameters.
validate_scriptC
Validate GDScript for common issues.
Inputs: path (required).
validate_shaderA
Validate .gdshader for syntax issues (shader_type, braces, declarations).
Inputs: path (required).
write_collision_layersA
Write/overwrite 2D and 3D collision layer names in project.godot.
Inputs: layers_2d, layers_3d.
write_import_configC
Write import settings.
Inputs: settings (required), asset_path (required).
write_input_actionC
Create a new input action.
Inputs: action (required), deadzone.
write_path_curveB
Write a curve into a Path2D/Path3D node in a scene.
Inputs: points (required), scene_path (required), path, closed, +1 more.
write_project_configC
Write a config value to project.godot.
Inputs: key (required), value (required), section (required).
write_resourceC
Write properties to a resource.
Inputs: path (required), properties (required), create_backup.
write_scriptC
Write content to a script file.
Inputs: path (required), content (required), create_backup.
write_shaderC
Write content to a .gdshader.
Inputs: path (required), content (required), create_backup.
write_translationB
Write a full translation CSV (keys + entries).
Inputs: path (required), entries (required), language.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 358 tools
Several near-duplicates exist, such as capture_screenshot and runtime_screenshot, plus multiple status/health-check tools with overlapping purposes. With 358 tools and repeated add_/create_/write_, read_/list_/editor_get_, and set_/editor_set_ namespaces, an agent cannot reliably distinguish intent without searching, which the included search_tools tool implicitly acknowledges.
Tool names are almost entirely lowercase snake_case with a verb_noun shape, and editor_/runtime_ prefixes create recognizable namespaces. However, related operations use inconsistent verbs (add_input_binding vs write_input_action, create_scene vs editor_create_scene, read_ vs list_ vs editor_get_), and a few oddities like get_status and launch_editor break the strict pattern.
358 tools is an extreme mismatch for an MCP server surface; even with good categorization, it is far beyond what an agent can hold or reliably route between. The included search_tools tool is a workaround for tool discovery, not a solution to over-scoping.
The coverage is encyclopedic: editor automation, runtime debugging, scenes, resources, shaders, audio, navigation, physics, UI, project configuration, and exports all have read/list/create/set support. A few lifecycle gaps exist, such as some entity types having readers but no writers or removers, but these are minor relative to the enormous surface.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
A Model Context Protocol server for Wix AI tools
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with the Godot game engine, allowing them to launch the editor, run projects, capture debug output, and control project execution.146,695MIT
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that provides AI assistants with tools to interact with Godot projects, enabling starting, stopping, capturing output, and screenshots.22 npm3MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to manage Godot projects, scenes, and editor operations through natural language commands.1690MIT
- AlicenseDqualityDmaintenanceA Model Context Protocol server that enables AI assistants to manage and interact with Godot Engine projects, including project management, script editing, scene manipulation, asset management, and export.461MIT