返回 Skill 列表
extension
分类: 开发与工程无需 API Key

godot-mcp-dap-start

启动或重启Godot编辑器的MCP服务器以及该项目的调试器/DAP端口。当MCP工具缺失、握手失败或调试端口不存在时使用;包括单个编辑器的重启工作流和命令检查。

person作者: jakexiaohubgithub

Godot MCP + Debug Start

Overview

Ensure a single Godot editor instance is running, MCP is reachable, and the debug port is available for HPV and runtime inspection.

Workflow (Option A: clean restart)

  1. Run the start script to ensure MCP is up:
    • powershell -ExecutionPolicy Bypass -File scripts/ensure_godot_mcp.ps1
  2. If MCP handshake fails or multiple editors are running, rerun with a forced restart:
    • powershell -ExecutionPolicy Bypass -File scripts/ensure_godot_mcp.ps1 -ForceRestart
  3. If you need the debug port for runtime inspection, rerun with:
    • powershell -ExecutionPolicy Bypass -File scripts/ensure_godot_mcp.ps1 -StartGameForDebug

Success Criteria

  • Port 9080 is listening and godot-mcp-cli --list-tools succeeds.
  • When -StartGameForDebug is used, port 6007 is listening.

Notes

  • Do not ask the user to click the MCP panel. Use the script first.
  • Use a single Godot editor instance to avoid MCP conflicts.
  • See references/commands.md for CLI and port checks.