Godot MCP (bundled server, run and read errors)
/godot-mcp
A GameSkill skill that ships the godot-mcp server (Coding-Solo, MIT) pre-built as one Node file, so an agent can drive Godot 4 over MCP: run the game and read its printed output and errors, stop it, launch the editor, create scenes, add nodes, put textures on sprites, export a MeshLibrary and read UIDs. Nothing is installed from npm or GitHub; it needs only Node.js 18+ and Godot 4.
- License
- MIT
- By
- By GameSkill
Tested by GameSkill
32/32 checks passed on Godot 4.7.2 (headless tools, run_project under xvfb) + Node 22, bundled godot-mcp 0.1.1 (2026-10-30): trigger, a runnable example, a screenshot and self-check, one job per skill, and English + Chinese docs. Trigger checks match prompts against skill descriptions; they are not a live agent run.
Test reportGameSkill's tested copy
Written and tested by GameSkill for gameskill.dev. The ZIP holds the whole skill: SKILL.md and its Chinese version, scripts, a runnable example, tests, the self-check list and our test report.
A GameSkill original, released under MIT. The ZIP keeps LICENSE and CREDITS.md, which lists the workflow inspiration, the CC0 test assets and the third-party libraries with their licenses.

Self-check
- 服务器用 node 从 skill 文件夹启动,没有用 npx 或 GitHub / The server runs with node from the skill folder, not npx or GitHub
- get_godot_version 返回了 4.x,GODOT_PATH 指对了 / get_godot_version returns 4.x, so GODOT_PATH is right
- 加素材后先跑过 godot --headless --import,load_sprite 没报 No loader / Assets were imported before load_sprite
- 游戏还在运行时读了 get_debug_output,errors 和 output 都看了 / Debug output was read while the game ran, errors as well as output
- Vector2、Color 这类属性没有靠 add_node 设置,改完看过 .tscn / Vector2 and Color were not set through add_node, and the .tscn was checked
- 结束时调用了 stop_project / stop_project was called at the end
Pairs well with
Install
Tell your AI
Install the skill from https://gameskill.dev/skills/godot-mcp/install.md
GameSkill's tested copy
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/godot-mcp.zip -o /tmp/gameskill-godot-mcp.zip
unzip -oq /tmp/gameskill-godot-mcp.zip -d .claude/skills
rm /tmp/gameskill-godot-mcp.zipWhat you get
- server/godot-mcp.mjs: godot-mcp 0.1.1 with its two dependencies in one file, code unchanged, sha256 in BUILD.md
- 14 tools: run_project, get_debug_output, stop_project, launch_editor, create_scene, add_node, load_sprite, save_scene, export_mesh_library, project info and UID tools
- Setup commands for Claude Code, Codex, Cursor and opencode, plus the run, read, fix loop
- Six gotchas measured in our tests, such as output vanishing when the game quits
- Our Firefly Jar example project and 19 MCP checks you can run yourself
Good fit
- A light Godot bridge for an agent: run the game and fix the errors it prints
- Making simple scenes and nodes without opening the editor
- Setting up an MCP server when npx or GitHub is not an option
Not for
- Setting Vector2, Color or other non-plain properties through add_node: they are silently ignored
- Deep live-editor control: see Godot AI (link only) for a larger tool set
- GDScript unit tests: see godot-gdscript-headless-testing
Try this prompt
Run my Godot project, read the debug output and fix the first error.About this skill
godot-mcp gives an agent a working loop in Godot. It can run the game, read what it prints, fix the code and run it again, and it can make simple scene edits. GameSkill ships the server pre-built inside the skill as one Node file, so setup is a single mcp add that points at the skill folder. There is no npx, npm install or GitHub clone.
Agent steps
- Register the server with
node <skill>/server/godot-mcp.mjsandGODOT_PATH, then check it withget_godot_version. - Import the project once after adding assets (
godot --headless --path <project> --import). - Edit with
create_scene,add_nodeandload_sprite, then read the.tscn. - Run and read:
run_project, wait a moment, thenget_debug_output. Readerrors(push_error, script errors) as well asoutput. - Fix, run again, stop:
run_projectreplaces the previous run, andstop_projectreturns the final lines.
Gotchas we measured
- The output is gone once the game exits, so keep it open while the agent reads.
add_nodesets plain values only. A{x, y}object is silently ignored, not turned into a Vector2.run_projectopens a window, so a server needsxvfb-run. The scene tools run headless.get_project_infonames the project after its folder, andget_uidneedsupdate_project_uidsfirst.
Credits
The server is godot-mcp by Solomon Elias (Coding-Solo), MIT, bundled unchanged with @modelcontextprotocol/sdk and zod (both MIT). The skill text, the tests and the Firefly Jar example are ours. For a larger live-editor tool set, compare Godot AI, which is listed with a link only.
Requirements
- Godot 4.x installed locally (tested on 4.7.2); set GODOT_PATH if it is not on PATH
- Node.js 18+ (no npm install: the server is one bundled file)
- run_project opens a window: on a server or CI use a virtual display such as xvfb-run
Topics
FAQ
Roguelike Deckbuilder Starter (Godot 4 + Web)
Stop staring at an empty project: a complete white-label playable Roguelike Deckbuilder template in Godot 4 & Web HTML5 — Opening 3-Slot Blessings, Non-Crossing DAG Map, Hand-Arc Combat, 50% Boss Phase Lock, Campfire/Shop Purge, atomic SaveStore, EN/ZH Localization, balanced JSON/CSV tables & 1,000-run HTML balance CLI.
- Runnable Godot 4.3+ project (project.godot, Main.tscn, GameBus, atomic SaveStore & EN/ZH LocService)
- Playable zero-build Web HTML5 starter with hand arc, 2f hit-flash, micro shake & checksummed save
Based on godot-mcp 0.1.1 (server bundled unchanged) by Solomon Elias (Coding-Solo) (MIT). Their code ships unchanged in the ZIP with its licence; GameSkill wrote the skill text, tests and example. CREDITS.md lists every source.
Works well with
Skills the author points to as related or as the better fit for neighbouring tasks.
Godot AI
Production-grade MCP server and editor plugin for Godot 4.7+: 46 tools and 120+ operations for scenes, nodes, scripts, UI and more.
Godot Headless Testing
Run GDScript test suites from the command line with `godot --headless`, using a SceneTree/MainLoop runner script that exits non-zero on failure so CI can gate merges.
Similar skills
Claude Code Game Studios
Turns Claude Code into a full game studio: 49 agents and 72 workflow skills arranged like a real studio hierarchy.
Awesome Gamedev Agent Skills
77 portable SKILL.md skills across 12 engines (Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox, Defold, Ebitengine), with a router.
3AGameFactory (GameFactory-3A)
An Apache-2.0 framework of agent skills and pipelines that turns a game requirement into assets (image, 3D, motion, audio, CG video) and engine-ready code for UE5, Blender, Unity, Godot 4 and three.js.
GladeKit MCP (Unity + Godot)
One MCP server for Unity and Godot editors: 275 Unity tools, 115 Godot tools, gameplay scaffolders, screenshot checks and GLADE.md project context.