MCP server
by growthbook
Manage and optimize feature flags, experiments, and environments in GrowthBook with AI-driven tools for targeting rules
Manages GrowthBook feature flags, experiments, and environments through your AI assistant. Lets you create, update, and query A/B tests and feature toggles without leaving your LLM client.
GrowthBook is an official MCP server published by growthbook that provides AI assistants with tools and capabilities via the Model Context Protocol. Manage and optimize feature flags, experiments, and environments in GrowthBook with AI-driven tools for targeting rules It is categorized under developer tools.
You can install GrowthBook in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
GrowthBook is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
I recommend GrowthBook for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
Useful MCP listing: GrowthBook is the kind of server we cite when onboarding engineers to host + tool permissions.
GrowthBook reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
Strong directory entry: GrowthBook surfaces stars and publisher context so we could sanity-check maintenance before adopting.
I recommend GrowthBook for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
GrowthBook reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
I recommend GrowthBook for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
Strong directory entry: GrowthBook surfaces stars and publisher context so we could sanity-check maintenance before adopting.
Useful MCP listing: GrowthBook is the kind of server we cite when onboarding engineers to host + tool permissions.
According to our notes, GrowthBook benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
showing 1-10 of 59
With the GrowthBook MCP server, you can interact with GrowthBook right from your LLM client. See experiment details, add a feature flag, and more.
<a href="https://glama.ai/mcp/servers/@growthbook/growthbook-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@growthbook/growthbook-mcp/badge" alt="GrowthBook Server MCP server" /> </a>Environment Variables Use the following env variables to configure the MCP server.
| Variable Name | Status | Description |
|---|---|---|
| GB_API_KEY | Required | A GrowthBook API key or PAT. When using a PAT, MCP server capabilities are limited by its permissions. E.g., if the user can't create an experiment in the app, they also won't be able to create one with the MCP server. |
| GB_EMAIL | Required | Your email address used with GrowthBook. Used when creating feature flags and experiments. |
| GB_API_URL | Optional | Your GrowthBook API URL. Defaults to https://api.growthbook.io. |
| GB_APP_ORIGIN | Optional | Your GrowthBook app URL Defaults to https://app.growthbook.io. |
| GB_HTTP_HEADER_* | Optional | Custom HTTP headers to include in all GrowthBook API requests. Use the pattern GB_HTTP_HEADER_<NAME> where <NAME> is converted to proper HTTP header format (underscores become hyphens). Examples: GB_HTTP_HEADER_X_TENANT_ID=abc123 becomes X-Tenant-ID: abc123, GB_HTTP_HEADER_CF_ACCESS_TOKEN=<token> becomes Cf-Access-Token: <token>. Multiple custom headers can be configured. |
Add the MCP server to your AI tool of choice. See the official docs for complete a complete guide.
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.