Statsig

by statsig-io

221 downloads Not rated yet
GitHub

About

Bridges directly to Statsig, enabling you to wrap new features behind feature flags, add instrumentation for product performance visibility, and seamlessly highlight and clean up stale feature flags from your codebase.

Explore

- MCP integration with the Statsig API
- Supports stdio and SSE transports
- Uses API key authentication via header

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Statsig
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

npm install
npm run build

To use this server with an MCP client, configure your mcp.json as follows:

{
  "mcpServers": {
    "statsig-local": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://api.statsig.com/v1/mcp?utm=mcp_so",
        "--header",
        "statsig-api-key:${AUTH_TOKEN}"
      ],
      "env": {
        "AUTH_TOKEN": "console-YOUR-API-KEY"
      }
    }
  }
}

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "statsig": {
            "statsig-local": {
                "command": "npx",
                "args": [
                    "mcp-remote",
                    "https://api.statsig.com/v1/mcp",
                    "--header",
                    "statsig-api-key:${AUTH_TOKEN}"
                ],
                "env": {
                    "AUTH_TOKEN": "<console-YOUR-API-KEY>"
                }
            }
        }
    }
}

McpServers

{
    "statsig-local": {
        "command": "npx",
        "args": [
            "mcp-remote",
            "https://api.statsig.com/v1/mcp",
            "--header",
            "statsig-api-key:${AUTH_TOKEN}"
        ],
        "env": {
            "AUTH_TOKEN": "<console-YOUR-API-KEY>"
        }
    }
}

This server implements the Model Context Protocol (MCP) for Statsig API integration, supporting both stdio and SSE transports.

Installation

npm install
npm run build

Usage

Integration with MCP Client Config

To use this server with an MCP client, configure your mcp.json as follows:

{
  "mcpServers": {
    "statsig-local": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://api.statsig.com/v1/mcp?utm=mcp_so",
        "--header",
        "statsig-api-key:${AUTH_TOKEN}"
      ],
      "env": {
        "AUTH_TOKEN": "console-YOUR-API-KEY"
      }
    }
  }
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.