Connects AI agents to GrowthBook’s REST API and guided feature-flag workflows through MCP.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
This server is confirmed live — we successfully called its tools/list endpoint directly (see the verified badge above). We haven't yet sandbox-tested the stdio install command below specifically, which is a separate, ongoing check.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Growthbook MCP.
growthbook_call_apiMake an authenticated HTTP request to the GrowthBook REST API on the user's behalf. Use method + path (+ optional JSON body) exactly as shown in skill workflows that mention gb-call. Paths typically start with /api/v1/ or /api/v2/. Returns the raw response body on success. IMPORTANT: Before POST, PUT, PATCH, or DELETE, confirm with the user (summarize method, path, and body) unless they have already explicitly instructed you to perform that mutation. GET requests do not need confirmation.
growthbook_list_skillsList available GrowthBook agent skills (name + description). Use growthbook_read_skill to load the full workflow for a skill before acting. Skills encode how to accomplish GrowthBook tasks well; use growthbook_call_api to execute the REST calls they describe.
growthbook_read_skillReturn the full markdown content of a GrowthBook skill by name (from growthbook_list_skills). Follow the skill's workflow; when it shows `gb-call <METHOD> <PATH> [body]`, use the growthbook_call_api tool with those arguments instead.
The growthbook/growthbook-mcp MCP server gives an MCP client access to GrowthBook’s REST API and bundled agent skills. It is intended for tasks involving GrowthBook feature flags, experiments, and related API resources. The server does not provide a separate formatter for each endpoint; agents send requests to the GrowthBook REST API and receive the raw response body for successful calls.
The repository describes a thin server whose task-specific knowledge comes from a skills collection bundled during the build. Skills provide workflows and guardrails, while the API tool performs the requests those workflows describe. This keeps the server focused on exposing GrowthBook operations rather than implementing a separate abstraction for every API resource.
An agent can first call growthbook_list_skills to see available top-level workflows. It can then use growthbook_read_skill to load a complete workflow or a qualified child workflow, such as a feature-flag creation reference. The workflow may describe commands such as gb-call GET /api/v1/projects; the MCP server maps those instructions to its GrowthBook API request capability instead of executing the shell command.
Read operations use GET requests. Write operations use POST, PUT, PATCH, or DELETE requests and may include a JSON body. The server distinguishes read and write capabilities so MCP clients can identify read-only and potentially destructive actions. Agents should obtain confirmation before a mutation unless the user has already explicitly requested it.
The server defaults to stdio. It can also run as a standalone HTTP service with MCP endpoints at /mcp and /mcp/api. The full endpoint exposes skills and API operations, while the capability-only endpoint exposes API read and write operations.
Install dependencies and build the project with:
A published release can be started with npx @growthbook/mcp. For stdio, configure the MCP client to run the package or the compiled Node entrypoint and provide GB_API_KEY. This value can be a GrowthBook API key or personal access token. GB_API_URL defaults to https://api.growthbook.io and can point to a self-hosted GrowthBook installation.
Set GB_MCP_TRANSPORT=http for HTTP mode. HTTP mode requires GB_MCP_URL, which identifies the public MCP base URL used in OAuth resource metadata. GB_MCP_PORT defaults to 3333, and GB_MCP_HOST defaults to 127.0.0.1. GB_OAUTH_ISSUER can override the OAuth issuer, which otherwise follows GB_API_URL.
GB_SKILLS_ENABLED=false or 0 when only API access is needed.GB_HTTP_HEADER_.The growthbook/growthbook-mcp MCP server returns actionable errors for non-successful API responses, including authentication failures, rate limits, and some self-hosted API path issues. In HTTP mode, rejected bearer tokens are surfaced as HTTP 401 responses so clients can refresh them; a 403 is treated as an accepted token with insufficient permission.
The server depends on access to a GrowthBook API and valid credentials for authenticated use. Skill content is bundled at build time from the canonical skills repository, with the selected commit controlled by the project’s lock file. Local builds can use a configured skills checkout, so the available workflows may depend on the build source.
The growthbook/growthbook-mcp MCP server does not execute the gb-call shell adapter referenced by skill documentation. Agents must translate those instructions into the MCP API request tool. HTTP deployments intended for public or multi-tenant use should be placed behind the deployer’s own gateway or authentication controls.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/growthbook-growthbook-mcp)<a href="https://allmcps.com/mcp/growthbook-growthbook-mcp"><img src="https://allmcps.com/api/badge/growthbook-growthbook-mcp?style=directory" alt="Growthbook MCP on AllMCPs" /></a>