Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Update experiment
MIXPANEL_MCP_UPDATE_EXPERIMENTRequired tools: Get-Business-Context (call it once per conversation, before this tool). Update experiment configuration or manage its lifecycle. Lifecycle actions (set action param): - "launch": DRAFT→ACTIVE. Enables linked flag. - "conclude": ACTIVE→CONCLUDED. Disables linked flag. - "decide": CONCLUDED→SUCCESS/FAIL. See "decide" below. - "archive" / "restore": soft delete / undelete. For action="decide", pick by settings.collectionMethod (call Get-Experiment first if unknown). shipMode rolls the linked flag as part of decide; omit it on exposure-events experiments (returns UnsupportedCollectionMethod). feature_flag experiments: ship variant X → shipMode="ship_variant", variant=X keep control → shipMode="do_not_ship" (auto: success=true) abandon flag → shipMode="abandon" (auto: success=false, variant="abandoned") record only → success=true|false, variant=<key> (omit shipMode) exposure_events experiments (always omit shipMode): ship variant X → success=true, variant=X keep control → success=true, variant=<control_key> abandon → success=false, variant="abandoned" keepCohortTargeting (only with shipMode=ship_variant|do_not_ship): preserve existing cohort restrictions instead of serving the chosen variant to 100%. Config updates (all optional): name, description, hypothesis, metrics, settings, tags. Metrics: Use List-Metrics to find saved metric IDs, then pass them via primaryMetricIds/guardrailMetricIds/secondaryMetricIds. Alternatively, define inline with the metrics array using eventName and metricType. Field edits and launches run the seven deterministic pre-launch pitfall checks over the *resulting* configuration (the server merges this patch onto the stored experiment and derives most inputs from it). Optional `validationContext` supplies the externals it can't derive (baseline rate, MDE, expected exposures, cohort size, primary-metric measurement types). Blockers short-circuit the update (actionable error); warnings/fyi ride along as `validationFindings` on the updated experiment.
Update feature flag
MIXPANEL_MCP_UPDATE_FEATURE_FLAGRequired tools: Get-Business-Context (call it once per conversation, before this tool). Update flag configuration, status, or archive state. For rollout / kill-switch / archival decisions — including the staged-rollout cadence, when to use status vs rolloutPercentage, and archive-vs-restore semantics — call `Get-Feature-Flag-Lifecycle-Guidance` first. All fields on `flag` are optional but at least one is required. Set `context` to change the assignment key (`distinct_id`, `device_id`, or a data group's property name such as `company_id`); it cannot be combined with archive/restore, is rejected for experiment-linked flags (change it in the Mixpanel UI, in the experiment's settings) and for flags with cohort-filtered rollout groups. To configure cohort targeting or advanced rollout rules, use the Mixpanel UI via the flag's URL (returned by Get-Feature-Flag).
Update lookup table
MIXPANEL_MCP_UPDATE_LOOKUP_TABLERequired tools: Get-Business-Context (call it once per conversation, before this tool). Update a lookup table with a row delta and/or edit name/description. Send only the cells you want to change — you do NOT need to read or resend the whole table: - `upsert_rows`: a list of {column: value} objects to add or patch. When a row's `primary_key_column` matches an existing row, only the columns you send are updated and the row's other columns are kept; an unmatched key is added as a new row. Set a column to "" to blank it; to replace all of a row's columns, `delete_keys` it and upsert it in the same call. - `delete_keys`: a list of primary-key values whose rows to remove. Keys not in the table are ignored (reported back under `not_found`). The server reads the current table, applies the delta, and re-imports the full result, so a shrink is an explicit `delete_keys` rather than an omission. The response includes an `update_summary` ({added, updated, deleted, not_found}) so you can confirm what landed. Pass `name`/`description` to edit metadata. Provide at least one field.
Update metric
MIXPANEL_MCP_UPDATE_METRICRequired tools: Get-Business-Context (call it once per conversation, before this tool). Update saved metric's name, definition, or description. At least one field required. Warning: affects all experiments using this metric. Consider creating new metric to preserve original. Use Get-Metric first.
Update tracking plan
MIXPANEL_MCP_UPDATE_TRACKING_PLANRequired tools: Get-Business-Context (call it once per conversation, before this tool). Change a tracking plan's name, description, or event membership. Membership is merged, so name only the events you are changing: `events` adds or updates the names it lists, `remove_events` drops the names it lists, and members in neither are left alone. Reading the plan first is only needed to remove an event, which matches on the exact member name — call Get-Tracking-Plan for those. Removing an event drops it from the plan only. Its event definition stays in the project, so this does not untrack anything. At least one of name, description, events or remove_events must be given. An unknown plan_id is rejected; call List-Tracking-Plans to find the right one. Params: - project_id (int, required): Mixpanel project the plan belongs to. - plan_id (str, required): The plan to patch, from Create-Tracking-Plan, Get-Tracking-Plan or List-Tracking-Plans. - name (str, optional): New plan name, 1-255 characters, unique within the project. Omit to leave unchanged. - description (str, optional): New plan description. Omit to leave unchanged; pass "" to clear it. - events (list, optional): Events to add to the plan or update in place, same shape as Create-Tracking-Plan. At most 1,000 entries. - remove_events (list of str, optional): Names of events to drop from the plan. A name that is not in the plan is ignored. A name cannot appear in both events and remove_events.