io.github.vola-trebla/playwright-trace-decoder-mcp
MCP server for unpacking and analyzing Playwright trace.zip archives
Versions
0.1.1latestTools 19
get_test_metadata Returns test metadata: title, browser, platform, viewport, and start time
get_trace_summary Returns the failing action and top-level error message from a Playwright trace
get_action_timeline Returns a paginated timeline of all actions with locators and timings. Use limit/offset to page through large traces.
get_filtered_network_logs Returns only 4xx/5xx network responses, stripping static assets. Use limit/offset to page through results.
get_console_errors Returns JS exceptions and warnings. Use limit/offset to page through results.
get_aria_accessibility_tree Returns the ARIA accessibility tree (YAML) for a frame snapshot in the trace.
get_element_state_at_failure Returns DOM attributes of the failing element at the moment of failure
analyze_race_conditions Detects potential race conditions by finding network requests that were still
get_dom_mutation_delta Diffs the ARIA tree before and after a specific action. Returns added and removed
get_causal_chain_for_failure Walks backwards from the failed action and builds a chronological chain of
generate_error_signature Generates a stable 12-char hash signature for a test failure by normalizing the
compare_traces Compares a passing and a failing trace of the same test. Aligns actions by sequence,
get_screenshot_at_failure Returns the screenshot (base64 JPEG) from the trace closest to the moment of failure.
correlate_dom_and_network Joins the HAR network log and DOM snapshots into an explicit causal chain.
extract_trace_metadata_strict Strictly inspects a Playwright trace archive and returns format version, retry session
detect_performance_anomalies Detects Long Tasks and frame drops that cause Playwright timeouts. Analyses screencast-frame
map_locator_to_source Maps a failing browser interaction (or a specific action index) to its corresponding
extract_critical_frames Extracts key screencast screenshots (base64 JPEG) from a temporal window around a
trim_trace_archive Shrinks a Playwright trace zip file by deleting screenshots outside the critical
Permissions 1
network medium