mcp-tools-godot
Godot MCP servers reference — editor, diagnostics, testing, docs, runtime. Load when doing Godot game dev.
适合你,如果正在用 Godot 引擎做游戏,需要 MCP 工具辅助开发
npx oh-my-skill add dragoscirjan/opencode-config/mcp-tools-godotcurl -fsSL https://oh-my-skill.com/install.sh | bash -s -- dragoscirjan/opencode-config/mcp-tools-godotnpx oh-my-skill verify dragoscirjan/opencode-config/mcp-tools-godot怎么用
商店整理自技能原文 · 版本 f561928 · 表述以原文为准装上后,Claude 可以管理 Godot 项目(打开编辑器、运行项目、获取调试输出),创建和编辑场景(添加节点、保存场景),分析脚本和场景中的问题,搜索官方文档,以及运行测试。
当你在做 Godot 游戏开发,并且安装了 Godot 4 时,Claude 会使用这些工具来帮助你。
技能原文 SKILL.md
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 (replacesgodot --headless --quit 2>&1for 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 manualfind/ls
When to stick with bash:
--write-moviecapture (MCP has no equivalent)--check-onlyscript validation--headless --importasset 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.