Growthbook MCP server
io.github.growthbook/growthbook-mcp·v2.2.0·24 starsThin MCP server for GrowthBook — skill loader + authenticated API passthrough
24 stars8.1k downloads/wk
Reviews
Write oneNobody has reviewed Growthbook yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Growthbook tools (4, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
growthbook_api_readMake an authenticated GET request to the GrowthBook REST API.
growthbook_api_writewrite actionMake an authenticated mutating request (POST, PUT, PATCH, or DELETE) to the GrowthBook REST API.
growthbook_list_skillsList available top-level GrowthBook skill entry points (name + description).
growthbook_read_skillReturn the full markdown content of a GrowthBook skill by path.
Public scan report
scanner v0.1.10 · 2026-11-04 · same rubric, same numbers if you re-run it
- Code scan11 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 8 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
How Growthbook compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 94/100
- higher than 96% of 48,255 servers
- Tools
- 4
- the typical server has 7
- Tools that change things
- 25%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 24
- more than 91% of 28,688 servers
- Downloads a week
- 8,063
- more than 95% of 12,191 servers with a package
What its tools let an agent do: 3 read · 1 change
Release history: 2 versions in the registry since 2026-08-11, latest 2026-10-06, typically one every 56 days.
Install Growthbook in Claude Code, Cursor or VS Code
Runs npx -y @growthbook/mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add growthbook-mcp -- npx -y @growthbook/mcp
What the publisher says
From the Growthbook repository's README, as published. We do not edit it. Read it on GitHub
GrowthBook MCP Thin
A thin MCP server for GrowthBook with four tools:
Competence lives in the skills repo and is bundled at build time. Capability is split into read vs write API tools (no per-endpoint formatters) so clients can honor readOnlyHint / destructiveHint correctly.
Tools are prefixed with growthbook_ so they stay unambiguous when a client has multiple MCP servers loaded.
Install / run
npm install
npm run buildPoint your MCP client at the compiled entrypoint:
{
"mcpServers": {
"growthbook": {
"command": "node",
"args": ["/absolute/path/to/growthbook-mcp/server/index.js"],
"env": {
"GB_API_KEY": "your_api_key_or_pat",
"GB_API_URL": "https://api.growthbook.io"
}
}
}
}Or run the published package:
npx @growthbook/mcpEnvironment variables
HTTP + OAuth mode
OAUTH_AS_ENABLED=1 # on the GrowthBook API
GB_MCP_TRANSPORT=http GB_API_URL=http://localhost:3100 GB_MCP_PORT=3333 npm startClients connect to:
- http://127.0.0.1:3333/mcp — full (skills + API read/write)
- http://127.0.0.1:3333/mcp/api — capability-only (growthbookapiread + growthbookapiwrite)
Unauthenticated requests receive 401 with WWW-Authenticate pointing at /.well-known/oauth-protected-resource, which advertises the GrowthBook Authorization Server.
Before handling MCP, the server probes GrowthBook REST (GET /api/v1/) with the bearer. A 401 from that probe (or later from an API tool) yields HTTP 401 with error="invalid_token" so the MCP client can refresh — instead of surfacing "This API key has expired" as a tool error. A 403 is treated as an accepted bearer (permission denied ≠ invalid token) so clients are not forced into a refresh loop.
Capability-only mode
HTTP (recommended for remote): point the client at /mcp/api instead of /mcp:
{
"mcpServers": {
"growthbook": {
"url": "http://127.0.0.1:3333/mcp/api"
}
}
}stdio / process-wide: set env so skills are never registered:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Growthbook: common questions
- Is Growthbook MCP server safe?
- Yes, by our scan: it is graded A (94/100). Read the Growthbook safety report
- How do I install Growthbook?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Growthbook need an API key?
- No secret keys are declared. It reads 4 settings from the environment.
- Is Growthbook maintained?
- The last commit was 8 days ago (2026-10-27). The latest release is v2.2.0.
- How does Growthbook compare with other MCP servers?
- safety score 94/100 (higher than 96% of 48,255 servers); tools 4 (the typical server has 7); tools that change things 25% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.