breakpoint-mcp

中文文档
1.89.0发布于 2026/11/03MITES Module

MCP server exposing Godot to AI coding assistants over the Model Context Protocol — developed and tested with Claude — across four planes (CLI, live editor, LSP+DAP, runtime) with elicitation-gated destructive tools, long jobs on the formal MCP task model

原始使用文档
文档目录6 节
  1. Install
  2. Register with your MCP client
  3. The addon (required for the editor / runtime planes)
  4. Local-first
  5. Security
  6. License

breakpoint-mcp

The MCP host for Breakpoint MCP — a Model Context Protocol server that exposes the Godot game engine to AI coding assistants across four planes: headless CLI, the live editor, Godot's own LSP + DAP, and a runtime bridge inside the running game. **295 tools

  • 6 MCP resources**, built against the stable @modelcontextprotocol/sdk 1.x API. Developed and tested with Claude; because MCP is an open protocol, other clients can connect too (currently untested — reports welcome).

This package is the TypeScript host that Claude talks to over stdio. It needs the companion Godot editor addon (breakpoint_mcp) installed in your project to reach anything beyond the headless-CLI plane — see the repository for the addon and the full architecture.

Install

The fastest path — from your Godot project folder, one command installs and enables the editor addon (bundled in this package) and prints your MCP-client config:

npx breakpoint-mcp init

Then open the project in Godot and verify the setup:

npx breakpoint-mcp doctor

init copies the addon into addons/breakpoint_mcp/, enables it in project.godot, and prints — or, with --client claude-code|claude-desktop|cursor|windsurf|vscode, writes — the client config. By default it uses the addon bundled in this package; add --from-github [ref] to fetch the addon from GitHub instead (e.g. --from-github main). doctor checks the Godot binary, the addon, and the four bridges (add --require-live once the editor is open; --json for a machine-readable report).

To install the breakpoint-mcp command globally instead of invoking it via npx:

npm i -g breakpoint-mcp

Requires Node ≥ 18. The host targets the @modelcontextprotocol/sdk 1.x line (the registerTool({ inputSchema, outputSchema }) + elicitation surface).

Register with your MCP client

Claude is the primary, tested client. Claude Code:

claude mcp add godot -- npx -y breakpoint-mcp

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "godot": {
      "command": "npx",
      "args": ["-y", "breakpoint-mcp"],
      "env": {
        "GODOT_BIN": "/abs/path/to/Godot",
        "GODOT_PROJECT": "/abs/path/to/your/project"
      }
    }
  }
}

Set GODOT_BIN if godot isn't on your PATH. The full environment-variable table (bridge / LSP / DAP / runtime hosts, ports, and timeouts) and a complete walkthrough are in the repository README and the User Guide.

Using Cursor, VS Code, Windsurf, or another MCP client? The command is identical — see the Compatibility section for each client's config file and format.

The addon (required for the editor / runtime planes)

breakpoint-mcp init installs and enables this for you — the editor addon ships inside this package, so you don't need the repository to get it. To do it by hand instead, copy addons/breakpoint_mcp/ into your project and enable it under Project Settings → Plugins. Either way it opens the loopback servers this host connects to and auto-registers the in-game runtime bridge; without it, only the headless-CLI (godot_*) plane works.

Local-first

This bridge is a local co-development tool: all four planes talk to 127.0.0.1, and screenshots render real frames, so run the host on the same machine as Godot. A remote deployment can't see a local editor and is limited to the headless subset.

Security

The host spawns the Godot binary, can run GDScript and a configured local command, and writes files into your project; destructive tools are confirmation-gated. See the security policy for the trust model and how to report a vulnerability.

License

MIT — see LICENSE. Godot, Claude/Anthropic, and the named backend SDKs are trademarks of their respective owners; Breakpoint MCP is an independent project and is not affiliated with or endorsed by them.

版本与发布记录

breakpoint-mcp 共发布 51 个版本,首次发布于 2026/07/10;过去 12 个月发布了 51 个版本。

版本发布日期距今
1.89.0latest2026/11/03今天
1.88.02026/11/03今天
1.87.02026/10/011 个月前
1.86.02026/09/181 个月前
1.85.12026/09/071 个月前
1.85.02026/09/061 个月前

关于 breakpoint-mcp 的常见问题

breakpoint-mcp 是什么?

MCP服务器通过模型上下文协议将Godot暴露给AI编码助手-由Claude开发和测试-跨越四个平面(CLI,实时编辑器,LSP+DAP,运行时),使用启事式破坏性工具,在正式的MCP任务模型上进行长时间作业

如何安装 breakpoint-mcp?

在项目目录运行 npm install breakpoint-mcp,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 breakpoint-mcp,可以用 npx breakpoint-mcp 直接运行。

breakpoint-mcp 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/breakpoint-mcp 是否存在。

breakpoint-mcp 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

breakpoint-mcp 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

breakpoint-mcp 可以商用吗?

breakpoint-mcp 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

breakpoint-mcp 还在维护吗?

最新版本 1.89.0 发布于 2026/11/03(今天);至今共发布 51 个版本,其中过去 12 个月发布了 51 个;首次发布于 2026/07/10。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。