AgentHubAgentHub

growthbook-mcp

MCP ServerMCP Registry官方收录

io.github.growthbook/growthbook-mcp · v1.8.1

MCP Server for interacting with GrowthBook

概览

growthbook-mcp 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "growthbook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@growthbook/mcp"
      ]
    }
  }
}

环境变量

GB_API_KEY可选

A GrowthBook API key or PAT.

GB_EMAIL可选

Your email address used with GrowthBook. Used when creating feature flags and experiments.

GB_API_URL可选

Your GrowthBook API URL. Defaults to `https://api.growthbook.io`.

GB_APP_ORIGIN可选

Your GrowthBook app URL Defaults to `https://app.growthbook.io`.

GB_HTTP_HEADER_*可选

Custom HTTP headers to include in all GrowthBook API requests. Use the pattern GB_HTTP_HEADER_<NAME> where <NAME> is converted to proper HTTP header format. Examples: GB_HTTP_HEADER_X_TENANT_ID=abc123, GB_HTTP_HEADER_CF_ACCESS_TOKEN=<token>. Multiple custom headers can be configured.

相关资源

统一 Manifest

{
  "id": "io.github.growthbook/growthbook-mcp",
  "type": "mcp-server",
  "version": "1.8.1",
  "displayName": "growthbook-mcp",
  "description": "MCP Server for interacting with GrowthBook",
  "repository": {
    "url": "https://github.com/growthbook/growthbook-mcp",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@growthbook/mcp",
        "version": "1.8.1",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "GB_API_KEY",
            "description": "A GrowthBook API key or PAT."
          },
          {
            "name": "GB_EMAIL",
            "description": "Your email address used with GrowthBook. Used when creating feature flags and experiments."
          },
          {
            "name": "GB_API_URL",
            "description": "Your GrowthBook API URL. Defaults to `https://api.growthbook.io`."
          },
          {
            "name": "GB_APP_ORIGIN",
            "description": "Your GrowthBook app URL Defaults to `https://app.growthbook.io`."
          },
          {
            "name": "GB_HTTP_HEADER_*",
            "description": "Custom HTTP headers to include in all GrowthBook API requests. Use the pattern GB_HTTP_HEADER_<NAME> where <NAME> is converted to proper HTTP header format. Examples: GB_HTTP_HEADER_X_TENANT_ID=abc123, GB_HTTP_HEADER_CF_ACCESS_TOKEN=<token>. Multiple custom headers can be configured."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.growthbook/growthbook-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.growthbook%2Fgrowthbook-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
growthbook-mcp — MCP Server 安装与配置 · AgentHub