Best for
- Teams already using GrowthBook who want agents to manage flags and experiments
- MCP users who want an authenticated, auditable API passthrough
- Operators of self-hosted instances
An officially maintained, deliberately thin GrowthBook MCP server: skills are bundled at build time and capability is a single generic API passthrough, with a uniform tool prefix to avoid ambiguity across multiple MCP servers. HTTP mode's OAuth and token-refresh handling is well thought out. Best for existing GrowthBook teams, but mutating calls rely on soft confirmation, so grant credentials carefully.
Strongest · Documentation 16/20 Weakest · Reliability 9/20
Static review · not runListed 2026-09-07
Read the FMRS scoring method →Runtime:Node.js · Docker
GB_API_KEY
GrowthBook API key or personal access token, generated in your GrowthBook account settings; required for stdio mode.
GB_API_URL
GrowthBook API base URL, defaults to https://api.growthbook.io; change it for self-hosted instances.
GB_SKILLS_ENABLED
Set to false/0 to disable the bundled skill tools (growthbook_list_skills, growthbook_read_skill); enabled by default.
GB_MCP_TRANSPORT
Transport mode, stdio or http; defaults to stdio.
GB_MCP_PORT
HTTP mode listen port, defaults to 3333.
GB_MCP_HOST
HTTP mode bind host, defaults to 127.0.0.1.
GB_MCP_URL
Public base URL of the server in HTTP mode, stamped into OAuth resource metadata; the server refuses to start without it.
GB_OAUTH_ISSUER
GrowthBook OAuth authorization server issuer URL; defaults to GB_API_URL.
Install and build with npm (npm install && npm run build), then point your MCP client at the compiled server/index.js, or run the published package via npx @growthbook/mcp. GB_API_KEY (a GrowthBook API key or personal access token) is required; GB_API_URL is optional (defaults to https://api.growthbook.io). Building from source requires a sibling ../skills checkout or SKILLS_SRC. A multi-arch image is also available at ghcr.io/growthbook/growthbook-mcp.
{
"mcpServers": {
"growthbook": {
"command": "npx",
"args": [
"@growthbook/mcp"
],
"env": {
"GB_API_KEY": "your_api_key_or_pat",
"GB_API_URL": "https://api.growthbook.io"
}
}
}
}
Works in clients that read an "mcpServers" key. For clients such as VS Code that use a different key, the configurator below converts it.
{
"servers": {
"growthbook": {
"command": "npx",
"args": [
"@growthbook/mcp"
],
"env": {
"GB_API_KEY": "your_api_key_or_pat",
"GB_API_URL": "https://api.growthbook.io"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add growthbook -e GB_API_KEY=your_api_key_or_pat -e GB_API_URL=https://api.growthbook.io -- npx @growthbook/mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
The client's tool list should show growthbook_list_skills, growthbook_read_skill, and growthbook_call_api; ask the agent to call growthbook_call_api with GET /api/v1/projects — returning project data confirms the connection and auth work.
Once connected, you can ask your AI assistant things like:
No matching tools
The official, lightweight MCP server for GrowthBook. It exposes three tools: listing and reading bundled GrowthBook agent skills (bundled at build time from the official skills repo), and a generic growthbook_call_api tool that passes authenticated REST calls through to the GrowthBook API (creating flags, getting experiments, and more). It supports stdio and an HTTP transport with OAuth 2.0 protected-resource metadata (RFC 9728 / RFC 6750), and skill tools can be disabled to expose capability-only mode.
Upstash's official server providing up-to-date third-party library docs for AI coding assistants
AI-powered NPM package analysis MCP server
An independent control layer that gives AI coding agents budgets, brakes, and receipts
GitHub's official MCP server for managing repos, issues, PRs, and workflows via natural language
Source revision 847741aa5fd9 Data synced 2026-10-19 Read the FMRS scoring method