From 571728665f63d70d28f57941bc1f65b9e9694a26 Mon Sep 17 00:00:00 2001 From: DJ Satoda Date: Tue, 18 Nov 2025 16:42:48 -0500 Subject: [PATCH 1/3] Adding MCP details --- pages/docs/features/mcp.mdx | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/pages/docs/features/mcp.mdx b/pages/docs/features/mcp.mdx index 9b5b8446d3..32b2c929c8 100644 --- a/pages/docs/features/mcp.mdx +++ b/pages/docs/features/mcp.mdx @@ -9,7 +9,7 @@ import { Code, Callout } from 'nextra/components' --- ## Overview -The Mixpanel Model Context Protocol (MCP) integration enables organizations to analyze product data using conversational AI. Teams can query events, funnels, and user behavior through AI interfaces (Claude, Cursor, etc.) using natural language, eliminating the need for complex dashboard navigation or technical query languages. +The Mixpanel Model Context Protocol (MCP) integration enables organizations to analyze product and replay data using conversational AI. Teams can query events, session replays, funnels, and user behavior through AI interfaces (Claude, Cursor, etc.) using natural language, eliminating the need for complex dashboard navigation or technical query languages. **Beta Feature:** Help us improve this integration by sharing your feedback [here](https://docs.google.com/forms/d/e/1FAIpQLSchV5qoyiI9tmtxOkDF_4So5KKR1iiZzuqcPbwMOphQC_lEVA/viewform?usp=header). @@ -36,6 +36,10 @@ The MCP integration provides access to all core Mixpanel analysis capabilities t - Data Quality: Monitor and detect volume anomalies in data ingestion (`get_data_volume_anomalies`) - Lexicon Integration: Get direct links to event definitions and documentation in Mixpanel Lexicon (`get_lexicon_detail_url`) +### Qualitative Analysis + +- Session Replays: Analyze a specific user's replays in combination with event data (`get_user_replays_data`) + ### Query Capabilities - Natural Language Filtering: Use complex boolean expressions for data filtering @@ -278,6 +282,20 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --allow-http - Query: "Compare user behavior across different feature roll outs" - Business Value: Measure feature impact and optimize product decisions +**Session Replay Analysis** + +- Query: "What did this user do before they submitted positive feedback?" +- Business Value: Understand user context and behavior patterns by combining event data with visual replay footage + +- Query: "What features does this user use most? Analyze their session replays" +- Business Value: Better understand specific customers usage patterns without building reports or watching dozens of replays + +- Query: "This user reported an issue—what happened in their replays?" +- Business Value: Accelerate support investigations by getting instant answers that combine events and replay context + +- Query: "Analyze all replays for user [user_id] and identify common patterns" +- Business Value: Surface themes and patterns across multiple replays for faster, more comprehensive user analysis + ### Key Benefits **Democratized Analytics** @@ -289,6 +307,7 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --allow-http - Reduce time-to-insight from minutes to seconds - Eliminate context switching between tools - Enable real-time decision making +- Save hours daily by analyzing replays and events together without manually piecing together **Strategic Value** - Accelerate product discovery processes From ac0cde01e0de4f4523a2fcd3c938f49038cb90aa Mon Sep 17 00:00:00 2001 From: DJ Satoda Date: Tue, 18 Nov 2025 16:57:21 -0500 Subject: [PATCH 2/3] Cleaning up use cases section --- pages/docs/features/mcp.mdx | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pages/docs/features/mcp.mdx b/pages/docs/features/mcp.mdx index 32b2c929c8..70da2b9176 100644 --- a/pages/docs/features/mcp.mdx +++ b/pages/docs/features/mcp.mdx @@ -282,20 +282,18 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --allow-http - Query: "Compare user behavior across different feature roll outs" - Business Value: Measure feature impact and optimize product decisions -**Session Replay Analysis** - -- Query: "What did this user do before they submitted positive feedback?" -- Business Value: Understand user context and behavior patterns by combining event data with visual replay footage +**User Feedback Analysis** +- Query: "Why did this user submit negative feedback? Analyze their session replays." +- Business Value: Understand user context and behavior patterns by analyzing replay footage in combination with your event data. +**Usage Analysis** - Query: "What features does this user use most? Analyze their session replays" -- Business Value: Better understand specific customers usage patterns without building reports or watching dozens of replays +- Business Value: Better understand specific customers usage patterns without needing to build reports or watch dozens of replays -- Query: "This user reported an issue—what happened in their replays?" +**Troubleshooting User Issues** +- Query: "This user reported an issue; what happened in their replays?" - Business Value: Accelerate support investigations by getting instant answers that combine events and replay context -- Query: "Analyze all replays for user [user_id] and identify common patterns" -- Business Value: Surface themes and patterns across multiple replays for faster, more comprehensive user analysis - ### Key Benefits **Democratized Analytics** From ac59c557f9c1b25d4ce2b67706a810c213e94fc8 Mon Sep 17 00:00:00 2001 From: DJ Satoda Date: Tue, 18 Nov 2025 17:07:11 -0500 Subject: [PATCH 3/3] switching urls to mcp from sse --- pages/docs/features/mcp.mdx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/docs/features/mcp.mdx b/pages/docs/features/mcp.mdx index 70da2b9176..55f73bb376 100644 --- a/pages/docs/features/mcp.mdx +++ b/pages/docs/features/mcp.mdx @@ -98,7 +98,7 @@ brew install node 2. Go to **Settings** → **Connectors** → **Add Custom Connector** 3. Configure the integration: - **Integration Name:** Mixpanel (or preferred name) - - **Integration URL:** `https://mcp.mixpanel.com/sse` + - **Integration URL:** `https://mcp.mixpanel.com/mcp` 4. Click **Connect** and complete Mixpanel authorization For additional information on setting up Claude connectors, see [Claude's connector documentation](https://support.anthropic.com/en/articles/11724452-browsing-and-connecting-to-tools-from-the-directory). @@ -123,7 +123,7 @@ For additional information on setting up Claude connectors, see [Claude's connec "args": [ "-y", "mcp-remote", - "https://mcp.mixpanel.com/sse", + "https://mcp.mixpanel.com/mcp", "--allow-http" ] } @@ -133,7 +133,7 @@ For additional information on setting up Claude connectors, see [Claude's connec 4. Run authorization command in terminal: ```bash -npx -y mcp-remote https://mcp.mixpanel.com/sse --allow-http +npx -y mcp-remote https://mcp.mixpanel.com/mcp --allow-http ``` 5. Complete Mixpanel authorization via the provided link @@ -158,7 +158,7 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --allow-http "args": [ "-y", "mcp-remote", - "https://mcp.mixpanel.com/sse", + "https://mcp.mixpanel.com/mcp", "--allow-http" ] } @@ -168,7 +168,7 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --allow-http 4. Run authorization command in terminal: ```bash -npx -y mcp-remote https://mcp.mixpanel.com/sse --allow-http +npx -y mcp-remote https://mcp.mixpanel.com/mcp --allow-http ``` 5. Complete Mixpanel authorization via the provided link @@ -189,7 +189,7 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --allow-http ``` 3. Configure Mixpanel MCP as a remote server and authorize: ```bash - npx -y mcp-remote https://mcp.mixpanel.com/sse --allow-http + npx -y mcp-remote https://mcp.mixpanel.com/mcp --allow-http ``` Running this command will provide a link in your terminal to authorize your access with Mixpanel. Follow the authorization steps in your browser. After logging in via OAuth, you should see a confirmation message. @@ -210,7 +210,7 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --allow-http "args": [ "-y", "mcp-remote", - "https://mcp.mixpanel.com/sse", + "https://mcp.mixpanel.com/mcp", "--allow-http" ] } @@ -246,7 +246,7 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --allow-http - Provide these values: - Name: Mixpanel MCP - Description: The MCP integration provides access to all core Mixpanel analysis capabilities through natural language queries. - - MCP Server URL: https://mcp.mixpanel.com/sse + - MCP Server URL: https://mcp.mixpanel.com/mcp - Authentication type: OAuth - Click Create and then connect to Mixpanel and follow the OAuth flow to authorize Mixpanel access. @@ -344,7 +344,7 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --allow-http - **Protocol:** Model Context Protocol (MCP) - **Connection:** Server-sent events (SSE) - **Authentication:** OAuth with Mixpanel -- **Endpoint:** `https://mcp.mixpanel.com/sse` +- **Endpoint:** `https://mcp.mixpanel.com/mcp` ---