
Better Godot Mcp
io.github.n24q02m由 GitHub 帳號 n24q02m 發布v1.24.4更新於 Oct 24, 2026
Composite MCP server for Godot Engine -- 17 composite tools for AI-assisted game development.
概覽
本機 MCP 伺服器,透過 17 個工具讓 AI 助理建立和編輯 Godot 4 遊戲專案——場景、節點、GDScript、著色器、動畫、UI 等
- 可以做什麼
- 管理專案:讀取中繼資料和版本,執行、停止、匯出,取得或設定專案設定,啟動編輯器並查看狀態,檢查或修改伺服器設定與 Godot 偵測。編輯場景與節點:建立、列出、檢視、複製、刪除場景並設定主場景,新增、移除、重新命名、列出場景樹節點並讀寫屬性。處理指令碼與著色器:建立、讀取、寫入、掛載、列出和刪除 GDScript 檔案,建立、讀取、寫入、列出著色器並檢視參數。編寫遊戲內容:動畫播放器、軌道和關鍵影格;圖磚地圖與圖磚集;物理層與碰撞體;音訊匯流排和效果;導航區域、代理和障礙物;UI 控制項與主題;輸入對應和訊號連線。
- 適用情境
- 適合在 AI 程式設計助理中建置或修改 Godot 4 遊戲專案,尤其是無需開啟編輯器即可對專案檔案進行場景、節點、指令碼和資源的大量編輯。不適合新專案採用:該儲存庫已封存,不再維護。
- 執行需求
- 透過 npx 或 Docker 映像(amd64 和 arm64)以 stdio 在本機執行。無需帳號或憑證。需要 Godot 4.x 專案結構;Godot 執行檔對檔案操作是選用的,僅執行、停止、匯出和編輯器操作需要。GODOT_PATH 和 GODOT_PROJECT_PATH 為選用覆寫項,工具也接受 project_path 參數。Docker 需掛載專案目錄。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Better Godot Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
ARCHIVED 2026-09-13 — This repository is no longer maintained. Use the Godot editor + GDScript CLI toolchain instead of this MCP server. Existing installations keep working but receive no updates or support.
Better Godot MCP
mcp-name: io.github.n24q02m/better-godot-mcp
Composite MCP server for Godot Engine -- 17 composite tools for AI-assisted game development.
[Mode: stdio · http local non-relay] [CI] [codecov] [npm] [Docker] [License: Apache-2.0]
[TypeScript] [Node.js] [Godot Engine] [semantic-release] [Renovate]
Sister projects from n24q02m (click to expand)
Table of contents
- Features
- Install
- Smithery
- Documentation
- Tools
- Comparison
- Configuration
- CLI
- Security
- Build from source
- Trust model
- License
Features
- 17 composite mega-tools -- scene, node, script, shader, animation, tilemap, physics, audio, navigation, UI, and more
- Full scene control -- create, parse, and modify
.tscnfiles directly without Godot running - GDScript CRUD -- create, read, write, and attach scripts in a single call
- Tiered token optimization -- compressed descriptions + on-demand
helptool
Install
Runs over stdio by default. No credentials, no account, no relay -- the server reads and writes your local Godot project files directly. Godot 4.x is optional for file operations; only run/stop/export and editor actions need a Godot binary. The detector accepts Godot >=4.1. Live engine compatibility is currently verified with Godot 4.7.1 stable; this does not claim that every future minor release has been verified.
Via npx (recommended)
MCP client config
Add to your client's MCP config (Claude Code, Cursor, Windsurf, Codex, mcp.json):
GODOT_PROJECT_PATH is optional -- every tool also accepts a project_path argument per call.
Via Docker
The image is published for amd64 and arm64. Mount your project directory so the server can read and write scene, script, and resource files.
Smithery
better-godot-mcp ships a smithery.yaml so it can be discovered and deployed through Smithery. Smithery launches the server over stdio via npx -y @n24q02m/better-godot-mcp, and no configuration is required to start -- the server has no credentials and reads your local Godot project files directly.
Documentation
Full setup guide at mcp.n24q02m.com/servers/better-godot-mcp/setup/ -- install steps for Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and mcp.json.
Install with AI agent -- paste this to your AI coding agent:
Install MCP server
better-godot-mcpfollowing the steps at https://raw.githubusercontent.com/n24q02m/claude-plugins/main/plugins/better-godot-mcp/setup-with-agent.md
Tools
Comparison
How better-godot-mcp stacks up against direct competitors in each pillar:
Configuration
The Godot binary is auto-detected from common install locations and PATH. No environment variables are required for basic usage. Optionally set GODOT_PROJECT_PATH and GODOT_PATH to override the defaults.
HTTP transport
The server runs over stdio by default. To serve over Streamable HTTP instead, pass --http or set MCP_TRANSPORT=http (TRANSPORT_MODE=http is also accepted). HTTP mode exposes an unauthenticated /mcp endpoint -- there are no credentials to protect, so it is meant for trusted local or self-hosted use.
Limitations
- Requires a Godot 4.x project structure; a Godot binary is optional for file operations
- Scene files (
.tscn) are parsed/modified via text manipulation, not Godot's internal API run/stop/exportactions require Godot binary to be installed- Docker mode has limited filesystem access (mount your project directory)
CLI
The better-godot-mcp binary runs the MCP server by default (stdio; add --http for Streamable HTTP). It also exposes two diagnostic subcommands for checking your Godot environment before wiring up an MCP client.
detect exits 1 when no Godot binary is found; doctor exits 1 when the binary is missing (a missing project.godot is only a warning).
Security
- Binary detection -- Multi-path Godot detection (env, PATH, common locations)
- Project validation -- Verifies project.godot exists before operations
- Cross-platform -- Windows, macOS, Linux path handling
Build from source
Trust model
This plugin implements TC-Local (no auth required -- no credentials stored). See the trust model reference for full classification.
License
Apache-2.0 -- See LICENSE.
來源:README.md,提交 324e678
工具
0版本歷史
1- v1.24.4最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分