This server implements the Model Context Protocol (MCP) for Statsig API integration, supporting both stdio and SSE transports.
npm install
npm run build
To use this server with an MCP client, configure your mcp.json
as follows:
{
"mcpServers": {
"Statsig": {
"command": "node /path/to/build/index.js",
"env": {
"STATSIG_API_KEY": "console-YOUR-CONSOLE-KEY"
}
}
}
}
SSE protocols with some clients (for example, Cursor) today don't support headers. This server accepts requests with the Statsig API key in the query parameters. While this data is encrypted when using HTTPS, we recommend you proceed with caution.
{
"mcpServers": {
"Statsig": {
"url": "http://localhost:3000/sse?STATSIG_API_KEY=console-<your-console-key>"
}
}
}