MCP Server for interacting with GrowthBook
npx -y @growthbook/mcp{
"GB_API_KEY": "YOUR_VALUE_HERE",
"GB_EMAIL": "YOUR_VALUE_HERE",
"GB_API_URL": "YOUR_VALUE_HERE",
"GB_APP_ORIGIN": "YOUR_VALUE_HERE",
"GB_HTTP_HEADER_*": "YOUR_VALUE_HERE"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"io-github-growthbook-growthbook-mcp": {
"command": "npx",
"args": [
"-y",
"@growthbook/mcp"
],
"env": {
"GB_API_KEY": "YOUR_VALUE_HERE",
"GB_EMAIL": "YOUR_VALUE_HERE",
"GB_API_URL": "YOUR_VALUE_HERE",
"GB_APP_ORIGIN": "YOUR_VALUE_HERE",
"GB_HTTP_HEADER_*": "YOUR_VALUE_HERE"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
growthbook-mcp is an MCP server for MCP Server for interacting with GrowthBook. It supports STDIO transport.
Use the generated config in Install. This server runs with npx -y @growthbook/mcp; add any required environment variables before starting your client.
Choose the Claude Desktop tab in Install and copy the config for npx -y @growthbook/mcp. Add required environment variables before starting Claude Desktop.
Choose the Claude Code tab in Install and copy the config for npx -y @growthbook/mcp. Add required environment variables before starting Claude Code.
Choose the Codex tab in Install and copy the config for npx -y @growthbook/mcp. Add required environment variables before starting Codex.
Choose the Cursor or VS Code tab in Install and copy the config for npx -y @growthbook/mcp. Add required environment variables before starting Cursor or VS Code.
growthbook-mcp uses STDIO transport. Use the package or command config in Install.
growthbook-mcp inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
growthbook-mcp does not advertise a verified auth requirement. If discovery fails, it may still need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
@growthbook/mcpstdio | npm | 1.8.1 | Env: GB_API_KEY Env: GB_EMAIL Env: GB_API_URL Env: GB_APP_ORIGIN Env: GB_HTTP_HEADER_* |