Statsig for AI agents
Statsig is an experimentation and feature-flagging platform where product teams run A/B tests, roll out feature gates, and manage dynamic configs and metrics. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.
What agents do in Statsig.
Create a new feature gate
Set up a feature gate for a rollout, then leave it unpublished until someone reviews the configuration.
Approve a pending experiment review
Approve a pending experiment review only after a teammate has signed off on the proposed test.
Check status of a gate review
Look up whether a feature gate review has been approved, cancelled, or is still waiting on sign-off.
93 Statsig actions, graded by risk.
Every Statsig action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.
read
46Look things up. Allowed by default.
- statsig.get_contextGet context
- statsig.search_toolsSearch tools
- statsig.get_audit_logsGet audit logs
- statsig.get_tool_schemaGet tool schema
- statsig.get_gate_resultsGet gate results
- statsig.get_list_of_tagsGet list of tags
- statsig.get_list_of_gatesGet list of gates
- statsig.get_segment_by_idGet segment by id
- statsig.get_list_of_layersGet list of layers
- statsig.get_layer_overridesGet layer overrides
- statsig.get_list_of_metricsGet list of metrics
- statsig.get_list_of_promptsGet list of prompts
- statsig.query_logs_explorerQuery logs explorer
- statsig.get_list_of_segmentsGet list of segments
- statsig.get_gate_review_by_idGet gate review by id
- statsig.get_layer_experimentsGet layer experiments
write
41Create and change things. Allow, or ask the user first.
- statsig.create_gateCreate gate
- statsig.create_layerCreate layer
- statsig.create_promptCreate prompt
- statsig.update_promptUpdate prompt
- statsig.create_segmentCreate segment
- statsig.update_segmentUpdate segment
- statsig.create_autotuneCreate autotune
- statsig.create_experimentCreate experiment
- statsig.create_gate_reviewCreate gate review
- statsig.create_param_storeCreate param store
- statsig.update_param_storeUpdate param store
- statsig.update_gate_entirelyUpdate gate entirely
- statsig.create_dynamic_configCreate dynamic config
- statsig.create_prompt_versionCreate prompt version
- statsig.update_layer_entirelyUpdate layer entirely
- statsig.create_autotune_reviewCreate autotune review
destructive
6Delete, cancel or archive. Ask first, or deny outright.
- statsig.delete_experimentDelete experiment
- statsig.cancel_gate_reviewCancel gate review
- statsig.delete_param_storeDelete param store
- statsig.cancel_autotune_reviewCancel autotune review
- statsig.cancel_experiment_reviewCancel experiment review
- statsig.cancel_dynamic_config_reviewCancel dynamic config review
Statsig in three steps.
- 01Your users connect StatsigThey sign in to Statsig on Arc0 Connect, under your brand, and approve the access you ask for.
- 02You set the rulesReads run, writes like “create gate” can wait for the user, and “delete experiment” can be denied outright.
- 03Any agent can actYour agent calls Statsig through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
await arc0.policies.set('statsig', { read: 'allow', write: 'ask', // create_gate destructive: 'deny', // delete_experiment }) # Claude Code: the same connection, one URL $ claude mcp add --transport http arc0 \ https://mcp.arc0.ai/u/u_8f2
How Statsig connects.
Statsig runs its own MCP server behind OAuth. Arc0 registers the client, users approve access on Arc0 Connect, and your agent reaches Statsig through the same endpoint, policies and audit log as every other app.
The same Statsig connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →
- AUTH
- OAuth 2.0 (MCP)
- CREDENTIALS
- Per-tenant encrypted vault
- MODEL SEES
- Results only, never credentials
- AUDIT LOG
- Every call, on every plan
Use Statsig from any agent.
Statsig and Arc0, answered.
Can I use Statsig with Claude, ChatGPT or Cursor?
Yes. Connect Statsig to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Statsig actions you allow.
How do users connect Statsig?
Statsig runs its own MCP server behind OAuth. Arc0 registers the client, users approve access on Arc0 Connect, and your agent reaches Statsig through the same endpoint, policies and audit log as every other app.
Which Statsig actions can my agent take?
93 in total: 46 read, 41 write and 6 destructive, such as “create gate”. Your policies decide which of them each agent may call.
Can I stop my agent from deleting things in Statsig?
Yes. Actions like “delete experiment” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.
Can my own backend call Statsig too?
Yes. The same Statsig connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.
Plug Statsig into your agent.
Your users connect Statsig once, under your brand. Your agent gets 93 actions behind your policies, with every call on the record.
Free to build · MCP + REST · Audit log on every plan