
Godot Mcp
io.github.sandraschi由 GitHub 账号 sandraschi 发布v0.5.0-beta.1更新于 Nov 3, 2026
Godot MCP server - Godot 4.x engine control via TCP bridge, STL/GLB/OBJ import, GPU particles, an...
概览
让助手驱动 Godot 4 游戏引擎的 MCP 服务器:搭建场景、导入 3D 资源、确定性试玩测试并导出游戏。
- 可以做什么
- 用一句话生成游戏:设计 GamePlan、生成并校验 GDScript、生成测试与对话,最后导出
- 通过 TCP 桥控制运行中的引擎:导入 STL/GLB/OBJ 与高斯泼溅文件,管理场景节点、相机、灯光、粒子和动画
- 确定性试玩:冻结游戏时钟、注入输入、逐帧推进直到条件满足,并以 JSON 读取实时游戏状态
- 编辑动画关键帧与 TileMap/GridMap 单元格,生成程序化贴图,做性能剖析与网格校验
- 将构建发布到 itch.io 和 Steam
- 适用场景
- 适合希望助手直接在现有 Godot 4 项目中工作的情况:生成并校验 GDScript、组装场景、执行可重复的试玩测试,或准备 HTML5 导出,而不必手工改文件。
- 运行要求
- 以 stdio 本地进程运行,仅限桌面端。引擎桥工具需要 Godot 4.4+,另需 Python 3.13+ 与 uv,以及 Bun。游戏构建器可选依赖 Ollama 及已拉取的模型,场景导入还涉及 Marble 世界服务与 Godot 桥端口。
安装
在 SourceWeft 中
- 打开 控制台中的 Godot Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Godot MCP
[Just] [Python] [FastMCP] [Release Tier]
AI-driven Godot 4 control via MCP — scene manipulation, 3D import, GPU particles, procedural textures, HTML5 export. Deterministic playtesting: freeze the game clock, inject analog/joypad/mouse input, step frame-by-step until a condition is met, read live game state as structured JSON. Game Builder: describe a game in natural language and get playable GDScript + export. Publish to itch.io and Steam. 95+ tools, 77 tests, NSIS desktop installer.
Quick Install
See INSTALL.md for all options (MCPB, dev setup, naked PC).
Start Here: Game Builder (prompt to playable game)
New here? This is the showpiece. Describe a game in one sentence and get back a structured GamePlan (worlds, scenes, scripts, mechanics), Marble 3D worlds, a composed Godot 4.4 scene, validated GDScript, and an HTML5 export ready for itch.io. Precursor to our standalone gamecraft repo.
- Open the dashboard: Game Builder page (
/game-builder) — 6-step pipeline viz (Design, Worlds, Compose, Logic, Export, Ship). - Walkthrough: Game Builder Tutorial — prompt to game, end to end.
- Help tab in the webapp (
/help— Game Builder section) lists every tool with copy-paste examples. - Needs Ollama for LLM planning (
ollama pull gemma4:12b), worldlabs-mcp:10865for Marble worlds (optional), Godot bridge:9080for scene import.
Next generation: gamecraft is our new champion game builder and depot. It takes a sentence, validates the plan, compiles a real Godot 4 project folder, boots Godot headless, and verifies the game can actually be finished. godot-mcp Game Builder is the in-dashboard precursor; gamecraft is where new builder work lands.
Features
- Game Builder —
design_game->generate_game_logic->generate_game_tests->generate_dialogue-> export. Validated with gdlint + godot --check-only, auto-repaired by LLM. Tutorial - Procedural textures —
godot_generate_procedural_texture: gradient, noise, checker, solid. No external assets needed. - Deterministic playtesting — freeze game clock, step frame-by-step, step-until GDScript condition, analog/joypad/mouse/text input injection. Three-phase implementation inspired by satelliteoflove/godot-mcp.
- Structured game state —
godot_state_digestreads live node state as JSON via_mcp_state()convention or auto-collected properties. Cheaper than full scene tree dump. - Engine control — 30 bridge tools: import STL/GLB/OBJ, particles, cameras, lighting, animation, viewport capture, input simulation, scene node management.
- Animation keyframe editor — query tracks down to individual keyframes, insert/remove keys, set interpolation.
- TileMap/GridMap editing — read and write cell data directly (bypasses base64
.tscnserialization). - Performance profiler — 14 engine metrics with auto-sampling and spike detection (>2 stddev).
- Mesh validation — scan for NaN vertices, degenerate triangles, zero normals.
- 3D Gaussian Splat import — import
.plyand.spzfiles with a custom billboarded Gaussian shader (per-splat scale, SH DC color). - Publishing —
itch_opsandsteam_opsportmanteaus for itch.io Butler and SteamPipe. Cross-repo fleet pipeline. - GDScript validation — two-pass (gdlint style + godot compile) with LLM repair.
- Plugin ecosystem — 7 community plugins installable from the
/pluginspage. - LLM detection — auto GPU probe, model recommendation by VRAM tier. Default
gemma4:12b. - Sample game — Vibecoder Runner with 10 AI-themed enemy types.
What You Can Do
Documentation
Requirements
- Godot 4.4+ (for engine bridge tools) —
just install-godotor godotengine.org - Python 3.13+ + uv —
winget install astral-sh.uv - Bun —
winget install oven-sh.bun - Ollama (optional, for game builder) —
winget install Ollama.Ollamathenollama pull gemma4:12b - Rust (optional, for NSIS build) —
rustup.rs
License
MIT — see LICENSE.
来源:README.md,提交 3675327
工具
0版本历史
1- v0.5.0-beta.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分