Skip to main content
Glama
GrowthBook MCP Server

GrowthBook MCP Server

Official
by growthbook

GrowthBook MCP 서버

GrowthBook MCP 서버를 사용하면 LLM 클라이언트에서 바로 GrowthBook과 상호 작용할 수 있습니다. 실험 세부 정보를 확인하고, 기능 플래그를 추가하는 등의 작업을 수행할 수 있습니다.

설정

환경 변수 다음 환경 변수를 사용하여 MCP 서버를 구성합니다.

변수 이름

상태

설명

GB_API_키

필수의

GrowthBook API 키.

GB_USER

필수의

이름입니다. 기능 플래그를 만들 때 사용됩니다.

GB_API_URL

선택 과목

GrowthBook API URL입니다. 기본값은 https://api.growthbook.io 입니다.

GB_앱_원본

선택 과목

GrowthBook 앱 URL은 기본적으로 https://app.growthbook.io 입니다.

클라이언트에 MCP 서버를 추가하는 방법은 아래를 참조하세요. MCP를 지원하는 모든 클라이언트도 호환됩니다. 서버 추가 방법은 해당 클라이언트의 설명서를 참조하세요.

커서

  1. 커서 설정 열기 → MCP

  2. 새로운 글로벌 MCP 서버 추가를 클릭하세요.

  3. 아래 패턴에 따라 GrowthBook MCP에 대한 항목을 추가합니다.

지엑스피1

  1. 설정을 저장합니다.

이제 서버가 성공적으로 연결되면 녹색 활성 상태가 표시됩니다!

VS 코드

  1. 사용자 설정 열기(JSON)

  2. 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"
        }
      }
    }
  }
  1. 설정을 저장하세요.

이제 GrowthBook MCP를 VS Code에서 사용할 수 있습니다.

클로드 데스크탑

  1. 설정 → 개발자를 엽니다.

  2. 구성 편집을 클릭하세요

  3. claude_desktop_config.json 엽니다.

  4. 다음 구성을 추가합니다.

{
  "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"
      }
    }
  }
}
  1. 구성을 저장하고 Claude를 다시 시작하세요.

채팅 창에 망치 아이콘이 나타나면 GrowthBook MCP 서버가 연결되었고 사용 가능하다는 뜻입니다!


Related MCP server: langfuse-mcp

도구

  • 기능 플래그

    • create_feature_flag : 기능 플래그를 사용하여 요소를 생성, 추가 또는 래핑합니다. 키, 유형, 기본값 및 메타데이터를 지정합니다.

    • get_feature_flags : GrowthBook 인스턴스의 모든 기능 플래그를 나열합니다.

    • get_single_feature_flag : ID로 특정 기능 플래그에 대한 세부 정보를 가져옵니다.

    • get_stale_safe_rollouts : 롤백되거나 릴리스된 모든 안전 롤아웃 규칙을 나열합니다.

    • create_force_rule : 타겟팅 조건이 포함된 기능 플래그를 만듭니다.

    • generate_flag_types : 기능 플래그에 대한 유형을 생성합니다.

  • 실험

    • get_experiments : GrowthBook에 있는 모든 실험을 나열합니다.

    • get_experiment : ID로 특정 실험에 대한 세부 정보를 가져옵니다.

    • get_attributes : GrowthBook에서 추적된 모든 사용자 속성을 나열합니다(타겟팅에 유용함).

  • 환경

    • get_environments : GrowthBook에 구성된 모든 환경(예: 프로덕션, 스테이징)을 나열합니다.

  • 프로젝트

    • get_projects : GrowthBook 인스턴스의 모든 프로젝트를 나열합니다.

  • SDK 연결

    • get_sdk_connections : 모든 SDK 연결을 나열합니다(GrowthBook이 앱에 연결되는 방식).

    • create_sdk_connection : 언어와 환경을 지정하여 앱에 대한 새로운 SDK 연결을 만듭니다.

  • 문서 검색

    • search_growthbook_docs : 키워드나 질문을 통해 GrowthBook 문서에서 기능 사용 방법에 대한 정보를 검색합니다.

Available Tools

14 tools
create_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

    B3/5.0

    Scored across 14 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityActive
    ResponsivenessMixed handling

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server for managing Bucketeer feature flags, providing tools for listing, creating, retrieving, updating, and archiving feature flags.
      5
      1
      MIT
    • A
      license
      C
      quality
      A
      maintenance
      MCP server for Langfuse observability. Query traces, debug exceptions, analyze sessions, and manage prompts and datasets for your LLM applications.
      48
      2,753 PyPI
      112
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for managing deep links, analytics, and app configuration on Grovs. Works with Claude Code, Cursor, Windsurf, and any MCP-compatible client.
      16
      2
      MIT