MCP Server
growthbook-mcp
Tools for creating and interacting with GrowthBook feature flags and experiments.
15
GitHub Stars
10/8/2025
Last Updated
MCP Server Configuration
1{
2 "name": "growthbook",
3 "command": "npx",
4 "args": [
5 "-y",
6 "@growthbook/mcp"
7 ],
8 "env": {
9 "GB_API_KEY": "YOUR_API_KEY",
10 "GB_API_URL": "YOUR_API_URL",
11 "GB_APP_ORIGIN": "YOUR_APP_ORIGIN",
12 "GB_EMAIL": "YOUR_EMAIL"
13 }
14}
JSON14 lines
README Documentation
GrowthBook MCP Server
With the GrowthBook MCP server, you can interact with GrowthBook right from your LLM client. See experiment details, add a feature flag, and more.
Setup
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 . |
Add the MCP server to your AI tool of choice. See the official docs for complete a complete guide.
Quick Install
Quick Actions
Key Features
Model Context Protocol
Secure Communication
Real-time Updates
Open Source