growthbook-mcp
v2.2.0Thin MCP server for GrowthBook — skill loader + authenticated API passthrough
Values you need
| Variable | What it is | |
|---|---|---|
GB_API_KEY | optional | A GrowthBook API key or personal access token. |
GB_API_URL | optional | Your GrowthBook API URL. Defaults to https://api.growthbook.io. |
GB_SKILLS_ENABLED | optional | 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.0Add 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
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: growthbook_api_read, growthbook_api_write, growthbook_list_skills, growthbook_read_skill.
- 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