Mitzu MCP Server

Mitzu's MCP server lets you ask questions about your product data from any MCP-compatible AI client — Claude, Cursor, ChatGPT, and others. It exposes the Mitzu analytics agent over a remote endpoint, so you can run analyses, inspect artifacts, and continue conversations from your editor or chat tool.
Connect your client​
Most clients connect with a one-click install button or an in-app Connectors UI that takes the URL above. On first connect your client opens a browser for WorkOS login and prompts you to pick a workspace — the client stores the rotating access token automatically, so there is no token to copy from the Mitzu UI.
Pick a client above to see step-by-step connect instructions.
Advanced connection details
What the agent can do​
The MCP server exposes the same Mitzu analytics agent that powers the in-app and Slack experiences — natural-language segmentation, funnels, retention, and data discovery. See Analytics Agent for the full capability list and example prompts.
Tools​
The MCP server exposes 8 tools in agent mode. Most clients only need run_analytics_agent — the rest let you drill into the artifacts the agent produces without paying for another agent run.
| Tool | Purpose |
|---|---|
run_analytics_agent | Start an analytics run on a natural-language question. Returns immediately with a conversation_id. |
get_analytics_agent_status | Poll an in-flight run. Long-polls by default and streams live progress over SSE. |
list_agent_artifacts | List every data artifact the agent has produced in the current session. |
inspect_artifact | Inspect metadata for a stored artifact. |
describe_table_artifact | Get row count, columns, dtypes, and a head sample for a table artifact. |
query_table_artifact | Filter, sort, project columns, and paginate rows from a table artifact. |
read_json_artifact | Read bounded slices from one or more JSON artifacts. |
grep_json_artifact | Regex-search rows of a JSON artifact. |
run_analytics_agent is asynchronous. It spawns the agent as a background task in the server process and returns immediately with {status: "running", conversation_id, prompt_id, conversation_url}. Clients poll get_analytics_agent_status to retrieve progress and the final answer.
All other tools are synchronous and return a single JSON response.
Tool reference
Conversations and artifacts​
run_analytics_agent is a durable conversation, not a stateless call. Every run is persisted server-side and surfaces a conversation_url deep link into the Mitzu webapp. Pass the returned conversation_id back into another run_analytics_agent call to continue the same conversation — including conversations that originally started in the webapp or in Slack.
Artifacts are scoped per user and project, so they're shared across every tool call you make on the MCP server. Drill into artifacts the agent produced with list_agent_artifacts followed by query_table_artifact, read_json_artifact, or grep_json_artifact — much faster than re-running the agent for follow-up questions.
Troubleshooting​
- Authentication expired — re-authenticate from the client. WorkOS access tokens rotate every few minutes; refresh is automatic, but a long-idle client may need to re-run the connect flow.
406 Not Acceptable— the client is sendingAccept: application/jsononly. Addtext/event-streamto theAcceptheader.{status: "busy"}onrun_analytics_agent— an earlier run is still in flight on the sameconversation_id. Passcancel_running=trueto take over, or start a new conversation by omittingconversation_id.{status: "lost"}onget_analytics_agent_status— the server restarted mid-run, leaving no transcript. Re-issuerun_analytics_agentto retry.