
ProductBrain
io.github.moxzasv0.1.0更新于 Oct 9, 2026
Drive your ProductBrain product plan (goals, needs, bets, jobs) from any MCP client.
概览
让助手搜索、读取和修改 ProductBrain 产品计划(目标、需求、下注、任务),并驱动其实时画布。
- 功能
- 它是 ProductBrain 版本化 v1 REST API 的轻量传输层,每个面向代理的端点对应一个工具。工具涵盖语义搜索、节点批量读取、树状上下文、节点与阶段变更、迭代列表、故事映射方法论工作流、OKF 导出以及计划变更日志。它还能驱动或读取实时画布,并管理项目、Webhook、分享链接、成员、代理席位和套餐状态。
- 适用场景
- 当团队把产品计划放在 ProductBrain,并希望助手在聊天客户端中查询内容、提出或执行计划变更、运行故事映射方法论,或管理项目、Webhook 和分享链接时,适合使用。
- 运行要求
- 通过 npx 以 stdio 方式在本地运行 npm 包 @productbrain-com/mcp,因此需要 Node.js。需要在 PRODUCTBRAIN_API_KEY 中提供 ProductBrain API 密钥(应用 API Keys 设置中的 pb_ 密钥;免费套餐也包含 API 访问)。PRODUCTBRAIN_PROJECT_ID 可选,PRODUCTBRAIN_API_URL 默认指向托管 API。仅支持桌面客户端。
安装
在 SourceWeft 中
- 打开 控制台中的 ProductBrain,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
ProductBrain MCP server
Drive your ProductBrain plan from an MCP client — Claude Desktop, Cursor, Claude Code — with tools for search, read, mutate, the methodology workflow, and the live view.
Design — a thin shim, on purpose
This server is a thin transport over ProductBrain's versioned v1 REST API. Each tool is one call to an existing /api/v1 endpoint. The REST contract stays canonical:
- It's stable when the MCP spec churns — the contract you depend on is the frozen v1 API, not the protocol.
- You can drop to raw HTTP or bring your own LLM at any time; MCP is one front-door, not the only one.
- Responses carry the same in-band
_metacoaching the API returns, so your agent self-corrects.
Install
Cursor and other clients: add an mcpServers entry with the same command/args/env.
Config (env)
Tools
Every agent-facing /api/v1 endpoint has a tool. One tool, one endpoint, same _meta coaching passed back verbatim.
The plan
The view
Projects
Webhooks
Share links
Members and budget
Full API reference: https://productbrain.com/docs/llm-guide.md.
Source, licence, registry
- Source: https://github.com/moxzas/productbrain-mcp (MIT). Issues and pull requests welcome there.
- npm:
@productbrain-com/mcp. Every release is published from the repository's tag of the same version. - MCP registry name:
io.github.moxzas/productbrain(server.jsonin this repo is the registry manifest). - The server sends
User-Agent: productbrain-mcp/<version>so you can tell MCP traffic from raw REST calls in your own logs.
Proving it works
Two headless scripts in the repository (src/spike-proof.ts, src/parity-proof.ts; not shipped in the npm package), both run against a real deployment. Use a throwaway project on your own account:
parity creates its own throwaway project and cleans up after itself (archiving it at the end — there is no project-delete endpoint).
The Team-tier tools (add_agent_seat, invite_contributor) return 403 team_tier_required on a Builder key, and that counts as a pass — with one caveat worth knowing. It proves the shim reached the right route and passed the error and its _meta tip straight through; it does not validate the request body, because the tier gate runs before the body is read. Run parity with a Team-tier key to check those two properly.
来源:README.md,提交 501f630
工具
0版本历史
1- v0.1.0最新Oct 9, 2026

