GrowthBook

Create and read feature flags, review experiments, generate flag types, search docs, and interact with GrowthBook's feature flagging and experimentation platform.

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 NameStatusDescription
GB_API_KEYRequiredA 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_EMAILRequiredYour email address used with GrowthBook. Used when creating feature flags and experiments.
GB_API_URLOptionalYour GrowthBook API URL. Defaults to https://api.growthbook.io.
GB_APP_ORIGINOptionalYour 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.

Related Servers