No install? Use cloud.anythingmcp.com directly.
Sign in, install the Statsig in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.
TL;DR
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.
💡 Niente installazione? Vai direttamente su cloud.anythingmcp.com. Accedi, clicca Connectors → Statsig, inserisci le credenziali, genera una MCP API key — fatto. Niente Docker, niente
git clone, niente server locale.
Statsig + Gemini
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.
Prerequisiti
Le istruzioni di setup complete sono incluse nel connettore stesso (visibili nello store quando lo selezioni). Le variabili d'ambiente richieste sono:
STATSIG_SERVER_SECRET_KEY
Step 1 — Ottieni le credenziali
statsig.com).
Two distinct APIs:
- Server SDK API (
api.statsig.com/v1/...) — runtime evaluation + event logging. RequiresSTATSIG_SERVER_SECRET_KEY(starts withsecret-). - Console API (
statsigapi.net/console/v1/...) — admin operations like creating gates. RequiresSTATSIG_CONSOLE_API_KEY(starts withconsole-). The adapter uses the Server SDK base by default; tools that hit the Console API set explicit absolute URLs in their endpointMapping.
…(continued in the in-app connector instructions)
Step 2 — Installa l'adapter
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
Step 3 — Aggiungi il connettore in Gemini
Gemini CLI legge i server MCP da ~/.gemini/settings.json (o %APPDATA%\gemini\settings.json su Windows). Aggiungi:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
}
}
}
- Ottieni la tua MCP API key da AnythingMCP → Profilo → MCP API Keys → Nuova Key.
- Salva il file e riavvia
gemini. - Esegui
/mcpnella Gemini CLI —Statsigdovrebbe essere elencato come disponibile. - Vertex AI Studio: passa
https://cloud.anythingmcp.com/mcpnell'arraytoolsdella richiesta con lo stesso header Bearer.
Tool disponibili
| Tool | What it does |
|---|---|
statsig_check_gate | Evaluate a feature gate (boolean flag) for a user |
statsig_get_config | Evaluate a Dynamic Config for a user |
statsig_get_experiment | Evaluate an experiment for a user |
statsig_initialize | Bulk evaluate ALL gates/configs/experiments for a user in one call |
statsig_log_event | Log a custom event for analytics + experiment exposure tracking |
statsig_list_gates | Console: list feature gates defined in the project |
statsig_get_gate_config | Console: fetch a gate's definition (rules, targeting) |
statsig_create_gate | Console: create a new feature gate |
statsig_list_experiments | Console: list experiments |
statsig_get_experiment_results | Console: fetch experiment metric results (pulse readout) |
FAQ
Gemini 1.5 Pro o 2.x supportano MCP? Sì — Gemini CLI ≥ 0.4 e la Vertex AI tools API accettano connettori MCP httpUrl con header Bearer.
Prossimi passi
Questa guida ti è stata utile?