Gopeak

io.github.HaD0Yun由 GitHub 账号 HaD0Yun 发布v2.0.1更新于 Nov 10, 2026

GoPeak — The most comprehensive MCP server for Godot Engine. 95+ tools, LSP, DAP, screenshots.

已验证STDIO仅桌面浏览器自动化开发者工具

概览

AI 生成的概览

面向 Godot 引擎的本地 MCP 服务器,让 AI 助手运行、检查、修改并调试真实的 Godot 4 项目。

可以做什么
  • 启动编辑器、运行或停止项目并获取调试输出
  • 创建场景,添加、删除或重新挂载节点,编辑节点属性
  • 创建和修改脚本、资源、材质、着色器与图块集
  • 连接信号,构建动画、轨道与状态机
  • 检查运行时场景树、设置运行时属性并调用方法
  • 获取 GDScript 诊断、补全与悬停信息,设置断点并单步执行、查看堆栈
适用场景
适合希望助手基于真实项目与运行时状态工作的 Godot 4 独立开发者或小团队,尤其适合“运行游戏、读取报错、就地修复”这类调试密集的流程。
运行要求
通过 npx 或全局 npm 安装后在本地运行,需要 Node.js 18+ 和 Godot 4.x。若无法自动检测 Godot,需设置 GODOT_PATH。可选功能需要 Godot 编辑器桥接插件、运行时插件,并开放端口:默认桥接 6505、LSP 6005、DAP 6006、运行时套接字 7777。工具配置与分页由 GOPEAK_TOOL_PROFILE 和 GOPEAK_TOOLS_PAGE_SIZE 控制。
安装前请注意
该服务器会修改项目文件,并可运行游戏、注入输入和截取截图,改动应加以审阅。可选插件安装以 shell 脚本或 PowerShell 命令形式提供,会改动 Godot 项目。可选的素材组会通过网络下载外部 CC0 素材。可选的 setup 命令会修改 bash/zsh 配置文件。未声明任何凭据。

安装

在 SourceWeft 中

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

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

GoPeak

[图片] [Made with Godot] [Bun] [GitHub Release] [图片]

🌐 Languages: English | 한국어 | 日本語 | Deutsch | Português | 简体中文

[GoPeak Hero]

GoPeak is an MCP server for Godot 4 that gives AI assistants a real edit → run → inspect → fix loop.

It is designed for trusted Godot 4 workflows: small default tool surface, setup-gated advanced capabilities, and explicit compatibility rules for older/legacy tool names.

English is the canonical source of truth. Localized READMEs are concise overviews and may lag behind README.md.

Discord is temporarily unavailable while the invite link is refreshed. Use GitHub Discussions for now.


Quick Start

Requirements

  • Godot 4.x
  • Bun 1.3.3+
  • MCP-compatible client such as Claude Desktop, Cursor, Cline, or OpenCode

1) Install GoPeak

bash
bun add -g https://github.com/HaD0Yun/Doyunha-Gopeak/releases/download/v2.4.1/gopeak-2.4.1.tgz

That is the quickest installation path. It installs the bundled runtime directly from GitHub Releases without npm. For a checksum-verified installation, use:

bash
curl -fLO https://github.com/HaD0Yun/Doyunha-Gopeak/releases/download/v2.4.1/gopeak-2.4.1.tgzcurl -fLO https://github.com/HaD0Yun/Doyunha-Gopeak/releases/download/v2.4.1/gopeak-2.4.1.tgz.sha256if command -v sha256sum >/dev/null 2>&1; then  sha256sum -c gopeak-2.4.1.tgz.sha256else  shasum -a 256 -c gopeak-2.4.1.tgz.sha256fibun add -g "$PWD/gopeak-2.4.1.tgz"

The verified path checks the downloaded release before Bun installs it globally. The absolute tarball path avoids a relative-path bug in Bun 1.3.3. The checksum command works on Linux (sha256sum) and macOS (shasum). To use the supported installer instead, download or clone the repository and run it locally—do not pipe a remote script into a shell:

bash
git clone https://github.com/HaD0Yun/Doyunha-Gopeak.gitcd Doyunha-Gopeak./install.sh

The release archive contains the bundled runtime. Installation and execution do not contact the npm registry or require npm credentials. For stronger provenance checking, release reviewers can also verify the GitHub artifact attestation as described in the release process.

If you used the old installer, --dir, --godot, and --configure remain accepted with warnings through the 2.3.x line and are planned for removal in 3.0.0. The new mappings are: use Bun's global home (BUN_INSTALL) instead of a source checkout directory, put GODOT_PATH in the MCP client env, and use the configuration below instead of relying on installer output. During the compatibility window, --godot and --configure still print a client snippet but never write client files. See the migration policy for the exact contract.

2) Add MCP client config

json
{  "mcpServers": {    "godot": {      "command": "gopeak",      "args": [],      "env": {        "GODOT_PATH": "/path/to/godot",        "GOPEAK_TOOL_PROFILE": "compact"      }    }  }}

compact is the default profile. It keeps the initial MCP context small and exposes additional setup-gated groups only when requested.

3) Try these prompts

  • "List Godot projects in /your/projects and show project info."
  • "Create scenes/Player.tscn with a CharacterBody2D root and a movement script."
  • "Run the project, read the debug output, and fix the top error."
  • "Use tool.catalog to find animation tools, then activate the right group."

What You Get

WorkflowWhat GoPeak can do
Project controlFind projects, launch the editor, run/stop the game, collect debug output.
Scene + script editingCreate scenes, add nodes, edit typed properties, create/modify GDScript.
Resource workflowsWork with resources, materials, shaders, imports, and export-related checks.
DebuggingUse logs, Godot LSP diagnostics, DAP breakpoints/stack traces, and runtime inspection when configured.
Runtime testingCapture screenshots, inspect live trees, inject input, and call runtime methods through the addon.
Tool discoveryKeep the default surface compact, then activate capability groups with tool.catalog or tool.groups.

Setup gates

Some capabilities require extra Godot-side services. GoPeak labels these instead of pretending everything is always available:

CapabilityRequires
Editor bridge scene/resource editsgodot_mcp_editor plugin enabled in the Godot project.
Runtime inspection, screenshots, input injectionRuntime addon/socket, default port 7777.
GDScript LSP toolsGodot LSP enabled on port 6005.
DAP debugging toolsGodot DAP enabled on port 6006.
Asset store/provider toolsNetwork access and provider availability.

Add the Godot Plugins

Install from your Godot project folder:

bash
curl -sL https://raw.githubusercontent.com/HaD0Yun/Doyunha-Gopeak/main/install-addon.sh | bash

PowerShell:

powershell
iwr https://raw.githubusercontent.com/HaD0Yun/Doyunha-Gopeak/main/install-addon.ps1 -UseBasicParsing | iex

Then enable plugins in Project Settings → Plugins:

  • godot_mcp_editor for bridge-backed scene/resource tools
  • godot_mcp_runtime for runtime inspection, screenshots, and input workflows

Optional shell hooks for update notifications are opt-in:

bash
gopeak setup

gopeak setup only modifies supported bash/zsh rc files when you run it explicitly. Installing the release asset does not add shell hooks automatically.


Tool Profiles

GoPeak supports three exposure profiles:

ProfileUse when
compactDefault. Trusted core tools plus dynamic groups activated on demand.
fullCompatibility/audit mode for the full legacy surface.
legacyOlder config alias with the same exposed behavior as full.

Set either GOPEAK_TOOL_PROFILE or the fallback alias MCP_TOOL_PROFILE.

Dynamic groups

In compact mode, search with tool.catalog; matching groups auto-activate. You can also manage groups directly with tool.groups.

Common groups:

GroupStatusNotes
runtimeoptional-runtimeLive scene tree, properties, method calls, metrics. Requires runtime addon/socket.
testingoptional-runtimeScreenshots, viewport capture, input injection. Requires runtime/editor setup.
lspoptional-lspDiagnostics, completion, hover, symbols. Requires Godot LSP on port 6005.
dapoptional-dapBreakpoints, stepping, stack traces. Requires Godot DAP on port 6006.
asset_storeoptional-networkExternal CC0 asset search/download. Network/provider dependent.
class_advancedtrusted-staticClassDB/inheritance discovery backed by static engine metadata.
tilemapaudit-requiredMust account for Godot 4.3+ TileMapLayer behavior before promotion.
mutation groupsaudit-requiredScene/resource/script/settings/signal/autoload/import/audio/navigation/theme/animation groups need fixture evidence before being marketed as fully trusted.
intent_trackingworkflow-layerWorkflow memory/handoff helpers, not a Godot engine primitive. Keep opt-in.

If your MCP client does not refresh after activation, reconnect the client or call the newly activated tool once to force a fresh tools/list round-trip.

GoPeak also uses cursor-based pagination for tools/list so large profiles are not dumped into context at once. Tune it with GOPEAK_TOOLS_PAGE_SIZE when needed.


Typed Godot Values

Bridge-backed scene tools such as add_node and set_node_properties accept common vector payloads for typed properties:

json
{  "position": { "type": "Vector2", "x": 100, "y": 200 },  "scale": { "type": "Vector2", "x": 2, "y": 2 }}

Plain { "x": 100, "y": 200 } and [100, 200] are also coerced for common Vector2 fields, but tagged values are safest across tools.


Useful Commands

bash
# run the globally installed CLIgopeak
# run from sourcegit clone https://github.com/HaD0Yun/Doyunha-Gopeak.gitcd Doyunha-Gopeakbun cibun run buildbun run ./build/index.js
# local verificationbun run cibun run test:dynamic-groupsbun run test:metadatabun run test:packaging

CLI bin names:

  • gopeak
  • godot-mcp

Environment & Ports

NamePurposeDefault
GOPEAK_TOOL_PROFILETool exposure profile: compact, full, legacycompact
MCP_TOOL_PROFILEFallback profile env aliascompact
GODOT_PATHExplicit Godot executable pathauto-detect
GODOT_BRIDGE_PORTBridge/Visualizer HTTP+WS port override6505
GOPEAK_BRIDGE_HOSTBridge/Visualizer bind host127.0.0.1
GOPEAK_TOOLS_PAGE_SIZENumber of tools per tools/list page34
GOPEAK_RUNTIME_TIMEOUT_MSRuntime addon command timeout in milliseconds10000
DEBUGEnable server debug logsfalse
LOG_MODERecording mode: lite or fulllite
PortService
6505Unified Godot Bridge + Visualizer server on loopback by default.
6005Godot LSP.
6006Godot DAP.
7777Runtime addon command socket.

Runtime screenshot tools (capture_screenshot, capture_viewport) use a GoPeak-managed temporary PNG file when the runtime addon supports output_path, then return normal MCP image content. Older runtime addons that do not receive an output_path continue to return inline base64 screenshots.


Troubleshooting

  • Godot not found → set GODOT_PATH.
  • No MCP tools visible → restart your MCP client.
  • Need a hidden tool → search with tool.catalog or activate a group with tool.groups.
  • Project path invalid → confirm project.godot exists.
  • Runtime tools not working → install/enable the runtime addon and check port 7777.
  • Runtime screenshots time out → update the runtime addon so screenshot commands support the managed output_path flow. For slow runtime responses, raise GOPEAK_RUNTIME_TIMEOUT_MS; older addons may still time out on large inline base64 screenshots.
  • Editor bridge disconnected → stop duplicate gopeak/MCP servers that may already own bridge port 6505; get_editor_status reports bridge startup errors such as EADDRINUSE.

Migration & Deprecation Policy

GoPeak treats compact as the safe default and full/legacy as compatibility profiles. Future hide, remove, rename, or API-contract changes must include:

  1. old → new mapping or an explicit no-replacement note;
  2. profile impact (compact, full, legacy, or opt-in group);
  3. alias window and planned removal timing;
  4. README/docs and release-note updates;
  5. verification proving tools/list exposure and alias behavior;
  6. migration prompt examples for common Godot workflows.

Current stance: legacy tool names and compact aliases remain supported. Optional external groups (runtime, testing, lsp, dap, asset_store) are setup-gated, not always-available core behavior.

Full policy: docs/migration-policy.md.


More Docs


License & Credits

MIT — see LICENSE.

来源:README.md,提交 61dd5d0

工具

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

版本历史

1
  1. v2.0.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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