GrowthBook MCP Server
OfficialServidor MCP de GrowthBook
Con el servidor GrowthBook MCP, puede interactuar con GrowthBook directamente desde su cliente LLM. Consulte los detalles del experimento, agregue una función y mucho más.
Configuración
Variables de entorno Utilice las siguientes variables de entorno para configurar el servidor MCP.
Nombre de la variable | Estado | Descripción |
CLAVE API GB | Requerido | Una clave API de GrowthBook. |
GB_USUARIO | Requerido | Tu nombre. Se utiliza al crear una bandera de característica. |
URL de la API de GB | Opcional | La URL de la API de GrowthBook. Su valor predeterminado es |
ORIGEN DE LA APLICACIÓN GB | Opcional | La URL de su aplicación GrowthBook tiene como valor predeterminado |
A continuación, encontrará instrucciones para agregar el servidor MCP a un cliente. Cualquier cliente compatible con MCP también es compatible. Consulte su documentación para saber cómo agregar el servidor.
Cursor
Abrir Configuración del cursor → MCP
Haga clic en Agregar nuevo servidor MCP global
Agregue una entrada para el MCP de GrowthBook, siguiendo el patrón a continuación:
{
"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"
}
}
}
}Guardar la configuración.
¡Ahora debería ver un estado activo verde después de que el servidor se conecte exitosamente!
Código VS
Abrir configuración de usuario (JSON)
Agregar una entrada MCP:
"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"
}
}
}
}Guarde su configuración.
GrowthBook MCP ahora está listo para usar en VS Code.
Escritorio de Claude
Abrir Configuración → Desarrollador
Haga clic en Editar configuración
Abra
claude_desktop_config.jsonAgregue la siguiente configuración:
{
"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"
}
}
}
}Guarde la configuración y reinicie Claude
Debería aparecer un icono de martillo en la ventana de chat, lo que indica que su servidor GrowthBook MCP está conectado y disponible.
Related MCP server: langfuse-mcp
Herramientas
Banderas de características
create_feature_flag: Crea, añade o encapsula un elemento con una bandera de característica. Especifica la clave, el tipo, el valor predeterminado y los metadatos.get_feature_flags: enumera todos los indicadores de características en su instancia de GrowthBook.get_single_feature_flag: obtiene detalles de una característica específica por ID.get_stale_safe_rollouts: enumera todas las reglas de implementación segura que se han revertido o publicado.create_force_rule: crea un indicador de característica con una condición de destino.generate_flag_types: genera tipos para indicadores de características
Experimentos
get_experiments: enumera todos los experimentos en GrowthBook.get_experiment: obtiene detalles de un experimento específico por ID.get_attributes: enumera todos los atributos de usuario rastreados en GrowthBook (útil para la segmentación).
Entornos
get_environments: enumera todos los entornos (por ejemplo, producción, ensayo) configurados en GrowthBook.
Proyectos
get_projects: enumera todos los proyectos en su instancia de GrowthBook.
Conexiones SDK
get_sdk_connections: enumera todas las conexiones SDK (cómo GrowthBook se conecta a sus aplicaciones).create_sdk_connection: crea una nueva conexión SDK para tu aplicación, especificando el idioma y el entorno.
Búsqueda de documentación
search_growthbook_docs: busque en la documentación de GrowthBook información sobre cómo utilizar una función, por palabra clave o pregunta.
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.-