GrowthBook

by growthbook

23 stars
290 downloads
Not rated
GitHub Website

About

Create and read feature flags, review experiments, generate flag types, search docs, and interact with GrowthBook's feature flagging and experimentation platform.

Details

Author
growthbook
GitHub stars
23
Downloads
290
Categories
Developer Tools, Knowledge Base, Other, Search

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name GrowthBook
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "growthbook": {
            "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"
                }
            }
        }
    }
}

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"
        }
    }
}

growthbook_api_read/growthbook_api_write

{ "path": "/api/v1/projects" } { "method": "POST", "path": "/api/v2/features", "body": "{\"id\":\"my-flag\",...}" }

- Read: GET only (readOnlyHint: true)
- Write:POST|PUT|PATCH|DELETE(destructiveHint: true)
- Returns raw response body on 2xx
- On non-2xx, returns an actionable error (isError: true) covering auth failures, self-hosted 404 hints, and rate limits
- Freeform paths target the[GrowthBook REST API

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.