Loading...

The GrowthBook MCP server allows LLM clients to interact with GrowthBook for feature flag management and experiment configuration, secured by an API key.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
The GrowthBook MCP server allows LLM clients to interact with GrowthBook for feature flag management and experiment configuration, secured by an API key.
The GrowthBook MCP server is relatively safe for read-only operations and controlled write operations. However, the risk of unauthorized modifications exists if the API key is compromised. Exercise caution when granting write access and monitor changes to feature flags.
Performance is primarily limited by the GrowthBook API's response times. Consider caching frequently accessed data to improve performance.
Cost is primarily determined by GrowthBook's pricing model, which may be based on usage or feature tiers. Monitor API usage to avoid unexpected costs.
{
"mcpServers": {
"growthbook": {
"command": "npx",
"args": ["-y", "@growthbook/mcp"],
"env": {
"GB_API_KEY": "YOUR_API_KEY",
"GB_API_URL": "YOUR_API_URL",
"GB_APP_ORIGIN": "YOUR_APP_ORIGIN",
"GB_USER": "YOUR_NAME"
}
}
}
}get_experimentRetrieves details about a specific GrowthBook experiment.
Read-only operation, no side effects.
create_feature_flagCreates a new feature flag in GrowthBook.
Non-destructive write operation, but can impact application behavior.
update_feature_flagModifies an existing feature flag in GrowthBook.
Structural modification that can significantly alter application behavior.
list_experimentsLists all experiments in GrowthBook.
Read-only operation, no side effects.
API Key
The GrowthBook MCP server is relatively safe for read-only operations and controlled write operations. However, the risk of unauthorized modifications exists if the API key is compromised. Exercise caution when granting write access and monitor changes to feature flags.
Autonomy is limited by the permissions associated with the API key. Ensure the API key has appropriate restrictions to prevent unintended consequences.
Production Tip
Implement thorough testing and monitoring of feature flags and experiments to minimize the risk of negative impacts.
It's a server that allows LLM clients to interact with GrowthBook for feature flag and experiment management.
GB_API_KEY (GrowthBook API key) and GB_EMAIL (your email address used with GrowthBook).
Unauthorized users could modify feature flags and experiments, potentially impacting application behavior.
Yes, but MCP server capabilities are limited by the PAT's permissions.
GB_API_URL defaults to `https://api.growthbook.io` and GB_APP_ORIGIN defaults to `https://app.growthbook.io`.
Refer to the official GrowthBook documentation for a complete guide.
Rollback support depends on GrowthBook's capabilities and is not directly managed by the MCP server.