Gopeak-godot-mcp
by HaD0Yun·★ 182·综合分 50
GoPeak 是一个专为 Godot 4 设计的综合性 MCP 服务器,提供 95+ 种工具支持游戏开发工作流。
概述
GoPeak 让 AI 助手能够通过编辑 → 运行 → 检查 → 修复的循环与 Godot 4 进行交互。它提供场景管理、GDScript 编辑、调试、运行时检查和资源工作流等工具。服务器提供三种工具配置文件:'compact'(默认,最小化工具配合可选组)、'full'(完整遗留接口)和 'legacy'(与 full 相同)。某些可选功能需要额外的 Godot 插件和服务,如 LSP 和 DAP 服务器。
试试问 AI
装完之后,这里有 6 个你可以让 AI 做的事:
什么时候选它
当您使用 Godot 引擎并需要 AI 辅助场景管理、调试和游戏开发工作流时,选择 GoPeak。
什么时候不要选它
如果您不使用 Godot 引擎,或者偏好独立运行的 MCP 服务器而不需要外部插件依赖,则不要选择 GoPeak。
此 server 暴露的工具
从 README 抽取出 12 个工具tool.catalogSearch and activate capability groups based on keywords.
tool.groupsManage tool capability groups directly.
get_editor_statusCheck the status of the Godot editor bridge connection.
find_projectsFind Godot projects in specified directories.
launch_editorLaunch the Godot editor with project context.
run_projectRun the Godot project and collect output.
stop_projectStop a running Godot project.
add_nodeAdd a node to the current scene.
set_node_propertiesSet properties of a node in the scene.
create_sceneCreate a new Godot scene file.
create_gdscriptCreate or modify GDScript files.
screenshotCapture a screenshot of the running game.
可对比工具
安装
安装
要求
- Godot 4.x
- Node.js 18+
- 兼容的 MCP 客户端(Claude Desktop、Cursor、Cline 或 OpenCode)
1) 运行 GoPeak
npx -y gopeak2) 添加 MCP 客户端配置
{
"mcpServers": {
"godot": {
"command": "npx",
"args": ["-y", "gopeak"],
"env": {
"GODOT_PATH": "/path/to/godot",
"GOPEAK_TOOL_PROFILE": "compact"
}
}
}
}3) 安装 Godot 插件
在您的 Godot 项目文件夹中执行:
curl -sL https://raw.githubusercontent.com/HaD0Yun/Gopeak-godot-mcp/main/install-addon.sh | bash在 Project Settings → Plugins 中启用插件:
godot_mcp_editor用于场景/资源工具godot_mcp_runtime用于运行时检查、截图和输入注入
FAQ
- 哪些 MCP 客户端与 GoPeak 兼容?
- GoPeak 与 Claude Desktop、Cursor、Cline 和 OpenCode 等 MCP 客户端兼容。
- GoPeak 提供哪些可选功能?
- GoPeak 提供可选功能包括运行时检查、截图、输入注入(需要运行时插件)、GDScript LSP 工具(需要端口 6005 上的 Godot LSP)、DAP 调试工具(需要端口 6006 上的 Godot DAP)和资产商店工具(需要网络访问)。
- 如果 GoPeak 工具不可见,如何排查?
- 重新启动您的 MCP 客户端,使用 'tool.catalog' 搜索隐藏的工具,使用 'tool.groups' 激活工具组,确认项目路径有效,或确保运行时工具已正确安装和启用。
Gopeak-godot-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。