GrowthBook MCP Server
OfficialGrowthBook MCP-Server
Mit dem GrowthBook MCP-Server können Sie direkt von Ihrem LLM-Client aus mit GrowthBook interagieren. Sehen Sie sich Experimentdetails an, fügen Sie ein Feature-Flag hinzu und vieles mehr.
Aufstellen
Umgebungsvariablen Verwenden Sie die folgenden Umgebungsvariablen, um den MCP-Server zu konfigurieren.
Variablenname | Status | Beschreibung |
GB_API_KEY | Erforderlich | Ein GrowthBook-API-Schlüssel. |
GB_USER | Erforderlich | Ihr Name. Wird beim Erstellen eines Feature-Flags verwendet. |
GB_API_URL | Optional | Ihre GrowthBook-API-URL. Der Standardwert ist |
GB_APP_ORIGIN | Optional | Die URL Ihrer GrowthBook-App lautet standardmäßig |
Nachfolgend finden Sie Anweisungen zum Hinzufügen des MCP-Servers zu einem Client. Jeder Client, der MCP unterstützt, ist ebenfalls kompatibel. Informationen zum Hinzufügen des Servers finden Sie in der Dokumentation.
Cursor
Öffnen Sie Cursoreinstellungen → MCP
Klicken Sie auf „Neuen globalen MCP-Server hinzufügen“
Fügen Sie einen Eintrag für das GrowthBook MCP hinzu und folgen Sie dabei dem folgenden Muster:
{
"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"
}
}
}
}Speichern Sie die Einstellungen.
Nachdem der Server erfolgreich eine Verbindung hergestellt hat, sollte jetzt ein grüner aktiver Status angezeigt werden!
VS Code
Benutzereinstellungen öffnen (JSON)
Fügen Sie einen MCP-Eintrag hinzu:
"mcp": {
"servers": {
"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"
}
}
}
}Speichern Sie Ihre Einstellungen.
GrowthBook MCP ist jetzt zur Verwendung in VS Code bereit.
Claude Desktop
Öffnen Sie Einstellungen → Entwickler
Klicken Sie auf Konfiguration bearbeiten
Öffnen Sie
claude_desktop_config.jsonFügen Sie die folgende Konfiguration hinzu:
{
"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"
}
}
}
}Speichern Sie die Konfiguration und starten Sie Claude neu
Im Chatfenster sollte ein Hammersymbol erscheinen, das anzeigt, dass Ihr GrowthBook MCP-Server verbunden und verfügbar ist!
Related MCP server: langfuse-mcp
Werkzeuge
Feature-Flags
create_feature_flag: Erstellen, Hinzufügen oder Umschließen eines Elements mit einem Feature-Flag. Geben Sie Schlüssel, Typ, Standardwert und Metadaten an.get_feature_flags: Listet alle Feature-Flags in Ihrer GrowthBook-Instanz auf.get_single_feature_flag: Ruft Details für ein bestimmtes Feature-Flag nach ID ab.get_stale_safe_rollouts: Listet alle sicheren Rollout-Regeln auf, die zurückgesetzt oder freigegeben wurden.create_force_rule: Erstellen Sie ein Feature-Flag mit einer Zielbedingung.generate_flag_types: Generiert Typen für Feature-Flags
Experimente
get_experiments: Listet alle Experimente im GrowthBook auf.get_experiment: Ruft Details für ein bestimmtes Experiment nach ID ab.get_attributes: Listet alle in GrowthBook verfolgten Benutzerattribute auf (nützlich für das Targeting).
Umgebungen
get_environments: Listet alle in GrowthBook konfigurierten Umgebungen auf (z. B. Produktion, Staging).
Projekte
get_projects: Listet alle Projekte in Ihrer GrowthBook-Instanz auf.
SDK-Verbindungen
get_sdk_connections: Listet alle SDK-Verbindungen auf (wie GrowthBook eine Verbindung zu Ihren Apps herstellt).create_sdk_connection: Erstellen Sie eine neue SDK-Verbindung für Ihre App und geben Sie Sprache und Umgebung an.
Dokumentationssuche
search_growthbook_docs: Durchsuchen Sie die GrowthBook-Dokumentation nach Informationen zur Verwendung einer Funktion nach Stichwort oder Frage.
Available Tools
14 toolscreate_feature_flagC
Create, add, or wrap an element with a feature flag.
Inputs: defaultValue (required), fileExtension (required), id (required), valueType (required), +4 more.
create_force_ruleA
Create a new force rule on an existing feature. If the existing feature isn't apparent, create a new feature using create_feature_flag first. A force rule sets a feature to a specific value for a specific environment based on a condition. For A/B tests and experiments, use create_experiment instead.
Inputs: environments (required), featureId (required), fileExtension (required), value (required), +2 more.
create_sdk_connectionC
Create an SDK connection for a user. Returns an SDK clientKey that can be used to fetch features and experiments.
Inputs: language (required), name (required), environment.
generate_flag_typesB
Generate types for feature flags
Inputs: no named parameters.
get_attributesD
Get all attributes
Inputs: no named parameters.
get_environmentsB
Fetches all environments from the GrowthBook API. GrowthBook comes with one environment by default (production), but you can add as many as you need. Feature flags can be enabled and disabled on a per-environment basis. You can also set the default feature state for any new environment. Additionally, you can scope environments to only be available in specific projects, allowing for further control and segmentation over feature delivery.
Inputs: no named parameters.
get_experimentC
Gets a single experiment from GrowthBook
Inputs: experimentId (required).
get_experimentsC
Fetches all experiments from the GrowthBook API
Inputs: limit, offset, project.
get_feature_flagsC
Fetches all feature flags from the GrowthBook API. Flags are returned in the order they were created, from oldest to newest.
Inputs: limit, offset, project.
get_projectsC
Fetches all projects from the GrowthBook API
Inputs: limit, offset.
get_sdk_connectionsC
Get all SDK connections, which are how GrowthBook connects to an app. Importantly, users need the key, which is a public client key that allows the app to fetch features and experiments the API
Inputs: limit, offset, project.
get_single_feature_flagC
Fetches a specific feature flag from the GrowthBook API
Inputs: id (required), project.
get_stale_safe_rolloutsC
Fetches all complete safe rollouts (rolled-back or released) from the GrowthBook API
Inputs: limit, offset, project.
search_growthbook_docsC
Search the GrowthBook docs on how to use a feature
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools have distinct purposes, such as create_feature_flag vs. create_force_rule, but there is some overlap between get_feature_flags and get_single_feature_flag, which could cause confusion if an agent needs to fetch a specific flag versus all flags. The descriptions help clarify, but the boundary is not perfectly clear.
The naming follows a consistent verb_noun pattern (e.g., create_feature_flag, get_experiments) with minor deviations like generate_flag_types (which uses 'generate' instead of 'get') and search_growthbook_docs (which includes 'growthbook' in the name). Overall, it is mostly predictable and readable.
With 14 tools, the count is well-scoped for a GrowthBook MCP server, covering key operations like creating flags, rules, connections, and fetching various resources. Each tool appears to earn its place without feeling excessive or insufficient for the domain.
The tool set provides good coverage for core GrowthBook operations, including CRUD-like actions for features, experiments, and connections, but there are minor gaps such as missing update or delete tools for flags or experiments, which agents might need to work around. The inclusion of search_growthbook_docs adds helpful context.
Maintenance
Related MCP Connectors
MCP server for Statsig API - interact with Statsig's feature flags, experiments, and analytics
Feature flags, A/B experiments, kill switches, dynamic config & i18n — Shipeasy MCP server.
MCP server for interacting with the Supabase platform
The official MCP Server for the Mux API
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server for managing Bucketeer feature flags, providing tools for listing, creating, retrieving, updating, and archiving feature flags.51MIT
- AlicenseCqualityAmaintenanceMCP server for Langfuse observability. Query traces, debug exceptions, analyze sessions, and manage prompts and datasets for your LLM applications.482,753 PyPI112MIT
- AlicenseAqualityDmaintenanceMCP server for managing deep links, analytics, and app configuration on Grovs. Works with Claude Code, Cursor, Windsurf, and any MCP-compatible client.162MIT

@intempt/mcp-serverofficial
FlicenseNot gradedqualityCmaintenanceMCP server for Intempt GrowthOS — AI content generation, brand management, knowledge base, and user/account lookup through natural language.-