Developer Tools · Data & Analytics

Statsig MCP

Statsig MCP exposes experiments, feature gates, dynamic configs, layers, metrics, segments, reviews, audit logs, and observability workflows.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Reject gate review

    Reject an in-flight review of a gate (feature flag). Rejection is terminal — the proposed change is not applied and the review cannot be reopened (create a new review to retry). A `reason` is required. The acting user must be an eligible reviewer (see Get_Gate_Eligible_Reviewers) and cannot reject their own review. Requires a key owned by a user. path_id = the gate's name/ID; path_reviewID = the review ID.

  • Search

    Search the Statsig MCP data source and return relevant results. Use the fetch tool to retrieve full documents.

  • Search tools

    Search the full Statsig MCP tool catalog using natural language, exact names, aliases, categories, and typo-tolerant matching. Results are permission-aware and ranked by relevance, operation intent, reliability, and usage. Fetch a result's schema with Get_Tool_Schema, then execute it with Invoke_Tool.

  • Start experiment code cleanup

    Start code cleanup for a stale experiment by name, which creates a PR to remove the experiment from your codebase.

  • Start gate code cleanup

    Start code cleanup for a gate by name, which creates a PR to remove the gate from your codebase.

  • Start prompt version evals

    Start an offline evaluation job for a specific Prompt Version, identified by the Prompt id and the versionId.

  • Update dynamic config entirely

    Fully update a dynamic config, replacing everything the dynamic config currently has on the Statsig console with the data included in this POST request. Use the GET option to gather the attributes of the dynamic config, edit them, then use this tool. CRITICAL CONSTRAINTS: - the return value for each variant must be set with returnValueJson5. - Always include DefaultValue field in the POST request

  • Update experiment entirely

    Fully update an experiment, replacing everything the experiment currently has on the Statsig console with the data included in this POST request. Use the GET option to gather the attributes of the experiment, edit them, then use this Tool. For metrics, omit direction and hypothesizedValue unless the user explicitly asks for one-sided testing or one-sample testing. Metric direction enables one-sided testing; hypothesizedValue enables one-sample testing against a fixed baseline.

  • Update gate entirely

    Fully update a gate, replacing everything the gate currently has on the Statsig console with the data included in this POST request. Use the GET option to gather the attributes of the gate, edit them, then use this tool.

  • Update layer entirely

    Fully update a layer, replacing everything the layer currently has on the Statsig console with the data included in this POST request. Use the GET option to gather the attributes of the layer, edit them, then use this tool.

  • Update param store

    Update an existing Param Store by name. Set its description and/or its parameters. Each parameter is typed (string/boolean/number/object/array) and is either a static value or a reference to a gate, layer, dynamic config, or experiment. Note: the parameters field replaces the store's full parameter list, so include every parameter you want to keep. This modifies a live store that SDKs read.

  • Update prompt

    Partially update a Prompt by ID. Only the fields you include are changed. Supports updating description, targetApps, team, and teamID.

  • Update segment

    Update a Statsig segment using the appropriate segment endpoint. Supports rule-based rule updates and add operations for ID list / user store ID list segments via params.query_operation.

PreviousPage 5 / 5