
GrowthBook's MCP server: your agent creates and cleans up feature flags, designs and analyzes A/B tests, and charts product data.
by growthbook· Developer toolsUnclaimed · Yours? Claim it
4 images
About
The GrowthBook MCP server connects your agent to GrowthBook, the open-source platform for feature flags, experimentation and product analytics. It's a thin bridge: it loads GrowthBook's own Agent Skills, step-by-step workflows with guardrails, and makes authenticated calls to the GrowthBook REST API. What you can do with it - Create, target, ramp, review, publish, search and clean up feature flags - Find stale flags that are safe to remove - Brainstorm, design, launch, analyze and stop A/B tests - Search the metric catalog, chart product data and build dashboards How it connects It runs on your machine with npx @growthbook/mcp (Node.js 18 or later). Set GB_API_KEY to a GrowthBook personal access token or API key. GrowthBook recommends a personal access token, so changes are attributed to you and limited to your permissions. For a self-hosted GrowthBook, also set GB_API_URL to your API's address. On GrowthBook Cloud you can instead connect to GrowthBook's hosted server at https://mcp.growthbook.io/mcp and sign in with OAuth. Its four tools - growthbook_list_skills and growthbook_read_skill load the workflow for your task - growthbook_api_read makes read-only GET calls to the GrowthBook API - growthbook_api_write makes POST, PUT, PATCH and DELETE calls Good to know - The skills keep GrowthBook's guardrails, such as draft, review and publish, and two-step deletes. - Give the key the Read only preset to block every write, or Human-in-the-Loop (Enterprise) so risky changes wait for a person to confirm them in GrowthBook. - Set GB_SKILLS_ENABLED to false to expose only the two API tools when you bring your own workflows.
Plugins people install alongside GrowthBook MCP.
Once it’s added
“Create a boolean feature flag called new-checkout-flow that defaults to false.”
“Which feature flags are stale and safe to clean up?”
“What are the results of our checkout experiment? Should we ship the winner?”
“Design and launch an A/B test on the pricing-v2 flag.”
“Chart daily signups by country for the last 30 days.”
Before you add it
Reads only
Feature flags, experiments and their results · Metrics, projects and other data through the GrowthBook REST API · GrowthBook's bundled skills, with their workflows and guardrails
Makes changes · your agent can ask first
Creates, targets, ramps, publishes and cleans up feature flags · Designs, launches and stops A/B tests · Builds dashboards from product data
From people who use it
Step by step
Nothing new reaches your agent until a person has looked at it.
Scanned on every change, and again when our rules improve.
Runs on your machine.
claude_desktop_config.json{
"mcpServers": {
"growthbook-mcp": {
"command": "npx",
"args": [
"-y",
"@growthbook/[email protected]"
]
}
}
}Runs on your machine.
Add to VS Codecode --add-mcp '{"name":"growthbook-mcp","command":"npx","args":["-y","@growthbook/[email protected]"]}'copilot mcp add growthbook-mcp -- npx -y @growthbook/[email protected]
Runs on your machine.
Add to Cursor.cursor/mcp.json{
"mcpServers": {
"growthbook-mcp": {
"command": "npx",
"args": [
"-y",
"@growthbook/[email protected]"
]
}
}
}Runs on your machine.
claude mcp add growthbook-mcp -- npx -y @growthbook/[email protected]
Runs on your machine.
codex mcp add growthbook-mcp -- npx -y @growthbook/[email protected]
Runs on your machine.
~/.gemini/config/mcp_config.json{
"mcpServers": {
"growthbook-mcp": {
"command": "npx",
"args": [
"-y",
"@growthbook/[email protected]"
]
}
}
}Runs on your machine.
gemini mcp add growthbook-mcp npx -y @growthbook/[email protected]
Runs on your machine.
Runs on your machine.
opencode mcp add growthbook-mcp -- npx -y @growthbook/[email protected]
Runs on your machine.
~/.hermes/config.yaml{
"mcp_servers": {
"growthbook-mcp": {
"command": "npx",
"args": [
"-y",
"@growthbook/[email protected]"
]
}
}
}GB_API_KEYOptionalA GrowthBook API key or personal access token.GB_API_URLOptionalYour GrowthBook API URL. Defaults to https://api.growthbook.io.GB_SKILLS_ENABLEDOptionalSet to false to disable bundled skill tools (growthbook_list_skills, growthbook_read_skill). Defaults to true.Scanned and passed · checked 8 h ago
No reviews yet. Used GrowthBook MCP? Say how it went.
Write a reviewPlugins people install alongside GrowthBook MCP.
Skills that make your coding agent brainstorm, plan, test-drive, debug and review its work before it calls the job done.
Matt Pocock's everyday engineering skills: grilling sessions, specs and tickets, TDD, bug diagnosis, code review and writing for agents.
Addy Osmani's engineering workflows for coding agents: spec, plan, build, test, review and ship, with quality gates at each step.
Nobody has shared how they use GrowthBook MCP yet.
Security scan
Passed
Safe to install in every agent it supports. Runs on your machine.