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.

已验证STDIO仅桌面开发者工具媒体与设计

概览

AI 生成的概览

本地 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 需挂载项目目录。
安装前请注意
服务器会直接读写 Godot 项目文件,包括删除场景、脚本和资源,请使用版本控制并限定项目路径。可选的 HTTP 模式会暴露无认证端点,仅适用于可信的本地或自托管环境。场景文件通过文本操作修改,而非 Godot 内部 API。仓库已归档,不会有更新或支持。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Better Godot Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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)
ProjectTaglineTag
agent-chat-pluginPeer AI agents chat in a shared folder — no human relay, no orchestrator, wor...Tooling
better-code-review-graphKnowledge graph for token-efficient code reviews -- semantic search and call-...MCP
better-drive2-way Google Drive sync with .driveignore filter — rclone engine, Windows trayTooling
better-email-mcpIMAP/SMTP email for AI agents -- read, send, organize folders, and manage att...MCP
better-godot-mcpComposite MCP server for Godot Engine -- 17 composite tools for AI-assisted g...MCP
better-notion-mcpMarkdown-first Notion for AI agents -- pages, databases, blocks, and comments...MCP
better-semantic-releaseDrop-in python-semantic-release fork with built-in release-safety guards (orp...Tooling
better-telegram-mcpTelegram for AI agents -- messages, chats, media, and contacts across both bo...MCP
better-workspace-mcpGoogle Workspace MCP server (Docs/Drive/Calendar/Gmail/Sheets/Slides/Tasks/Ch...MCP
claude-pluginsClaude Code plugin marketplace for the n24q02m MCP servers -- install web sea...Marketplace
imagine-mcpImage and video understanding + generation for AI agents -- across Gemini, Op...MCP
jules-task-archiverChrome Extension for bulk operations on Jules tasks via batchexecute API -- a...Tooling
mcp-coreShared foundation for building MCP servers -- Streamable HTTP transport, OAut...MCP
mnemo-mcpPersistent AI memory with hybrid search and embedded sync. Open, free, unlimi...MCP
qwen3-embedLightweight Qwen3 text embedding and reranking via ONNX Runtime and GGUFLibrary
skretSecrets without the server.CLI
tacetA self-distilling neuro-symbolic cascade that amortises LLM cost across knowl...Tooling
web-coreShared web infrastructure package for search, scraping, HTTP security, and st...Library
wet-mcpOpen-source MCP server for AI agents: web search, content extraction, and lib...MCP

Table of contents

[Better Godot MCP server]

Features

  • 17 composite mega-tools -- scene, node, script, shader, animation, tilemap, physics, audio, navigation, UI, and more
  • Full scene control -- create, parse, and modify .tscn files directly without Godot running
  • GDScript CRUD -- create, read, write, and attach scripts in a single call
  • Tiered token optimization -- compressed descriptions + on-demand help tool

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)

bash
npx -y @n24q02m/better-godot-mcp@latest

MCP client config

Add to your client's MCP config (Claude Code, Cursor, Windsurf, Codex, mcp.json):

json
{  "mcpServers": {    "better-godot-mcp": {      "command": "npx",      "args": ["-y", "@n24q02m/better-godot-mcp"],      "env": {        "GODOT_PROJECT_PATH": "/path/to/your/godot/project"      }    }  }}

GODOT_PROJECT_PATH is optional -- every tool also accepts a project_path argument per call.

Via Docker

bash
docker run -i --rm -v /path/to/your/godot/project:/project n24q02m/better-godot-mcp

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-mcp following the steps at https://raw.githubusercontent.com/n24q02m/claude-plugins/main/plugins/better-godot-mcp/setup-with-agent.md

Tools

ToolActionsDescription
projectinfo, version, run, stop, settings_get, settings_set, exportProject metadata, run/stop, and settings
scenescreate, list, info, delete, duplicate, set_mainScene file management
nodesadd, remove, rename, list, set_property, get_propertyScene tree node manipulation
scriptscreate, read, write, attach, list, deleteGDScript file CRUD
editorlaunch, statusLaunch Godot editor and check status
configstatus, set, detect_godot, checkServer configuration and environment detection
resourceslist, info, delete, import_configResource file management
input_maplist, add_action, remove_action, add_eventInput action and event mapping
signalslist, connect, disconnectSignal connections
animationcreate_player, add_animation, add_track, add_keyframe, listAnimation players and tracks
tilemapcreate_tileset, add_source, set_tile, paint, listTileMap and TileSet management
shadercreate, read, write, get_params, listShader file CRUD with Godot 4 syntax
physicslayers, collision_setup, body_config, set_layer_nameCollision layers and physics bodies
audiolist_buses, add_bus, add_effect, create_streamAudio bus and effect management
navigationcreate_region, add_agent, add_obstacleNavigation regions, agents, and obstacles
uicreate_control, set_theme, layout, list_controlsUI control creation and theming
help-Get full documentation for any tool

Comparison

How better-godot-mcp stacks up against direct competitors in each pillar:

Capabilitybetter-godot-mcpCoding-Solo/godot-mcpbradypp/godot-mcptugcantopaloglu/godot-mcp
Scene file managementYes (scenes: create/list/info/delete/duplicate/set_main)Yes (create/save)Yes (create/save)Yes (create/read/modify)
Node tree manipulationYes (nodes: add/remove/rename/list/get+set_property)Partial (add only)Yes (add/edit/remove)Yes (add/remove/reparent)
GDScript file CRUDYes (scripts: create/read/write/attach/list/delete)NoNoPartial (create from template + runtime eval)
Shader file CRUDYes (shader: create/read/write/get_params/list)NoNoPartial (create/read .gdshader)
Animation authoringYes (animation: player/track/keyframe)NoNoYes (player/tween/state machine)
TileMap / TileSetYes (tilemap: tileset/source/set_tile/paint)NoNoYes (TileMapLayer cells)
Physics layers / bodiesYes (physics: layers/collision/body_config)NoNoYes (collision/joints/raycast)
Audio bus managementYes (audio: buses/effects/streams)NoNoYes (buses/routing/effects)
Navigation setupYes (navigation: region/agent/obstacle)NoNoYes (navigation)
UI control authoringYes (ui: control/theme/layout)NoPartial (via add node)Yes (controls/themes/menus)
Input map editingYes (input_map: action/event)NoNoYes (actions/key bindings)
Signal connectionsYes (signals: connect/disconnect/list)NoNoYes (connect/emit/await)
Launch editor / run projectYes (editor, project run/stop)YesYesYes
Works without running editorYes (text-based .tscn parsing)Yes (headless GDScript bridge)Yes (headless GDScript bridge)Partial (CLI headless or live TCP socket)
No credentials stored (TC-Local)YesYesYesYes
stdio + HTTP transportsYes (stdio default + --http)No (stdio only)No (stdio only)No (stdio only)
Docker image (amd64 + arm64)YesNoNoNo
Token-tiered tool descriptionsYes (compact + on-demand help)NoNoNo

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.

VariableRequiredDefaultDescription
GODOT_PROJECT_PATHNo-Default project path (tools also accept a project_path param)
GODOT_PATHNoAuto-detectedPath to the Godot binary

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.

VariableRequiredDefaultDescription
MCP_TRANSPORTNostdioSet to http for Streamable HTTP transport
PORTNo0 (auto-assign)HTTP port (HTTP mode only)
HOSTNoServer defaultHTTP host (HTTP mode only)

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/export actions 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.

CommandDescription
better-godot-mcpStart the MCP server (stdio default; --http for Streamable HTTP)
better-godot-mcp detectPrint the detected Godot binary as JSON (path, version, source); exits non-zero when none is found
better-godot-mcp doctorHealth-check the Godot binary and the current project (GODOT_PROJECT_PATH, else the working directory)
bash
# Detect the Godot binary (JSON output)npx -y @n24q02m/better-godot-mcp detect
json
{  "found": true,  "path": "/path/to/godot",  "version": {    "major": 4,    "minor": 7,    "patch": 1,    "label": "stable.official",    "raw": "4.7.1.stable.official"  },  "source": "system"}
bash
# Health-check the Godot binary and projectnpx -y @n24q02m/better-godot-mcp doctor
text
[ok] godot binary: /path/to/godot (source: system)[ok] godot version: 4.7.1.stable.official[warn] project: no project.godot found at /path/to/cwd (set GODOT_PROJECT_PATH)

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

bash
git clone https://github.com/n24q02m/better-godot-mcp.gitcd better-godot-mcpbun installbun run dev          # stdio mode (default)bun run dev:http     # Streamable HTTP mode

Trust model

This plugin implements TC-Local (no auth required -- no credentials stored). See the trust model reference for full classification.

ModeStorageEncryptionWho can read your data?
stdio (default)N/A (no credentials)N/AN/A
HTTP self-hostN/A (no credentials)N/AN/A

License

Apache-2.0 -- See LICENSE.

来源:README.md,提交 324e678

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.24.4最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分