Replay MCP
replay_mcpReplay MCP lets agents inspect time-travel browser recordings, including console output, exceptions, network activity, source code, React state, performance profiles, screenshots, and execution points.
Acciones disponibles (32)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
AnnotationsREPLAY_MCP_ANNOTATIONSAcciónInspect the annotations in a recording. Annotations are timestamped records attached by the runtime and integrations (e.g. Cypress, Playwright, React DevTools, network, localStorage). Call with no arguments to list all annotation kinds in the recording with their counts. Pass a 'kind' to return the annotation data for that kind (paginated, optionally filtered by text). For WebSocket traffic (DOMWebSocket annotations), use the WebSocketMessages tool instead.
REPLAY_MCP_ANNOTATIONSAcciónInspect the annotations in a recording. Annotations are timestamped records attached by the runtime and integrations (e.g. Cypress, Playwright, React DevTools, network, localStorage). Call with no arguments to list all annotation kinds in the recording with their counts. Pass a 'kind' to return the annotation data for that kind (paginated, optionally filtered by text). For WebSocket traffic (DOMWebSocket annotations), use the WebSocketMessages tool instead.
Parámetros de entrada
kindstringAnnotation kind to return data for. When omitted, lists all annotation kinds in the recording with their counts.
limitintegerPagination page size (default 25). Only applies when a kind is provided.
offsetintegerPagination offset. Only applies when a kind is provided.
recordingIdstringObligatorioThe ID of the recording to analyze.
filterByTextstringSubstring filter (case-insensitive) on annotation contents. Only applies when a kind is provided.
Parámetros de salida
Sin parámetros.
ConsolemessagesREPLAY_MCP_CONSOLE_MESSAGESAcciónShow console API messages (console.log, console.warn, console.error, etc.). Note: console errors are distinct from runtime exceptions — use UncaughtException and ReactException for those. Start with mode 'summary' for an overview with message counts and the last errors/warnings. Use 'messages' to browse the full paginated list (filter by level, text, node_modules visibility). Use 'message-detail' with a point reference for full detail on a single message including stack trace. Call RecordingOverview first for broader context.
REPLAY_MCP_CONSOLE_MESSAGESAcciónShow console API messages (console.log, console.warn, console.error, etc.). Note: console errors are distinct from runtime exceptions — use UncaughtException and ReactException for those. Start with mode 'summary' for an overview with message counts and the last errors/warnings. Use 'messages' to browse the full paginated list (filter by level, text, node_modules visibility). Use 'message-detail' with a point reference for full detail on a single message including stack trace. Call RecordingOverview first for broader context.
Parámetros de entrada
modestringenumAnalysis mode: summary (overview with counts and last errors, default), messages (paginated filtered list), message-detail (full detail for a single message by point)
summarymessagesmessage-detaillevelstringenumFilter by console message level (messages mode only). 'all' shows all levels.
errorwarninginfologalllimitintegerPagination page size (default 25, messages mode only)
pointstringPoint reference for message-detail mode (e.g. 'Point:42'). Required for message-detail.
offsetintegerPagination offset (messages mode only)
recordingIdstringObligatorioThe ID of the recording to analyze.
filterByTextstringSubstring filter on message text (messages mode only)
showNodeModulesbooleanWhen true, include messages originating from node_modules/library code (messages mode only, default false).
Parámetros de salida
Sin parámetros.
DescribepointREPLAY_MCP_DESCRIBE_POINTAcciónDescribes the application state at a code execution point. Shows the containing function with executed/not-executed annotations, variable values, and timestamps. Use dependencyChain=true to trace the full causal chain back to the origin event. Get execution points from other tools (ConsoleMessages, ReactRenders, ReduxActions, Logpoint, etc.).
REPLAY_MCP_DESCRIBE_POINTAcciónDescribes the application state at a code execution point. Shows the containing function with executed/not-executed annotations, variable values, and timestamps. Use dependencyChain=true to trace the full causal chain back to the origin event. Get execution points from other tools (ConsoleMessages, ReactRenders, ReduxActions, Logpoint, etc.).
Parámetros de entrada
pointstringObligatoriorecordingIdstringObligatorioThe ID of the recording to analyze.
dependencyChainbooleanIf true, show the full dependency chain from this point back to its origin source.
describeLibraryCodeboolean
Parámetros de salida
Sin parámetros.
EvaluateREPLAY_MCP_EVALUATEAcciónEvaluates an expression at a code execution point. Use for ad-hoc value inspection beyond what DescribePoint shows. Expressions must be synchronous and immediately inspectable. Do not use async functions or promises; replay cannot inspect their eventual results. Defaults to frame scope; use global scope explicitly when needed. String results are returned in full up to maxStringLength characters (default 100000); longer strings end with a truncation notice giving the stringOffset to read the next part. String results longer than about 8,000 characters are read by evaluating the expression a second time, so use a single, side-effect-free expression to get the full text.
REPLAY_MCP_EVALUATEAcciónEvaluates an expression at a code execution point. Use for ad-hoc value inspection beyond what DescribePoint shows. Expressions must be synchronous and immediately inspectable. Do not use async functions or promises; replay cannot inspect their eventual results. Defaults to frame scope; use global scope explicitly when needed. String results are returned in full up to maxStringLength characters (default 100000); longer strings end with a truncation notice giving the stringOffset to read the next part. String results longer than about 8,000 characters are read by evaluating the expression a second time, so use a single, side-effect-free expression to get the full text.
Parámetros de entrada
pointstringObligatorioThe execution point at which to evaluate the expression. Get point references from tools such as DescribePoint, ConsoleMessages, ReactRenders, ReduxActions, or Logpoint.
scopestringenumEvaluate in the selected scope. Frame scope can read local variables at code execution points; global scope evaluates against the page global.
frameglobalexpressionstringObligatorioA synchronous JavaScript expression to evaluate. Do not use async functions or promises; their eventual results cannot be inspected in replay.
recordingIdstringObligatorioThe ID of the recording to analyze.
stringOffsetintegerWhen the result is a string, the character offset to start returning from. Use the offset given in a truncation notice to read the next part.
maxStringLengthintegerWhen the result is a string, the maximum number of characters to return (default 100000).
Parámetros de salida
Sin parámetros.
ExecutiondelayREPLAY_MCP_EXECUTION_DELAYAcciónComputes execution delays for functions based on their source length and the delay before the first breakpoint in each function executes. Each breakpoint is attributed to the innermost function covering it, and each function's weight is computed as its source length minus the sum of its children's lengths.
REPLAY_MCP_EXECUTION_DELAYAcciónComputes execution delays for functions based on their source length and the delay before the first breakpoint in each function executes. Each breakpoint is attributed to the innermost function covering it, and each function's weight is computed as its source length minus the sum of its children's lengths.
Parámetros de entrada
pathstringObligatoriorecordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
GetpointcomponentREPLAY_MCP_GET_POINT_COMPONENTAcciónGets the React component being rendered at a code execution point.
REPLAY_MCP_GET_POINT_COMPONENTAcciónGets the React component being rendered at a code execution point.
Parámetros de entrada
pointstringObligatoriorecordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
GetpointlinkREPLAY_MCP_GET_POINT_LINKAcciónGenerates an app.replay.io link for users to inspect a given execution point.
REPLAY_MCP_GET_POINT_LINKAcciónGenerates an app.replay.io link for users to inspect a given execution point.
Parámetros de entrada
pointstringObligatoriorecordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
GetstackREPLAY_MCP_GET_STACKAcciónGets the call stack at a code execution point. Use to understand execution context. Pair with DescribePoint for full state.
REPLAY_MCP_GET_STACKAcciónGets the call stack at a code execution point. Use to understand execution context. Pair with DescribePoint for full state.
Parámetros de entrada
pointstringObligatoriorecordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
InspectelementREPLAY_MCP_INSPECT_ELEMENTAcciónGet size, layout, ancestry and render point information for a DOM element. Find relevant code before inspecting elements. Only use this tool sparingly — expensive, requires full DOM layout computation. Prefer ReactComponentTree for component structure.
REPLAY_MCP_INSPECT_ELEMENTAcciónGet size, layout, ancestry and render point information for a DOM element. Find relevant code before inspecting elements. Only use this tool sparingly — expensive, requires full DOM layout computation. Prefer ReactComponentTree for component structure.
Parámetros de entrada
pointstringExecution point, e.g. Point:1. Leave empty to pick point at end of recording.
elementstringObligatorioEither a known element reference (e.g., 'Element:42') or CSS selector (e.g., '#button' or '.class'). Must NOT be a Playwright locator call
recordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
ListsourcesREPLAY_MCP_LIST_SOURCESAcciónList the sources in the recording.
REPLAY_MCP_LIST_SOURCESAcciónList the sources in the recording.
Parámetros de entrada
pathGlobstringrecordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
LocalstorageREPLAY_MCP_LOCAL_STORAGEAcciónDescribe all the accesses made to localStorage. Start with mode 'summary' (default) for a grouped overview: keys with access counts, final values, and timing. Use 'operations' to browse the full chronological access list with pagination. Use keyFilter to narrow by key name (substring match). For large apps, consider filtering by key pattern in results.
REPLAY_MCP_LOCAL_STORAGEAcciónDescribe all the accesses made to localStorage. Start with mode 'summary' (default) for a grouped overview: keys with access counts, final values, and timing. Use 'operations' to browse the full chronological access list with pagination. Use keyFilter to narrow by key name (substring match). For large apps, consider filtering by key pattern in results.
Parámetros de entrada
modestringenumsummary: keys grouped with access counts and final values (default). operations: paginated list of individual localStorage accesses.
summaryoperationslimitintegerPagination page size (default 25). Used in 'operations' mode.
offsetintegerPagination offset. Used in 'operations' mode.
keyFilterstringOnly show accesses whose key contains this substring (case-insensitive). Applies to both modes.
recordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
LogpointREPLAY_MCP_LOGPOINTAcciónEvaluates an expression at breakpoint hits for a given path and line number. Returns up to 20 hits with their expression evaluation results. Use beginPoint/endPoint to narrow the range. Use column to target a specific statement on the line. Find source paths with ListSources or SearchSources first.
REPLAY_MCP_LOGPOINTAcciónEvaluates an expression at breakpoint hits for a given path and line number. Returns up to 20 hits with their expression evaluation results. Use beginPoint/endPoint to narrow the range. Use column to target a specific statement on the line. Find source paths with ListSources or SearchSources first.
Parámetros de entrada
linenumberObligatoriopathstringObligatoriocolumnnumber0-based column number. If specified, the breakpoint will be at or after this column on the given line.
formatstringenumOutput format. 'json' returns structured data; 'markdown' (default) returns formatted text.
markdownjsonendPointstringbeginPointstringexpressionstringObligatoriorecordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
NetworkrequestREPLAY_MCP_NETWORK_REQUESTAcciónAnalyze network requests in the recording. Start with mode 'summary' (default) for high-level stats: total count, failed/slow counts, status code distribution, and top domains. Use 'requests' to browse a paginated table of all requests (filterable by urlFilter, startTime, endTime). Use 'detail' with requestId (from the ID column in the 'requests' table) for full request/response headers, body content, event timeline, and backend function analysis. RECOMMENDED workflow: summary → requests → detail. Call RecordingOverview first for broader context about the recording.
REPLAY_MCP_NETWORK_REQUESTAcciónAnalyze network requests in the recording. Start with mode 'summary' (default) for high-level stats: total count, failed/slow counts, status code distribution, and top domains. Use 'requests' to browse a paginated table of all requests (filterable by urlFilter, startTime, endTime). Use 'detail' with requestId (from the ID column in the 'requests' table) for full request/response headers, body content, event timeline, and backend function analysis. RECOMMENDED workflow: summary → requests → detail. Call RecordingOverview first for broader context about the recording.
Parámetros de entrada
modestringenumsummary: high-level stats (count, failures, slow, status distribution, top domains). requests: paginated table of all requests. detail: full detail for a single request (headers, body, timing).
summaryrequestsdetaillimitintegerPagination page size (default 25). Used in 'requests' mode.
formatstringenumOutput format. 'markdown' (default) for human-readable text. 'json' for structured data (summary/requests modes only; detail mode always returns markdown).
markdownjsonoffsetintegerPagination offset. Used in 'requests' mode.
endTimenumberOnly show requests that started at or before this time (ms).
requestIdstringRequest ID from the ID column of the 'requests' table. Preferred way to select a request in 'detail' mode; stable across filters.
startTimenumberOnly show requests that started at or after this time (ms).
urlFilterstringOnly show requests whose URL contains this substring.
recordingIdstringObligatorioThe ID of the recording to analyze.
requestIndexinteger0-based position in the 'requests' table. Only valid with the same filters used for that table; prefer requestId.
slowThresholdMsnumberDuration threshold (ms) to consider a request slow. Default 2000.
Parámetros de salida
Sin parámetros.
PlaywrightstepsREPLAY_MCP_PLAYWRIGHT_STEPSAcciónShow all steps taken by Playwright in the recording. Start with mode 'summary' for a test overview with pass/fail status and duration. Use 'steps' with testIndex to see the step list for a specific test (get indices from 'summary'). Use 'step-detail' with stepNumber for inspector protocol commands of a single step (get step numbers from 'steps'). Use 'test-source' with testIndex to read the test source code. For failed tests, use failedOnly=true in 'steps' mode to focus on failures. Call RecordingOverview first for broader context.
REPLAY_MCP_PLAYWRIGHT_STEPSAcciónShow all steps taken by Playwright in the recording. Start with mode 'summary' for a test overview with pass/fail status and duration. Use 'steps' with testIndex to see the step list for a specific test (get indices from 'summary'). Use 'step-detail' with stepNumber for inspector protocol commands of a single step (get step numbers from 'steps'). Use 'test-source' with testIndex to read the test source code. For failed tests, use failedOnly=true in 'steps' mode to focus on failures. Call RecordingOverview first for broader context.
Parámetros de entrada
lastintegerShow only the last N steps (steps mode only)
modestringenumAnalysis mode: summary (test overview with pass/fail), steps (paginated step list for a test), step-detail (inspector protocol commands for a single step), test-source (test source code)
summarystepsstep-detailtest-sourcelimitintegerPagination page size (default 25, steps mode only)
offsetintegerPagination offset (steps mode only)
testIndexinteger0-based test index — required for 'steps' and 'test-source' modes
failedOnlybooleanWhen true, only show failed steps (steps mode only)
stepNumberinteger1-based step number — required for 'step-detail' mode. If provided without a mode, automatically selects 'step-detail' mode.
recordingIdstringObligatorioThe ID of the recording to analyze.
collapseRetriesbooleanGroup consecutive retry attempts (3+ identical apiName+params) into collapsed summaries (steps mode only). Defaults to true.
Parámetros de salida
Sin parámetros.
ProfilegraphREPLAY_MCP_PROFILE_GRAPHAcciónProfiles dependency graph entry execution between two points in a recording. Enumerates all dependency graph entries including React fiber renders and effect calls, computes the execution associated with each by progress counter differences, traces each entry back to its source via the dependency chain, and groups results by source ordered by execution amount.
REPLAY_MCP_PROFILE_GRAPHAcciónProfiles dependency graph entry execution between two points in a recording. Enumerates all dependency graph entries including React fiber renders and effect calls, computes the execution associated with each by progress counter differences, traces each entry back to its source via the dependency chain, and groups results by source ordered by execution amount.
Parámetros de entrada
endPointstringThe end execution point. Defaults to the end of the recording.
beginPointstringThe start execution point. Defaults to the beginning of the recording.
recordingIdstringObligatorioThe ID of the recording to analyze.
coverageFractionnumberFraction of total execution to cover (0-1). Sources are included in order of execution amount until this fraction is reached. Within each source, entries are similarly filtered. Defaults to 0.95.
Parámetros de salida
Sin parámetros.
ProfilesamplingREPLAY_MCP_PROFILE_SAMPLINGAcciónProfiles the native C++ replay engine using stack sampling between two execution points. Runs the replay engine from the begin point to the end point while collecting periodic stack samples, then analyzes the samples to produce a flat profile of where time is spent in native code.
REPLAY_MCP_PROFILE_SAMPLINGAcciónProfiles the native C++ replay engine using stack sampling between two execution points. Runs the replay engine from the begin point to the end point while collecting periodic stack samples, then analyzes the samples to produce a flat profile of where time is spent in native code.
Parámetros de entrada
endPointstringThe end execution point. Defaults to the end of the recording.
beginPointstringThe start execution point. Defaults to the beginning of the recording.
numProfilesnumberNumber of profiles to run and average. Defaults to 1.
recordingIdstringObligatorioThe ID of the recording to analyze.
profilingIntervalMsnumberSampling interval in milliseconds. Defaults to 20ms.
Parámetros de salida
Sin parámetros.
ProfilestatementsREPLAY_MCP_PROFILE_STATEMENTSAcciónProfiles JS statement execution between two points in a recording. Fetches all breakpoint hits between the points, breaks them down by function, resolves function names, and computes a flat profile and call tree showing statement hits per function and its callees.
REPLAY_MCP_PROFILE_STATEMENTSAcciónProfiles JS statement execution between two points in a recording. Fetches all breakpoint hits between the points, breaks them down by function, resolves function names, and computes a flat profile and call tree showing statement hits per function and its callees.
Parámetros de entrada
maxHitsnumberMaximum number of breakpoint hits to scan. Defaults to 1000000.
endPointstringThe end execution point. Defaults to the end of the recording.
beginPointstringThe start execution point. Defaults to the beginning of the recording.
recordingIdstringObligatorioThe ID of the recording to analyze.
coverageFractionnumberFraction of total hits to cover (0-1). Functions are included in order of hit count until this fraction is reached. Defaults to 0.95.
Parámetros de salida
Sin parámetros.
ReactcomponenttreeREPLAY_MCP_REACT_COMPONENT_TREEAcciónGet the structure of the committed/mounted React component tree at a point in time. Start with mode='summary' for an overview of component counts and top-level structure. Use mode='tree' to see a paginated, depth-limited hierarchy with collapse markers. Use mode='subtree' with 'component' to focus on a specific component's ancestors and descendants. Use 'nameFilter' to search for components by name. Use 'hideFilter' to remove noise (e.g. Provider, Consumer). For render-level analysis (timing, waste, causes), use ReactRenders instead.
REPLAY_MCP_REACT_COMPONENT_TREEAcciónGet the structure of the committed/mounted React component tree at a point in time. Start with mode='summary' for an overview of component counts and top-level structure. Use mode='tree' to see a paginated, depth-limited hierarchy with collapse markers. Use mode='subtree' with 'component' to focus on a specific component's ancestors and descendants. Use 'nameFilter' to search for components by name. Use 'hideFilter' to remove noise (e.g. Provider, Consumer). For render-level analysis (timing, waste, causes), use ReactRenders instead.
Parámetros de entrada
modestringenumAnalysis mode: summary (stats overview), tree (paginated hierarchy), subtree (focused view on a specific component)
summarytreesubtreelimitintegerPagination page size (default 50).
pointstringThe execution point at which to describe the React component tree. Defaults to the end of the recording.
formatstringenumResponse format. 'markdown' (default) returns formatted text for LLM agents. 'json' returns structured JSON for programmatic callers.
markdownjsonoffsetintegerPagination offset into the visible (uncollapsed) tree.
maxDepthintegerMax depth to expand. Nodes deeper than this are collapsed with descendant counts. In subtree mode, depth is relative to the focused component.
componentstringComponent name or fiber reference (e.g. 'Button' or 'Component:42') to focus on. Required for subtree mode. Shows ancestors + subtree.
hideFilterstringRegex pattern — hide components matching this name and reparent their children up. Applied at tree construction time.
nameFilterstringShow only components matching this name (case-insensitive substring). Ancestors of matches are auto-expanded for context. Tree mode only.
recordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
ReactexceptionREPLAY_MCP_REACT_EXCEPTIONAcciónDescribe any exceptions thrown which caused React to unmount. This finds React error boundary crashes and render-phase exceptions. For non-React uncaught exceptions, use UncaughtException instead. RecordingOverview includes an error summary — call that first for context.
REPLAY_MCP_REACT_EXCEPTIONAcciónDescribe any exceptions thrown which caused React to unmount. This finds React error boundary crashes and render-phase exceptions. For non-React uncaught exceptions, use UncaughtException instead. RecordingOverview includes an error summary — call that first for context.
Parámetros de entrada
recordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
ReactperformanceinsightsREPLAY_MCP_REACT_PERFORMANCE_INSIGHTSAcciónRun all deterministic React performance checks on a recording and return prioritized findings. Each finding includes user-visible impact, specific timing, affected components, and suggested actions. Use this for a comprehensive performance audit — it detects heavy commits (>50ms), render loops, expensive state updates, and more. Call RecordingOverview first for broader context.
REPLAY_MCP_REACT_PERFORMANCE_INSIGHTSAcciónRun all deterministic React performance checks on a recording and return prioritized findings. Each finding includes user-visible impact, specific timing, affected components, and suggested actions. Use this for a comprehensive performance audit — it detects heavy commits (>50ms), render loops, expensive state updates, and more. Call RecordingOverview first for broader context.
Parámetros de entrada
formatstringenumResponse format: 'markdown' (default) for human-readable output, 'json' for structured data (use only from programmatic callers)
markdownjsonendTimenumberOptional end time (ms) for range filtering
endPointstringOptional end execution point for range filtering
beginTimenumberOptional begin time (ms) for range filtering
beginPointstringOptional begin execution point for range filtering
categoriesstring[]Run only specific check categories (default: all available)
maxFindingsnumberMaximum findings to return (default: 30)
minSeveritystringenumMinimum severity to include (default: info)
criticalwarninginforecordingIdstringObligatorioThe ID of the recording to analyze.
componentFilterstring[]Only include findings involving these components
includeSuppressedFindingsbooleanAlso report findings dropped by same-commit deduplication or the maxFindings cap. Useful when applying your own prioritization policy or debugging check behavior.
Parámetros de salida
Sin parámetros.
ReactrendersREPLAY_MCP_REACT_RENDERSAcciónAnalyze React renders in a recording. Start with mode 'summary' for a recording-wide overview of commits and render time. Use 'waste-rank' to find components with the most wasted renders. Use 'commits' to browse render commits chronologically. Use 'commit' with commitIndex for single commit detail (get indices from 'commits'). Use 'component' with componentName to see a component across all commits (get names from 'waste-rank'). Use 'fiber' with fiberId to see all renders for a specific fiber instance (add includeProps=true for prop values at each render). Use 'trigger-detail' with commitIndex to trace the dependency chain (click, network, dispatch) that triggered a commit. Use 'commit-fibers' and 'fiber-cause' for fiber-level causation analysis. Call RecordingOverview first for broader context.
REPLAY_MCP_REACT_RENDERSAcciónAnalyze React renders in a recording. Start with mode 'summary' for a recording-wide overview of commits and render time. Use 'waste-rank' to find components with the most wasted renders. Use 'commits' to browse render commits chronologically. Use 'commit' with commitIndex for single commit detail (get indices from 'commits'). Use 'component' with componentName to see a component across all commits (get names from 'waste-rank'). Use 'fiber' with fiberId to see all renders for a specific fiber instance (add includeProps=true for prop values at each render). Use 'trigger-detail' with commitIndex to trace the dependency chain (click, network, dispatch) that triggered a commit. Use 'commit-fibers' and 'fiber-cause' for fiber-level causation analysis. Call RecordingOverview first for broader context.
Parámetros de entrada
modestringenumAnalysis mode: summary (overview), commits (paginated list), commit (single commit detail), waste-rank (component waste ranking), component (single component detail), fiber (single fiber instance across all commits, add includeProps for prop values), commit-fibers (list fibers of a component in a commit), fiber-cause (render cause for a specific fiber), trigger-detail (dependency chain tracing for a commit's trigger events)
summarycommitscommitwaste-rankcomponentfibercommit-fibersfiber-causetrigger-detaillimitintegerPagination page size (default 25)
formatstringenumResponse format: 'markdown' (default) for human-readable output, 'json' for structured data (use only from programmatic callers)
markdownjsonoffsetintegerPagination offset
endTimenumberOptional end time (ms) for range filtering
fiberIdintegerFiber ID — required for 'fiber' and 'fiber-cause' modes
endPointstringOptional end point for range filtering
beginTimenumberOptional begin time (ms) for range filtering
beginPointstringOptional begin point for range filtering
commitIndexintegerCommit index — required for 'commit', 'commit-fibers', and 'fiber-cause' modes
recordingIdstringObligatorioThe ID of the recording to analyze.
includePropsbooleanWhen true in 'fiber' mode, evaluate and include component props at each render. Expensive — creates a pause per render to inspect arguments. Use only when you need prop values.
componentNamestringComponent name — required for 'component' and 'commit-fibers' modes
Parámetros de salida
Sin parámetros.
ReadsourceREPLAY_MCP_READ_SOURCEAcciónRead up to 50 lines of code centered around the given line and see what statements executed.
REPLAY_MCP_READ_SOURCEAcciónRead up to 50 lines of code centered around the given line and see what statements executed.
Parámetros de entrada
linenumberThe line at which to center the code window.
pathstringObligatoriocolumnnumber0-based column number. When provided with a line, the view will be centered on the breakpoint at or after this column.
recordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
RecordingoverviewREPLAY_MCP_RECORDING_OVERVIEWAcciónProvides a comprehensive overview of a recording: test results, errors, environment info, network activity, React render performance, and suggested next investigation steps. Call this first to understand what happened in a recording before diving into specific tools. NOTE: The first call on a cold recording may take 3-4 minutes while initial data is computed. Set a longer timeout for this tool. Subsequent calls will be fast.
REPLAY_MCP_RECORDING_OVERVIEWAcciónProvides a comprehensive overview of a recording: test results, errors, environment info, network activity, React render performance, and suggested next investigation steps. Call this first to understand what happened in a recording before diving into specific tools. NOTE: The first call on a cold recording may take 3-4 minutes while initial data is computed. Set a longer timeout for this tool. Subsequent calls will be fast.
Parámetros de entrada
formatstringenumResponse format: 'markdown' (default) for human-readable output, 'json' for structured data (use only from programmatic callers)
markdownjsonrecordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
ReduxactionsREPLAY_MCP_REDUX_ACTIONSAcciónAnalyze Redux actions in a recording. Currently covers Redux/RTK dispatches via source-level instrumentation. Start with mode 'summary' to see action type frequency and correlation stats. Use 'actions' to browse dispatches chronologically (filterable by actionType substring). Use 'action-detail' with actionIndex for full correlation data: timing breakdown, selector stats, component render timings, and dispatch origin location. Use 'impact' with actionIndex for a render impact report with optimization recommendations. Use 'state-shape' to see a lightweight key/type listing of the state tree (~200–400 tokens). RECOMMENDED: use state-shape FIRST to understand the state structure, then drill in. Use 'action-state' with actionIndex to see actual state values at a dispatch point. STRONGLY RECOMMENDED: use the 'path' param (e.g. path='auth.user') to drill into specific subtrees instead of dumping the entire state tree. Call RecordingOverview first for broader context about the recording.
REPLAY_MCP_REDUX_ACTIONSAcciónAnalyze Redux actions in a recording. Currently covers Redux/RTK dispatches via source-level instrumentation. Start with mode 'summary' to see action type frequency and correlation stats. Use 'actions' to browse dispatches chronologically (filterable by actionType substring). Use 'action-detail' with actionIndex for full correlation data: timing breakdown, selector stats, component render timings, and dispatch origin location. Use 'impact' with actionIndex for a render impact report with optimization recommendations. Use 'state-shape' to see a lightweight key/type listing of the state tree (~200–400 tokens). RECOMMENDED: use state-shape FIRST to understand the state structure, then drill in. Use 'action-state' with actionIndex to see actual state values at a dispatch point. STRONGLY RECOMMENDED: use the 'path' param (e.g. path='auth.user') to drill into specific subtrees instead of dumping the entire state tree. Call RecordingOverview first for broader context about the recording.
Parámetros de entrada
modestringenumAnalysis mode: summary (overview of all Redux activity), actions (paginated list of dispatched actions), action-detail (full detail for one action including correlation data), impact (render impact report for a specific dispatch), action-state (Redux state snapshot at a dispatch point — use path param to drill into subtrees), state-shape (lightweight key/type listing of the state tree — cheap overview before drilling in). RECOMMENDED workflow: state-shape → action-state with path → action-diff
summaryactionsaction-detailimpactaction-statestate-shapepathstringDot-separated path to drill into a state subtree (action-state, state-shape modes). E.g. 'auth.user.profile'. Omit to see the full state tree (with depth limiting).
depthintegerMax serialization depth for action-state mode (1–8, default 4). Use lower values for a quick overview, higher for detailed subtrees.
limitintegerPagination page size (default 25)
offsetintegerPagination offset
endTimenumberOptional end time (ms) for range filtering
beginTimenumberOptional begin time (ms) for range filtering
actionTypestringFilter by action type (case-insensitive substring match). Applies to 'actions' mode.
actionIndexinteger0-based action index — required for 'action-detail' and 'impact' modes
recordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
ScreenshotREPLAY_MCP_SCREENSHOTAcciónLists all screenshot timestamps in the recording, or fetches a screenshot at a given timestamp. Call without timestamp to list all available timestamps. Call with timestamp to get a screenshot URL with mouse position, movements, and time since last click. Set base64=true for raw image data. RecordingOverview suggests a key screenshot timestamp — call that first.
REPLAY_MCP_SCREENSHOTAcciónLists all screenshot timestamps in the recording, or fetches a screenshot at a given timestamp. Call without timestamp to list all available timestamps. Call with timestamp to get a screenshot URL with mouse position, movements, and time since last click. Set base64=true for raw image data. RecordingOverview suggests a key screenshot timestamp — call that first.
Parámetros de entrada
base64booleanformatstringenumOutput format. 'markdown' (default) returns human-readable text. 'json' returns structured JSON. Ignored when base64=true.
markdownjsonelementstringEither a known element reference (e.g., 'Element:42') or CSS selector (e.g., '#button' or '.class'). Crops screenshot to element bounds.
timestampnumberrecordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
SearchsourcesREPLAY_MCP_SEARCH_SOURCESAcciónSearch the sources in the recording and see which statements executed. Note: Playwright test runner code runs in Node outside the browser recording and won't appear here. Use PlaywrightSteps(mode: test-source) for Playwright test source.
REPLAY_MCP_SEARCH_SOURCESAcciónSearch the sources in the recording and see which statements executed. Note: Playwright test runner code runs in Node outside the browser recording and won't appear here. Use PlaywrightSteps(mode: test-source) for Playwright test source.
Parámetros de entrada
patternstringObligatorioRegex pattern to search for.
pathGlobstringPath glob pattern.
recordingIdstringObligatorioThe ID of the recording to analyze.
includeGeneratedbooleanInclude generated/bundled sources and node_modules. Required for recordings without sourcemaps.
Parámetros de salida
Sin parámetros.
TanstackqueriesREPLAY_MCP_TAN_STACK_QUERIESAcciónAnalyze TanStack Query (React Query) cache events in a recording. Start with mode 'summary' for an overview of all queries with lifecycle stats. Use 'query-events' with queryHash to see the event timeline for a specific query. Use 'query-timeline' for a chronological view across ALL queries. Use 'query-state' with queryHash + eventIndex to inspect cached data at a specific event point. Observer-internal events are filtered by default; use eventType filter to include them. Call RecordingOverview first for broader context about the recording.
REPLAY_MCP_TAN_STACK_QUERIESAcciónAnalyze TanStack Query (React Query) cache events in a recording. Start with mode 'summary' for an overview of all queries with lifecycle stats. Use 'query-events' with queryHash to see the event timeline for a specific query. Use 'query-timeline' for a chronological view across ALL queries. Use 'query-state' with queryHash + eventIndex to inspect cached data at a specific event point. Observer-internal events are filtered by default; use eventType filter to include them. Call RecordingOverview first for broader context about the recording.
Parámetros de entrada
modestringenumAnalysis mode: summary (overview of all queries), query-events (timeline of events for a specific query by queryHash), query-timeline (full timeline across ALL queries ordered by time), query-state (evaluate cached data at a specific event point)
summaryquery-eventsquery-timelinequery-statedepthintegerMax serialization depth for query-state mode (1–8, default 3). Use lower values for a quick overview, higher for detailed data.
limitintegerPagination page size (default 25)
offsetintegerPagination offset
eventTypestringFilter by event type (e.g. "updated", "added", "observerAdded")
queryHashstringQuery hash string — required for query-events and query-state modes
eventIndexinteger0-based index of event within the query's event list — required for query-state mode
recordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
UncaughtexceptionREPLAY_MCP_UNCAUGHT_EXCEPTIONAcciónDescribe uncaught exceptions and unhandled promise rejections (runtime errors not caught by try/catch). Reports up to 5 distinct errors in time order. Each entry gives the throw site and the first non-library caller, or just the error text when the recording has no matching throw (e.g. script syntax errors). For React-specific exceptions that unmounted the app, use ReactException instead. RecordingOverview includes an error summary — call that first for context.
REPLAY_MCP_UNCAUGHT_EXCEPTIONAcciónDescribe uncaught exceptions and unhandled promise rejections (runtime errors not caught by try/catch). Reports up to 5 distinct errors in time order. Each entry gives the throw site and the first non-library caller, or just the error text when the recording has no matching throw (e.g. script syntax errors). For React-specific exceptions that unmounted the app, use ReactException instead. RecordingOverview includes an error summary — call that first for context.
Parámetros de entrada
recordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
UserinteractionsREPLAY_MCP_USER_INTERACTIONSAcciónShow all user interactions (clicks and key presses) in the recording. Start with mode 'summary' (default) for interaction counts by type, time range, top keys pressed, and activity timeline. Use 'interactions' to browse a paginated chronological list with point references for DescribePoint, Evaluate, or GetStack. Use type filter ('click' or 'keypress') to narrow by interaction kind. Useful for understanding the sequence of user actions that led to a bug.
REPLAY_MCP_USER_INTERACTIONSAcciónShow all user interactions (clicks and key presses) in the recording. Start with mode 'summary' (default) for interaction counts by type, time range, top keys pressed, and activity timeline. Use 'interactions' to browse a paginated chronological list with point references for DescribePoint, Evaluate, or GetStack. Use type filter ('click' or 'keypress') to narrow by interaction kind. Useful for understanding the sequence of user actions that led to a bug.
Parámetros de entrada
modestringenumsummary: interaction counts by type, time range (default). interactions: paginated chronological list of all interactions.
summaryinteractionstypestringenumFilter by interaction type. 'click' for mouse clicks, 'keypress' for key presses, 'all' for both.
clickkeypressalllimitintegerPagination page size (default 25). Used in 'interactions' mode.
formatstringenumOutput format. 'markdown' (default) for human-readable Markdown. 'json' for structured JSON data.
markdownjsonoffsetintegerPagination offset. Used in 'interactions' mode.
recordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.
WarmrecordingREPLAY_MCP_WARM_RECORDINGAcciónStarts processing a recording if needed and reports its status. Call this before other tools on a recording that may not be loaded yet. Returns state 'ready' when other tools will respond quickly, 'processing' with phase, progress counts, and an estimated time remaining (eta, may be null) while it is still loading, or 'crashed'/'failed' with an error when the recording cannot be analyzed. Safe to call repeatedly; call again while the state is 'processing'. msSinceLastProgress only indicates a stall in the 'starting' and 'scanning' phases; in 'analyzing' there are no progress updates while the instrument engine runs, so treat eta.exceeded as the sign that something is wrong. The eta is recomputed on every call and can go up, for example when the instrument engine starts; reset any deadline when phase or instrumentEngine.state changes. A crashed or failed server is shut down after a few minutes, and the next call starts a fresh one with a new startedAt; retry at most once since crashes often repeat. When a server replaced an earlier one for the same recording, previousRun says how the earlier one ended; previousRun.unexpected means it died without reporting a crash. That can be the recording (for example running out of memory) or the infrastructure (for example a node reclaimed without warning), so keep waiting on the new server and treat it as a crash only if the next server for the recording also ends unexpectedly.
REPLAY_MCP_WARM_RECORDINGAcciónStarts processing a recording if needed and reports its status. Call this before other tools on a recording that may not be loaded yet. Returns state 'ready' when other tools will respond quickly, 'processing' with phase, progress counts, and an estimated time remaining (eta, may be null) while it is still loading, or 'crashed'/'failed' with an error when the recording cannot be analyzed. Safe to call repeatedly; call again while the state is 'processing'. msSinceLastProgress only indicates a stall in the 'starting' and 'scanning' phases; in 'analyzing' there are no progress updates while the instrument engine runs, so treat eta.exceeded as the sign that something is wrong. The eta is recomputed on every call and can go up, for example when the instrument engine starts; reset any deadline when phase or instrumentEngine.state changes. A crashed or failed server is shut down after a few minutes, and the next call starts a fresh one with a new startedAt; retry at most once since crashes often repeat. When a server replaced an earlier one for the same recording, previousRun says how the earlier one ended; previousRun.unexpected means it died without reporting a crash. That can be the recording (for example running out of memory) or the infrastructure (for example a node reclaimed without warning), so keep waiting on the new server and treat it as a crash only if the next server for the recording also ends unexpectedly.
Parámetros de entrada
untilstringenumWhat to wait for before returning. 'ready' (default) waits until other tools will respond quickly. 'scanned' returns once region scanning has finished (scan.done), which is enough to open the recording in a debugger but not for analysis tools.
readyscannedrecordingIdstringObligatorioThe ID of the recording to analyze.
waitSecondsnumberHow long to wait for processing to finish before returning the current status. Defaults to 60, capped at 60. Use 0 to return immediately.
expectLibraryInstrumentationbooleanWhether the recording is known to use a library the backend instruments, such as React. Only affects the upper bound of the time estimate before library detection finishes; false gives a tighter upper bound. Omit if unknown. The recording keeps one value; the most recent caller to pass it wins.
Parámetros de salida
Sin parámetros.
WebsocketmessagesREPLAY_MCP_WEB_SOCKET_MESSAGESAcciónInspect the WebSocket connections in a recording and the messages sent and received on them. Default mode 'connections' lists each connection with its URL, status (open, open until the recording ended, still connecting, never connected, failed to connect, dropped, closed by client, closed) and message counts. Mode 'connection' lists the messages on a connection (paginated, filterable by direction and text); sent messages include a point reference for the send() call. Mode 'message' shows the contents of one message by messageId. JSON messages too large to show whole are shown as an outline of keys, types and sizes; pass path (e.g. 'result.items.3') to see one part. Unknown connectionId or messageId values are rejected with the list of valid IDs.
REPLAY_MCP_WEB_SOCKET_MESSAGESAcciónInspect the WebSocket connections in a recording and the messages sent and received on them. Default mode 'connections' lists each connection with its URL, status (open, open until the recording ended, still connecting, never connected, failed to connect, dropped, closed by client, closed) and message counts. Mode 'connection' lists the messages on a connection (paginated, filterable by direction and text); sent messages include a point reference for the send() call. Mode 'message' shows the contents of one message by messageId. JSON messages too large to show whole are shown as an outline of keys, types and sizes; pass path (e.g. 'result.items.3') to see one part. Unknown connectionId or messageId values are rejected with the list of valid IDs.
Parámetros de entrada
modestringenumconnections: list every WebSocket connection with its URL, status and message counts. connection: list the messages on one connection (or all connections when connectionId is omitted). message: show the full contents of one message.
connectionsconnectionmessagepathstringmessage mode, JSON messages only: dotted path to one part of the message, e.g. 'result.sources.3' or 'params.data'. Large JSON messages are shown as an outline; use the paths from the outline to see the parts you need.
limitintegerPage size for connection mode (default 25).
formatstringenumResponse format: 'markdown' (default) for human-readable output, 'json' for structured data (use only from programmatic callers)
markdownjsonoffsetintegerconnection mode: index of the first message to show. message mode: character offset into non-JSON message text (or a string selected with path), for text too long to show at once.
directionstringenumOnly show messages sent by the page or received from the server. connection mode only.
sentreceivedmessageIdstringMessage ID from connection mode, e.g. "m12". Required for message mode.
urlFilterstringSubstring filter (case-insensitive) on the connection URL. connections mode only.
recordingIdstringObligatorioThe ID of the recording to analyze.
connectionIdstringConnection ID from connections mode, e.g. "ws1". connection mode only.
filterByTextstringSubstring filter (case-insensitive) on message text. connection mode only.
Parámetros de salida
Sin parámetros.
ZustandstoresREPLAY_MCP_ZUSTAND_STORESAcciónAnalyze Zustand stores in a recording. Start with mode 'summary' to see all stores and their setState call counts. Use 'store-events' with a storeId to browse setState calls chronologically. Use 'store-state' with storeId and eventIndex to inspect the state at a specific setState call (shows the updater identity, incoming changes, merged result, and previous state). Call RecordingOverview first for broader context about the recording.
REPLAY_MCP_ZUSTAND_STORESAcciónAnalyze Zustand stores in a recording. Start with mode 'summary' to see all stores and their setState call counts. Use 'store-events' with a storeId to browse setState calls chronologically. Use 'store-state' with storeId and eventIndex to inspect the state at a specific setState call (shows the updater identity, incoming changes, merged result, and previous state). Call RecordingOverview first for broader context about the recording.
Parámetros de entrada
modestringenumAnalysis mode: summary (overview of all Zustand stores and setState call counts), store-events (paginated timeline of setState calls for a specific store), store-state (evaluate state at a specific setState point — shows updater identity, incoming changes, merged result, and previous state)
summarystore-eventsstore-statedepthintegerMax serialization depth for state inspection (1–8, default 3). Use lower values for a quick overview, higher for detailed subtrees.
limitintegerPagination page size (default 25) — applies to 'store-events' mode
offsetintegerPagination offset — applies to 'store-events' mode
storeIdintegerStore ID — required for 'store-events' and 'store-state' modes. Get available IDs from the 'summary' mode.
eventIndexinteger0-based index of the setState event within the store — required for 'store-state' mode. Get event indices from 'store-events' mode.
recordingIdstringObligatorioThe ID of the recording to analyze.
Parámetros de salida
Sin parámetros.