GrowthBook MCP Server
Published
At a glance
- Category
- Code & Git
- GitHub repository
- growthbook/growthbook-mcp
- Watch out for
- The API tools are passthroughs that do not validate payloads, so correctness depends on the skills and on the agent using documented paths.
GrowthBook, the open-source feature flagging and experimentation platform, publishes this MCP server itself. It lets an agent read and change what lives in your GrowthBook account, such as feature flags and experiments, by calling the GrowthBook REST API on your behalf.
The current 2.x design is small on purpose. Instead of one tool per endpoint, it exposes four tools: two that read bundled GrowthBook skills (written workflows that tell the agent which API paths to use and how), and two that pass requests straight through to the REST API. The older 1.x per-endpoint tools, such as create_feature_flag, were removed in 2.x, so guides written for the old version will not match.
GrowthBook offers three ways to run it. GrowthBook hosts it at https://mcp.growthbook.io/mcp with browser OAuth, and a /mcp/api path that exposes only the API tools. You can run it locally over stdio with npx @growthbook/mcp and an API key. Or you can self-host the HTTP mode, including from the ghcr.io/growthbook/growthbook-mcp image, which also works against a self-hosted GrowthBook.
How it connects
Your AI app
An assistant or agent that supports MCP
GrowthBook MCP Server
Runs as
- npx (Node.js)
- Remote (HTTP)
Gives the agent
- Skill discovery
- Skill reading
- Reading account data
- Making changes
- API-only mode
GrowthBook
Signs in with
- OAuth / browser sign-in
- API key
What it can do
- Skill discovery
- growthbook_list_skills lists the top-level skill entry points bundled with the server.
- Skill reading
- growthbook_read_skill returns a skill or one of its child workflows so the agent follows documented API paths rather than guessing endpoints.
- Reading account data
- growthbook_api_read sends authenticated GET requests to the GrowthBook REST API, for example to look up features or experiments.
- Making changes
- growthbook_api_write sends POST, PUT, PATCH or DELETE requests to the same API, which is how flags and experiments get created or edited.
- API-only mode
- The /mcp/api endpoint, or GB_SKILLS_ENABLED=false locally, drops the two skill tools and leaves only the API tools.
Setting it up
For the hosted server in Claude Code, run claude mcp add --transport http growthbook https://mcp.growthbook.io/mcp, check it with claude mcp get growthbook or /mcp, and finish the OAuth prompt. In Cursor, add a global MCP server with "url": "https://mcp.growthbook.io/mcp" under mcpServers, save, and complete the consent flow; Cursor users can also install the GrowthBook plugin from the Cursor Marketplace. In VS Code, add a growthbook entry with "type": "http" and the same URL to your user settings JSON. No API key goes in the config for the hosted version; the consent page lets you pick Read only, Human-in-the-Loop (the default), Full access or custom permissions. To run locally instead, use npx @growthbook/mcp (Node.js 18+) with GB_API_KEY set to an API key or personal access token, plus GB_API_URL if you self-host GrowthBook (it defaults to https://api.growthbook.io).
claude mcp add --transport http growthbook https://mcp.growthbook.io/mcpIf the server needs a sign-in or an API key, the setup notes above say which. Combine several servers in the MCP config generator
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Create a new feature flag by following the bundled skill for that task and sending the request through growthbook_api_write.
- Look up the current state of an experiment or flag before changing code that depends on it.
- Connect a read-only session so an assistant can answer questions about flags without being able to change them.
- Point a local stdio instance at a self-hosted GrowthBook by setting GB_API_URL.
Limitations and things to watch
- The API tools are passthroughs that do not validate payloads, so correctness depends on the skills and on the agent using documented paths.
- growthbook_api_write can issue DELETE requests, so the permission level chosen at consent matters.
- Local stdio mode needs GB_API_KEY, and the self-hosted HTTP mode is meant for trusted networks or loopback unless you add your own gateway or auth layer.
- Self-hosted HTTP deployments need GrowthBook's OAuth authorization server and a public HTTPS URL; older GrowthBook versions need OAUTH_AS_ENABLED=1.
- Each API call carries X-GB-MCP-* headers that GrowthBook may record, though the server itself sends no telemetry.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /growthbook/growthbook-mcp
- docs.growthbook.io /integrations/mcp
- github.com /growthbook/growthbook-mcp/releases
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.