ProductBrain

v0.1.0
io.github.moxzas/productbrain Checked 4 days ago Published 1 month ago

Drive your ProductBrain product plan (goals, needs, bets, jobs) from any MCP client.

Values you need

VariableWhat it is
PRODUCTBRAIN_API_KEYrequired secret Your pb_ API key (Settings → API Keys in the app; the free tier includes API access).
PRODUCTBRAIN_PROJECT_IDoptional Default project id. Optional; every tool also accepts projectId.
PRODUCTBRAIN_API_URLoptional API base URL. Defaults to https://productbrain.com/api/v1. Default: https://productbrain.com/api/v1

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add productbrain -e 'PRODUCTBRAIN_API_KEY=<PRODUCTBRAIN_API_KEY>' -- npx -y --package=@productbrain-com/mcp@0.1.0 productbrain
Add to claude_desktop_config.json
{
  "mcpServers": {
    "productbrain": {
      "args": [
        "-y",
        "--package=@productbrain-com/mcp@0.1.0",
        "productbrain"
      ],
      "command": "npx",
      "env": {
        "PRODUCTBRAIN_API_KEY": "<PRODUCTBRAIN_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "productbrain": {
      "args": [
        "-y",
        "--package=@productbrain-com/mcp@0.1.0",
        "productbrain"
      ],
      "command": "npx",
      "env": {
        "PRODUCTBRAIN_API_KEY": "<PRODUCTBRAIN_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "PRODUCTBRAIN_API_KEY",
      "id": "productbrain-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "productbrain": {
      "args": [
        "-y",
        "--package=@productbrain-com/mcp@0.1.0",
        "productbrain"
      ],
      "command": "npx",
      "env": {
        "PRODUCTBRAIN_API_KEY": "${input:productbrain-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.productbrain]
command = "npx"
args = ["-y", "--package=@productbrain-com/mcp@0.1.0", "productbrain"]
env = { "PRODUCTBRAIN_API_KEY" = "<PRODUCTBRAIN_API_KEY>" }

For AI agents

  1. Ask the user for: PRODUCTBRAIN_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: search, list_nodes, get_tree, get_changelog, mutate, list_iterations, run_workflow, set_view, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json