Statsig

Statsig

Drive Statsig (feature flags + experiments + analytics) from any AI agent: evaluate gates/dynamic configs/experiments, log events, manage console-side gates and experiments. 10 tools, server-secret-key auth.

7 天免费 · 无需信用卡 · EU 托管

问 Statsig 任何事

通过 AnythingMCP 对 Statsig 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 Statsig
Statsig · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 Statsig。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 Statsig

Statsig 指南

面向主流 AI 客户端的逐步设置。

配置 Statsig

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

This connector uses the Statsig HTTP API (docs.statsig.com).

Two distinct APIs:

  • Server SDK API (api.statsig.com/v1/...) — runtime evaluation + event logging. Requires STATSIG_SERVER_SECRET_KEY (starts with secret-).
  • Console API (statsigapi.net/console/v1/...) — admin operations like creating gates. Requires STATSIG_CONSOLE_API_KEY (starts with console-). The adapter uses the Server SDK base by default; tools that hit the Console API set explicit absolute URLs in their endpointMapping.

Setup:

  1. Sign in to https://console.statsig.com → Settings → Keys & Environments.
  2. Copy the Server Secret Key (secret-...) for runtime ops.
  3. Copy a Console API Key (console-...) for admin ops (Settings → Project Settings → API Keys → Create Console API Key).
  4. Set STATSIG_SERVER_SECRET_KEY and (optionally, for admin tools) STATSIG_CONSOLE_API_KEY.

Authentication: Server SDK uses statsig-api-key: ${SERVER_SECRET} header. Console uses STATSIG-API-KEY: ${CONSOLE_KEY} header.

Statsig-Client-Time header: server SDK endpoints prefer a STATSIG-CLIENT-TIME header (Unix ms) — Statsig uses for evaluation timing. Skip for simple cases.

User object: every gate/config/experiment evaluation needs a user object with at minimum userID (your stable user ID). Add email, country, appVersion, custom for targeting accuracy.

Out of scope here: Layers API (experiment layers), holdouts, GitHub integration, audit log, project membership management.

你的 AI 距离 Statsig 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。