Statsig MCP now supports for both Segments and Layers, so you can more seamlessly manage user targeting and experiment configuration using your AI workflows.
View full segment definitions and create new segments (rule-based or ID-based)
Update existing segments, including rule-based segments and ID-based segment membership
View all layers and their parameter details
Create layers and create experiments with assignment to a layer
Segments and Layers are core building blocks for safe, precise experimentation. Segments unlocked faster targeting definition based on a set of users or rules. Layers unlocked cleaner parameter management under high experiment volume. Now, empowering your agents with these tools will help accelerate iteration velocity and improved engineering efficiency, all while maintaining safe and consistent experiment configurations.
If you have the Statsig MCP set up, try the below example prompts and workflows to explore the new segment and layers functionality:
"List all segments, then show details for the segment [segment_name].β
βCreate a layer for shared signup experiment parameters.β
"Create an experiment testing new signup flow UI and add it to the signup_tests layer."
Learn more in the docs: Statsig MCP Overview.