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.

  • Create gate review

    Open a review proposing a change to a gate (feature flag). The change is NOT applied to the live gate yet — it must be approved (Approve_Gate_Review) and then committed (Commit_Gate_Review). Provide a description, an optional set of requested reviewers (use Get_Gate_Eligible_Reviewers to find valid IDs), and a `change` carrying EXACTLY ONE proposed operation (e.g. rules, is_enabled, is_archived, delete). Requires a key owned by a user (review actions are attributed to the key owner). path_id = the gate's name/ID.

  • Create layer

    Create a new layer, including its name, ID type, and optional target apps or team ownership.

  • Create param store

    Create a new Param Store (a reusable, named collection of typed parameters) in this Statsig project. Provide a name (the in-code identifier), a displayName, and a description. The store is created empty — add parameters afterward with Update_Param_Store. Optionally set targetAppIDs, tags, and team.

  • Create prompt

    Create a new Prompt (a specialized AI Config for managing and versioning LLM prompts) in the Statsig console. A Prompt is created by name (the in-code identifier); optionally set a displayName, description, target apps, owning team, and tags. Add prompt content afterward with Create_Prompt_Version.

  • Create prompt version

    Create a new version of an existing Prompt. Provide the prompts array (each entry has a role of system, user, or assistant and its content), and optionally the model, provider, temperature, top_p, max_tokens, frequency_penalty, presence_penalty, description, eval_model, and workflow fields (workflow_body, workflow_headers, auth_workflow_headers). The version name (in-code identifier) is set via name.

  • Create segment

    Create a new segment, including its name, type, optional ID, ID type, and rules for rule-based segments.

  • Delete experiment

    Delete an experiment (A/B test) by ID. Destructive and irreversible — confirm the ID before calling. On a team that requires reviews, prefer proposing the deletion through review (Create_Experiment_Review with type "delete" → approve → commit) instead of deleting directly. Requires a key owned by a user. path_id = the experiment's ID.

  • Delete param store

    Delete a Param Store by name. Destructive and irreversible — it removes a store that SDKs may be reading. Confirm the name before calling.

  • Edit autotune review

    Edit an in-flight autotune review's metadata — description and/or requested reviewers. Supply any subset; an omitted field keeps the review's current value, and an empty body is rejected. Autotune reviews have no editable "content" (to change the proposed change, cancel and recreate). The review must still be mutable (pending or accepted). Requires a key owned by a user. path_id = the autotune's ID; path_reviewID = the review ID.

  • Edit dynamic config review

    Edit an in-flight dynamic config review's metadata (description, requested reviewers) and/or its proposed `change`. Supply any subset; an empty body is rejected. The review must still be mutable (pending or accepted); content (`change`) can only be edited while pending and cannot change the review's type. Requires a key owned by a user. path_id = the dynamic config's name/ID; path_reviewID = the review ID.

  • Edit experiment review

    Edit an in-flight experiment (A/B test) review's metadata — description and/or requested reviewers. Supply any subset; an omitted field keeps the review's current value, and an empty body is rejected. Experiment reviews have no editable "content" (to change the proposed change, cancel and recreate). The review must still be mutable (pending or accepted). Requires a key owned by a user. path_id = the experiment's ID; path_reviewID = the review ID.

  • Edit gate review

    Edit an in-flight gate (feature flag) review's metadata (description, requested reviewers) and/or its proposed `change`. Supply any subset; an empty body is rejected. The review must still be mutable (pending or accepted); content (`change`) can only be edited while pending and cannot change the review's type. Requires a key owned by a user. path_id = the gate's name/ID; path_reviewID = the review ID.

  • Fetch

    Fetch the full document for a search result id. Use the id returned by search.

  • Get audit logs

    List audit logs for this Statsig project. Supports filtering by id, sorting, tags, date range, and pagination.

  • Get autotune eligible reviewers

    List the users and reviewer groups eligible to approve/reject a review of this autotune experiment. Use this to pick valid reviewer_ids / reviewer_group_ids when creating or editing an autotune review. The response carries everyone_eligible (true when anyone may review), users (the flattened, deduped set of eligible individuals), and groups (each with its member user_ids). Note: project admins can always review and are NOT enumerated here. path_id = the autotune's ID.

  • Get autotune review by id

    Get a single review for an autotune experiment by its review ID, including its status, proposed change type, author, and requested reviewers. A review is a proposed change that goes through an approve → commit lifecycle before it is applied. path_id = the autotune's ID; path_reviewID = the review ID (from Get_List_of_Autotune_Reviews or Create_Autotune_Review).

  • Get context

    Bootstrap the authenticated Statsig MCP session. Returns bounded organization, selected project, environment, effective API-key permissions, review settings, accessible product areas, project environments, event sources, metrics, default timezone, and relevant links. The API key already selects one project, so no project ID is required. Use scope for common bundles and fields/limit to request only the context sections you need.

  • Get dynamic config details by id

    Get the details (including rules, return values, and more) for a Dynamic Config (static, targetable JSON) in the Statsig console.

  • Get dynamic config eligible reviewers

    List the users and reviewer groups eligible to approve/reject a review of this dynamic config. Use this to pick valid reviewer_ids / reviewer_group_ids when creating or editing a dynamic config review. The response carries everyone_eligible (true when anyone may review), users (the flattened, deduped set of eligible individuals), and groups (each with its member user_ids). Note: project admins can always review and are NOT enumerated here. path_id = the dynamic config's name/ID.

  • Get dynamic config review by id

    Get a single review for a dynamic config by its review ID, including its status, proposed change, author, and requested reviewers. A review is a proposed change to the dynamic config that goes through an approve → commit lifecycle before it is applied. path_id = the dynamic config's name/ID; path_reviewID = the review ID (from Get_List_of_Dynamic_Config_Reviews or Create_Dynamic_Config_Review).

PreviousPage 2 / 5Next