
growthbook/growthbook-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
공식 GrowthBook MCP 서버는 플래그를 만들고 실험을 얻고 있습니다.
개요
4개의 도구를 가진 GrowthBook을 위한 얇은 MCP 서버: 능력의 재포에 살고 . Capability는 readOnlyHint / destructiveHint를 올바르게 준수 할 수 있도록 API 도구 (endpoint formatters 없음)을 읽고 대 쓰기로 나뉩니다. 도구는 growthbook 로 미리 설정되어 클라이언트가 여러 MCP 서버가로드 될 때 주변을 유지하십시오. 컴파일된 엔트리포인트에서 MCP 클라이언트를 포인트: 클라이언트가 연결: - http://127.0.0.1:3333/mcp - 전체 (skills + API 읽기 / 쓰기) - http://127.0.0.1:3333/mcp/api - 기능 전용 (growthbook api read + growthbook api write) Unauthenticated 요청은 /.well-known/oauth-protected-resource에서 WW-Authenticate 포인팅으로 401을받습니다. MCP를 취급하기 전에, 서버는 Bearer를 가진 GrowthBook REST (GET /api/v1/)를 조사합니다.
개요(AI 번역)
4개의 도구를 가진 GrowthBook을 위한 얇은 MCP 서버:
| 도구 | 용도 |
인포메이션
| growthbook_list_skills | 상단 레벨 스킬 포인트(이름 + 설명) |
| growthbook_read_skill | 목록 스킬 또는 자격을 갖춘 아이 워크플로우([T2]] 또는 [T3]]) |
| growthbook_api_read | 성장책 API에 대한 인증 획득 |
| [T5] | 인증된 POST/PUT/PATCH/DELETE passthrough |
직업은 기술 repo에 살고 있으며 ** 빌드 시간에 번드 **. Capability는 읽기 대 쓰기 API 도구로 나뉩니다 (endpoint formatters 없음) 그래서 클라이언트는 readOnlyHint] / destructiveHint 올바르게 명예 할 수 있습니다.
도구는 growthbook_]로 미리 설정되어 클라이언트가 여러 MCP 서버가 로드될 때 주변을 유지한다.
커서 플러그인
커서 마켓플레이스에서 GrowthBook를 설치합니다. 플러그인은 https://mcp.growthbook.io/mcp]에서 호스팅 서버에 커서를 연결합니다. 첫 번째 도구 호출은 그것을 승인하기 위해 GrowthBook 서명을 엽니다. Self-hosted GrowthBook 사용자는 아래에 설명된대로 서버를 수동으로 구성해야 합니다.
플러그인은 .cursor-plugin/plugin.json과 mcp.json]에 의해 정의됩니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
GrowthBook MCP Thin
A thin MCP server for GrowthBook with four tools:
| Tool | Purpose |
|---|---|
growthbook_list_skills |
List top-level skill entry points (name + description) |
growthbook_read_skill |
Return a listed skill or qualified child workflow (feature-flags or feature-flags/references/flag-create) |
growthbook_api_read |
Authenticated GET passthrough to the GrowthBook API |
growthbook_api_write |
Authenticated POST/PUT/PATCH/DELETE passthrough |
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.
Cursor plugin
Install GrowthBook from the Cursor Marketplace. The plugin connects Cursor to the hosted server at https://mcp.growthbook.io/mcp; the first tool call opens a GrowthBook sign-in to authorize it. Self-hosted GrowthBook users should configure the server manually as described below.
The plugin is defined by .cursor-plugin/plugin.json and mcp.json. To test changes locally, copy the repo into ~/.cursor/plugins/local/growthbook and run Developer: Reload Window.
Install / run
npm install
npm run build
Point 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/mcp
Environment variables
| Variable | Required | Default | Purpose |
|---|---|---|---|
GB_API_KEY |
Yes for stdio; optional for HTTP OAuth | — | GrowthBook API key or personal access token |
GB_API_URL |
No | https://api.growthbook.io |
API base URL (self-hosted) and default OAuth AS issuer |
GB_MCP_TRANSPORT |
No | stdio |
stdio or http |
GB_MCP_PORT |
No | 3333 |
HTTP listen port (when transport=http) |
GB_MCP_HOST |
No | 127.0.0.1 |
HTTP bind host |
GB_MCP_URL |
Yes for HTTP | — | Public MCP base URL stamped into OAuth resource metadata (server refuses to start in HTTP mode without it) |
GB_MCP_KEEP_ALIVE_TIMEOUT_MS |
No | 90000 |
Idle keep-alive timeout in HTTP mode. Must exceed the idle timeout of any load balancer in front, or the LB can reuse a connection the server has already closed and the request fails with a 502 |
OPENAI_APPS_CHALLENGE_TOKEN |
No | — | Served as plain text at /.well-known/openai-apps-challenge for OpenAI plugin domain verification (HTTP mode); the route returns 404 when unset |
설치
npx @growthbook/mcp설정
{
"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"
}
}
}
}