MCP.so
Sign In

GrowthBook MCP Server

@growthbook

About GrowthBook MCP Server

Official GrowthBook MCP server for creating flags, getting experiments, and more.

Basic information

Category

Other

License

MIT

Runtime

node

Transports

stdio

Publisher

growthbook

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "growthbook": {
      "command": "npx",
      "args": [
        "-y",
        "@growthbook/mcp@latest"
      ],
      "env": {
        "GB_API_KEY": "YOUR_API_KEY",
        "GB_API_URL": "YOUR_API_URL",
        "GB_APP_ORIGIN": "YOUR_APP_ORIGIN",
        "GB_USER": "YOUR_NAME"
      }
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is GrowthBook MCP Server?

GrowthBook MCP Server lets you interact with GrowthBook directly from an LLM client. It is designed for users who want to view experiment details, add feature flags, and perform other GrowthBook actions using natural language commands.

How to use GrowthBook MCP Server?

Add the MCP server to your AI tool of choice and configure it using environment variables. Required variables are GB_API_KEY (a GrowthBook API key or PAT) and GB_EMAIL (your email). Optional variables include GB_API_URL, GB_APP_ORIGIN, and GB_HTTP_HEADER_* for custom headers. See the official GrowthBook docs for a complete setup guide.

Core features of GrowthBook MCP Server

  • View experiment details from GrowthBook
  • Create and manage feature flags
  • Create new experiments
  • Integrate with any LLM client
  • Configure via environment variables
  • Support for custom HTTP headers

Use cases of GrowthBook MCP Server

  • Query experiment results and feature flag status through chat
  • Create a new feature flag using natural language commands
  • Manage growthbook experiments from within an LLM interface
  • Configure enterprise proxy or tenant headers for GrowthBook API

FAQ from GrowthBook MCP Server

What runtime or dependencies does GrowthBook MCP Server require?

The server is an MCP server and must be added to an LLM client that supports the Model Context Protocol. It requires no specific runtime beyond the client's environment.

How is authentication handled?

Authentication uses a GrowthBook API key or Personal Access Token (PAT) set via the GB_API_KEY environment variable. When using a PAT, server capabilities are limited by the token's permissions.

Where does data live?

All data interactions go through the GrowthBook API. Feature flags, experiments, and user data remain within GrowthBook's infrastructure.

What are the known limits or restrictions?

Capabilities are limited by the permissions of the API key or PAT used. For example, if the token cannot create experiments in the GrowthBook app, it also cannot create them via the MCP server.

What transport or protocol does GrowthBook MCP Server use?

The server uses the Model Context Protocol (MCP) to communicate with LLM clients. It connects to GrowthBook via its REST API, with the API URL configurable via the GB_API_URL environment variable.

Comments

More Other MCP servers