growthbook-mcp

v2.2.0
io.github.growthbook/growthbook-mcp Checked 3 hours ago Published 1 month ago

Thin MCP server for GrowthBook — skill loader + authenticated API passthrough

Values you need

VariableWhat it is
GB_API_KEYoptional A GrowthBook API key or personal access token.
GB_API_URLoptional Your GrowthBook API URL. Defaults to https://api.growthbook.io.
GB_SKILLS_ENABLEDoptional Set to false to disable bundled skill tools (growthbook_list_skills, growthbook_read_skill). Defaults to true.
GB_HTTP_HEADER_*optional Custom HTTP headers via GB_HTTP_HEADER_<NAME> (e.g. GB_HTTP_HEADER_CF_ACCESS_TOKEN).

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add growthbook-mcp -- npx -y @growthbook/mcp@2.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "growthbook-mcp": {
      "args": [
        "-y",
        "@growthbook/mcp@2.2.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "growthbook-mcp": {
      "args": [
        "-y",
        "@growthbook/mcp@2.2.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "growthbook-mcp": {
      "args": [
        "-y",
        "@growthbook/mcp@2.2.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.growthbook-mcp]
command = "npx"
args = ["-y", "@growthbook/mcp@2.2.0"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: growthbook_api_read, growthbook_api_write, growthbook_list_skills, growthbook_read_skill.
  4. 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