> ## Documentation Index
> Fetch the complete documentation index at: https://docs.incident.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Statsig

> See which feature gate, experiment or config changed before an incident started.

Connect Statsig as a [connector](https://docs.incident.io/nexus/extensions/connectors.md) to let incident.io's agents check feature gates, experiments and dynamic configs, and what changed in them recently.

Statsig offers two ways in:

* **[MCP server](#connect-the-mcp-server)** Recommended: Statsig maintains the tools.
* **[HTTP API](#connect-the-http-api)**: use this when you want to choose exactly which Console API operations agents can call.

**What you'll need:**

* A Statsig account with access to the projects you want agents to reach.
* The **Manage Nexus sources** permission in incident.io.

## Connect the MCP server

1. From [Extensions](https://app.incident.io/~/nexus/extensions), add a connector and choose **MCP server**.
2. Leave network access as **Public internet**, and give the connector a display name such as `Statsig`.
3. Enter `https://api.statsig.com/v3/mcp` as the server URL, and click **Check URL**.
4. Under **Authentication**, choose how to sign in:
   * **OAuth**, which Statsig recommends. Click **Connect with OAuth** and sign in to Statsig. Your organization owner needs to allow Personal Console API Keys for your role, in Statsig's [organization settings](https://console.statsig.com/settings?tab=organization).
   * **Bearer token**, with a Console API key. Set the header name to `statsig-api-key`, so the key is sent in that header. A read-only key gives agents only the read tools.
5. Review which tools are enabled and the connector's [default policy](https://docs.incident.io/nexus/extensions/connectors.md#default-policy), then save.

## Connect the HTTP API

Create a Console API key in Statsig under **Project Settings → Keys & Environments**. A read-only key keeps agents to reads.

Statsig expects the key in a `STATSIG-API-KEY` header, so you send it as a fixed header.

1. From [Extensions](https://app.incident.io/~/nexus/extensions), add a connector and choose **HTTP API**.
2. Paste Statsig's [OpenAPI document](https://api.statsig.com/openapi/20240601.json). It describes the whole Console API, so you may want to trim it to the operations agents need.
3. Enter `https://statsigapi.net` as the base URL.
4. Under authentication, choose **No authentication** and add a header named `STATSIG-API-KEY` with your Console API key as its value.
5. Test the connection, review which operations are enabled and the connector's [default policy](https://docs.incident.io/nexus/extensions/connectors.md#default-policy), then save.

See [Connectors](https://docs.incident.io/nexus/extensions/connectors.md#permissions) for how to control which tools agents can call, and from where.

## Pair it with a skill

Agents work best with a connector when it's paired with a [skill](https://docs.incident.io/nexus/extensions/plugins.md). For Statsig, say which projects belong to which product areas, which gates guard risky launches, and which changes are routine.
