‹ 首页

mcp-tools-godot

@dragoscirjan · 收录于 1 周前 · 上游提交 1 个月前

Godot MCP servers reference — editor, diagnostics, testing, docs, runtime. Load when doing Godot game dev.

适合你,如果正在用 Godot 引擎做游戏,需要 MCP 工具辅助开发

/ 通过 npx 安装 校验哈希
npx oh-my-skill add dragoscirjan/opencode-config/mcp-tools-godot
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- dragoscirjan/opencode-config/mcp-tools-godot
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify dragoscirjan/opencode-config/mcp-tools-godot
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
0GitHub stars
~1K上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 f561928 · 表述以原文为准
它做什么

装上后,Claude 可以管理 Godot 项目(打开编辑器、运行项目、获取调试输出),创建和编辑场景(添加节点、保存场景),分析脚本和场景中的问题,搜索官方文档,以及运行测试。

什么时候触发

当你在做 Godot 游戏开发,并且安装了 Godot 4 时,Claude 会使用这些工具来帮助你。

装好后可以这样说
技能原文 SKILL.md作者撰写 · MIT · f561928

Godot MCP Servers

Opt-in. All Godot MCP servers are disabled by default in opencode.json — enable the ones you need when Godot 4 is installed and you're doing game dev.

Five complementary MCP servers cover different aspects of the Godot development workflow. The godot-* TypeScript tools handle asset generation, processing, and visual QA; the MCP servers handle editor interaction, runtime, diagnostics, docs, and testing.

godot_editor — Editor & Runtime (@cgame-directorg-solo/godot-mcp)

MCP bridge to the Godot editor and runtime. Handles scene management and project execution.

| Tool | Purpose | | ----------------------- | -------------------------------------------------- | | launch_editor | Open a Godot project in the editor | | run_project | Run project in debug mode, capture output | | get_debug_output | Retrieve debug/console output from running project | | stop_project | Stop the running project | | get_godot_version | Detect installed Godot version | | list_projects | List Godot projects in a directory | | get_project_structure | Analyze project file/scene structure | | create_scene | Create a new scene with a root node | | add_node | Add a child node to an existing scene | | load_sprite | Load a sprite/texture onto a node | | export_mesh_library | Export a MeshLibrary from scenes | | save_scene | Save a scene to .tscn | | get_uid | Get UID for a resource (Godot 4.4+) |

When to prefer MCP over bash:

  • run_project + get_debug_output — interactive debug runs (replaces godot --headless --quit 2>&1 for runtime testing)
  • create_scene + add_node + save_scene — simple scene scaffolding (replaces scene builder scripts for trivial scenes)
  • get_project_structure — quick project overview without manual find/ls

When to stick with bash:

  • --write-movie capture (MCP has no equivalent)
  • --check-only script validation
  • --headless --import asset import
  • Any headless batch operation
godot_forge — Static Analysis & Testing (godot-forge)

Script analysis, scene antipattern detection, test running, and docs search. 6 of 8 tools work WITHOUT Godot installed.

| Tool | Purpose | | ------------------------ | ----------------------------------------------- | | godot_run_tests | Run GUT or GdUnit4 test suites | | godot_analyze_script | 10-pitfall detector for GDScript files | | godot_analyze_scene | Detect antipatterns in .tscn files | | godot_search_docs | Search Godot docs with 3-to-4 migration mapping | | godot_get_project_info | Read project metadata | | godot_get_diagnostics | LSP diagnostics (requires editor open) | | godot_run_project | Run the project | | godot_screenshot | Capture viewport as base64 |

godot_diagnostics — LSP & DAP (minimal-godot-mcp)

Bridges Godot's native Language Server Protocol and Debug Adapter Protocol. No plugin required — uses Godot's built-in language server.

| Tool | Purpose | | ---------------------------- | ------------------------------------------------------ | | get_diagnostics | Single-file LSP check (syntax errors, type mismatches) | | scan_workspace_diagnostics | Bulk workspace diagnostics scan | | get_console_output | DAP debug console output | | clear_console_output | Clear DAP console |

godot_docs — Online Documentation (@nuskey8/godot-docs-mcp)

Search docs.godotengine.org directly — tutorials, guides, and full class reference. Complements the offline godot-api-docs tool (XML class reference) with live online search.

| Tool | Purpose | | ---------------------- | ------------------------------------ | | godot_docs_search | Keyword search across all Godot docs | | godot_docs_get_page | Fetch a specific documentation page | | godot_docs_get_class | Fetch a class reference page |

godot_gopeak — Full-Stack Runtime (gopeak)

110+ tools for scene/script/resource manipulation, runtime inspection, DAP debugging (breakpoints, stepping, stack traces), input injection, viewport screenshots, and CC0 asset library (Poly Haven, AmbientCG, Kenney). Requires Godot editor plugin + runtime addon for many tools.

| Category | Capabilities | | ------------ | -------------------------------------------------------------------------- | | Scene/Script | Scene tree queries, script management, resource handling | | Runtime | ClassDB queries, runtime node inspection, property manipulation | | Debugger | DAP integration — breakpoints, stepping, stack traces, variable inspection | | Input | Input event injection for automated testing | | Assets | CC0 asset library browsing (Poly Haven, AmbientCG, Kenney) | | Visual | Viewport screenshots, scene visualizer |

Note: GoPeak is the most powerful but also the most complex. Enable it only when you need interactive debugging or CC0 asset browsing. For most headless pipeline work, the other four servers suffice.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。