
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 分