PluginBench
MCP Server

io.github.growthbook/growthbook-mcp MCP Server

io.github.growthbook/growthbook-mcp

What is the io.github.growthbook/growthbook-mcp MCP server?

MCP Server for interacting with GrowthBook

How to install io.github.growthbook/growthbook-mcp

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • GB_API_KEY

    A GrowthBook API key or PAT.

  • GB_EMAIL

    Your email address used with GrowthBook. Used when creating feature flags and experiments.

  • GB_API_URL

    Your GrowthBook API URL. Defaults to `https://api.growthbook.io`.

  • GB_APP_ORIGIN

    Your GrowthBook app URL Defaults to `https://app.growthbook.io`.

  • GB_HTTP_HEADER_*

    Custom HTTP headers to include in all GrowthBook API requests. Use the pattern GB_HTTP_HEADER_<NAME> where <NAME> is converted to proper HTTP header format. Examples: GB_HTTP_HEADER_X_TENANT_ID=abc123, GB_HTTP_HEADER_CF_ACCESS_TOKEN=<token>. Multiple custom headers can be configured.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "growthbook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@growthbook/mcp"
      ],
      "env": {
        "GB_API_KEY": "<YOUR_GB_API_KEY>",
        "GB_EMAIL": "<YOUR_GB_EMAIL>",
        "GB_API_URL": "<YOUR_GB_API_URL>",
        "GB_APP_ORIGIN": "<YOUR_GB_APP_ORIGIN>",
        "GB_HTTP_HEADER_*": "<YOUR_GB_HTTP_HEADER_>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "growthbook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@growthbook/mcp"
      ],
      "env": {
        "GB_API_KEY": "<YOUR_GB_API_KEY>",
        "GB_EMAIL": "<YOUR_GB_EMAIL>",
        "GB_API_URL": "<YOUR_GB_API_URL>",
        "GB_APP_ORIGIN": "<YOUR_GB_APP_ORIGIN>",
        "GB_HTTP_HEADER_*": "<YOUR_GB_HTTP_HEADER_>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "growthbook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@growthbook/mcp"
      ],
      "env": {
        "GB_API_KEY": "<YOUR_GB_API_KEY>",
        "GB_EMAIL": "<YOUR_GB_EMAIL>",
        "GB_API_URL": "<YOUR_GB_API_URL>",
        "GB_APP_ORIGIN": "<YOUR_GB_APP_ORIGIN>",
        "GB_HTTP_HEADER_*": "<YOUR_GB_HTTP_HEADER_>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "growthbook-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@growthbook/mcp"
      ],
      "env": {
        "GB_API_KEY": "<YOUR_GB_API_KEY>",
        "GB_EMAIL": "<YOUR_GB_EMAIL>",
        "GB_API_URL": "<YOUR_GB_API_URL>",
        "GB_APP_ORIGIN": "<YOUR_GB_APP_ORIGIN>",
        "GB_HTTP_HEADER_*": "<YOUR_GB_HTTP_HEADER_>"
      }
    }
  }
}
Claude Code
claude mcp add growthbook-mcp --env GB_API_KEY=<YOUR_GB_API_KEY> --env GB_EMAIL=<YOUR_GB_EMAIL> --env GB_API_URL=<YOUR_GB_API_URL> --env GB_APP_ORIGIN=<YOUR_GB_APP_ORIGIN> --env GB_HTTP_HEADER_*=<YOUR_GB_HTTP_HEADER_> -- npx -y @growthbook/mcp

Related MCP servers

Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.

67k
Python
BSD-3-Clause
View repository →

Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.

45k
TypeScript
Apache-2.0
View repository →

Let AI agents manage your Puter files, websites, and serverless workers over MCP.

43k
TypeScript
AGPL-3.0
View repository →

Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.

37k
TypeScript
Apache-2.0
View repository →

Run arbitrary shell commands from an MCP-connected AI agent.

37k
TypeScript
Apache-2.0
View repository →

Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.

37k
TypeScript
Apache-2.0
View repository →