Loading...
{
"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.
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.