
Growthbook Mcp
Create and inspect GrowthBook feature flags and experiments from your agent so shipping and iteration stay data-driven without leaving the IDE.
Overview
GrowthBook MCP is a MCP server for the Grow phase that lets AI agents interact with GrowthBook feature flags and experiments via the official API.
What is this MCP server?
- npm package @growthbook/mcp 1.8.1 over stdio transport
- GB_API_KEY (API key or PAT), GB_EMAIL, GB_API_URL, GB_APP_ORIGIN configuration
- Optional GB_HTTP_HEADER_* passthrough for tenant or access tokens on API calls
- Agent-oriented interaction with GrowthBook for feature flags and experiments
- Registry version 1.8.1
- npm identifier @growthbook/mcp with stdio transport
- Default API https://api.growthbook.io and app https://app.growthbook.io unless overridden
Community signal: 22 GitHub stars.
What problem does it solve?
Solo builders forget experiment IDs and flag names across tabs, so agents cannot safely tune rollouts without a authenticated GrowthBook tool surface.
Who is it for?
SaaS founders already on GrowthBook who want IDE agents to script flag creation, experiment review, and rollout hygiene.
Skip if: Greenfield projects with no experimentation culture or teams that only need client-side analytics pixels, not a flag control plane.
What do I get? / Deliverables
With GB_API_KEY and email set, your agent can list and manage GrowthBook resources consistent with your workspace permissions.
- Agent-driven reads and writes against GrowthBook flags and experiments
- Documented API calls with optional custom HTTP headers for enterprise gateways
- Faster rollout checklists tied to live GrowthBook workspace state
Recommended MCP Servers
Journey fit
Experimentation and flag governance peak after you have users—Grow analytics is where you measure variants and tune rollout, even if flags were created earlier. GrowthBook is an experimentation and metrics platform; analytics is the canonical shelf for A/B tests and flag lifecycle review.
How it compares
GrowthBook API MCP bridge, not an in-app SDK skill or a generic Google Analytics connector.
Common Questions / FAQ
Who is GrowthBook MCP for?
Developers and growth-minded solos using GrowthBook who want MCP agents to operate the admin API for flags and experiments.
When should I use GrowthBook MCP?
Use it in Grow when you analyze experiments, adjust rollouts, or document flag state while shipping iterative product changes.
How do I add GrowthBook MCP to my agent?
Install @growthbook/mcp, set GB_API_KEY and GB_EMAIL (plus GB_API_URL or GB_APP_ORIGIN if self-hosted), add stdio MCP config, and restart your client.