MCP configuration guides
Codex
Set up Statsig MCP using Codex Desktop App, CLI, or IDE extension.
ChatGPT Connector
Talk to your Statsig projects from within ChatGPT.
Cursor
Configure Statsig MCP in Cursor IDE.
Claude Code
Set up Statsig MCP in Claude Code.
Manual setup
Manual configuration for any MCP-compatible tool.
Current MCP capabilities
Audit Logs
Audit Logs
| Tool | Description |
|---|---|
| Get_Audit_Logs | List audit logs in the project. Filter by:
|
Dynamic Configs
Dynamic Configs
| Tool | Description |
|---|---|
| Create_Dynamic_Config | Create new config |
| Get_Dynamic_Config_Details_by_ID | Retrieve detailed config information |
| Get_List_of_Dynamic_Configs | List all dynamic config objects in the project. Filter by:
|
| Update_Dynamic_Config_Entirely | Replace entire dynamic config with new targeting and values |
Experiments (A/B Tests)
Experiments (A/B Tests)
| Tool | Description |
|---|---|
| Create_Experiment | Create new experiment |
| Get_Experiment_Details_by_ID | Get experiment details |
| Get_Experiment_Results | Retrieve experiment results/pulse data for a specific experiment.
Analyze by:
|
| Get_List_of_Experiments | List all experiments in the project. Filter by:
|
| Update_Experiment_Entirely | Replace entire experiment configuration (any excluded data will be removed) |
Gates (Feature Flags)
Gates (Feature Flags)
| Tool | Description |
|---|---|
| Create_Gate | Create new gate/flag |
| Get_Gate_Details_by_ID | Get complete gate configuration details |
| Get_Gate_Results | Retrieve pulse/results for a specific gate rule.
|
| Get_List_of_Gates | List all gates/flags. Filter by:
|
| Update_Gate_Entirely | Replace entire gate setup with new rules and settings (any excluded data will be removed) |
Metrics and Metric Sources
Metrics and Metric Sources
| Tool | Description |
|---|---|
| Get_List_of_Metric_Sources | List all metric sources in the project |
| Get_List_of_Metrics | List all metrics in the project. Filter by:
|
| Get_Metric_Definition_by_ID | Get the full definition for a metric, including its type, source, and configuration details |
Segments
Segments
| Tool | Description |
|---|---|
| Get_List_of_Segments | List all segments in the project |
| Update_Segment | Update an existing segment. Specifically:
|
Use Cases
The Statsig MCP server now supports bothGET and POST requests. This means tools can not only read data (like stale gates) but also make updates, if your API key has write permissions. We’ve found the Statsig MCP server especially useful for:
- Repetitive tasks like cleaning up stale gates
- Summarizing console information in your IDE workflows
- Bulk creating or deleting gates, and making the necessary changes in your code