growthbook mcp for VS Code
io.github.growthbook/growthbook-mcp
Thin MCP server for GrowthBook — skill loader + authenticated API passthrough
client:VS Code
transport:stdio
runtime:npm
Install growthbook mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "gb-api-key",
"description": "GB_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "gb-api-url",
"description": "GB_API_URL",
"password": true
},
{
"type": "promptString",
"id": "gb-skills-enabled",
"description": "GB_SKILLS_ENABLED",
"password": true
},
{
"type": "promptString",
"id": "gb-http-header-*",
"description": "GB_HTTP_HEADER_*",
"password": true
}
],
"servers": {
"growthbook-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@growthbook/mcp"
],
"env": {
"GB_API_KEY": "${input:gb-api-key}",
"GB_API_URL": "${input:gb-api-url}",
"GB_SKILLS_ENABLED": "${input:gb-skills-enabled}",
"GB_HTTP_HEADER_*": "${input:gb-http-header-*}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs