MCP 功能

探索 OpenReplay MCP 应用的全部功能:搜索会话、生成时间序列和漏斗、分析用户旅程、观看回放,并用自然语言将这一切串联起来。

MCP 功能

在你设置好 MCP 应用并登录后,你可以用日常语言要求 Claude(或其他 MCP 主机)查询你的 OpenReplay 数据。本页列出了 MCP 目前提供的功能,并为每项功能给出了示例提示。

MCP 支持 OpenReplay 界面中提供的相同筛选条件:浏览器、操作系统、设备、国家、URL 路径、点击、输入、网络请求、错误、元数据、用户 ID 和时长。

Show me 20 recent sessions in MyApp
Sessions from Chrome users in France or Tunisia
Sessions with failed requests to /api/users in MyApp
Sessions where the user visited the signup page then clicked "Subscribe"
Sessions longer than 20 minutes for user tahay@asayer.io

结果会以交互式列表的形式呈现在聊天中,因此你可以点击进入任意会话。

Claude Desktop 中的会话列表
Show me the sessions chart for last week in MyApp
Session trend for the past 30 days from France
Chart of sessions from mobile users this month
Timeseries of users who visited /signup last week
在 Claude Desktop 中生成的时间序列图表

漏斗用于衡量一系列 URL、点击、输入或自定义事件中的转化情况。流失会逐步显示。

Show me the checkout funnel last week: /cart → /checkout → /confirm
Conversion from /pricing to /signup this month
Visited /pricing then clicked Subscribe
Page view /checkout followed by a JS exception
在 Claude Desktop 中生成的漏斗图表

找出访问量最高的页面、热门浏览器、热门国家、热门操作系统、热门设备或热门网络请求。

What are the top visited pages this week?
Show browser distribution this month
Most popular countries last 30 days
Top 5 network requests today in MyApp

了解用户如何在你的产品中导航——他们落在哪些页面、接下来去往何处、在哪里流失。

Show me user journeys this month
Where do users drop off after the pricing page last week?
What pages do users visit after /signup?
Navigation paths for mobile users from France this week

核心 Web Vitals(LCP、FID、CLS)和性能指标,可按细分群体切分查看。

Show me web vitals for this week
How is my site performance past month?
Core web vitals for mobile users
Performance metrics for Chrome on Windows for user tahay@asayer.io

回放会在聊天中内嵌的播放器里呈现。你可以拖动进度、暂停和检查,就像在 OpenReplay 界面中一样。

Show me the replay of session 7891234567890
Replay the last session in the list above
在 Claude Desktop 中内联呈现的会话回放

真正的价值来自将多个工具串联起来。一些示例:

  • “Find sessions where users hit a JS exception on /checkout this week, then show me the replay of the most recent one and tell me what happened.”
  • “Pull the funnel for /pricing → /signup → /dashboard, then for the step with the biggest drop-off show me 5 sessions that dropped off there.”
  • “Plot the timeseries of sessions from France this month. If there’s a spike, find a few sessions from that day and summarize what they did.”

由于 Claude 能够在各次工具调用之间对结果进行推理,你可以始终停留在对话层面,而无需在各个仪表板之间来回切换。

如果遇到问题,欢迎加入我们的 Slack 或在论坛发帖。