Playwright Trace Decoder MCP
MCP server for unpacking and analyzing Playwright trace.zip archives
Connector by vola-trebla · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/vola-trebla-playwright-trace-decoder-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 15 read · 0 write · 1 delete · 3 not yet classified
- Secrets
- None asked for
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 19
Read from the source code; the running server may list different tools.
Read 15 · Look things up without changing anything.
analyze_race_conditionscompare_tracesdetect_performance_anomaliesextract_critical_framesextract_trace_metadata_strictget_action_timelineget_aria_accessibility_treeget_causal_chain_for_failureget_console_errorsget_dom_mutation_deltaget_element_state_at_failureget_filtered_network_logs
Show 3 more tools
get_screenshot_at_failureget_test_metadataget_trace_summary
Delete 1 · Delete, drop, revoke or wipe things.
trim_trace_archive
Not yet classified 3 · We could not tell from the name and description.
correlate_dom_and_networkgenerate_error_signaturemap_locator_to_source
Tools (19)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
analyze_race_conditionsDetects potential race conditions by finding network requests that were still in-flight when a user interaction action fired. Returns flagged actions with pending requests.
compare_tracesCompares a passing and a failing trace of the same test. Aligns actions by sequence, finds the first timing or structural divergence, and summarises network differences. Use to diagnose flakiness — what was different in the run that failed.
correlate_dom_and_networkJoins the HAR network log and DOM snapshots into an explicit causal chain. For each action where a network response completed and the DOM mutated within ±100ms, returns the triggering request URL, response status, body snippet, and the exact DOM nodes that appeared or disappeared. Background polling and analytics pixels are filtered out. Use to diagnose race conditions and async rendering bugs — removes hallucination from the question 'did this fetch cause this DOM change?'
detect_performance_anomaliesDetects Long Tasks and frame drops that cause Playwright timeouts. Analyses screencast-frame timestamps for main-thread blocking (gaps > 50ms), flags actions that took longer than 500ms, counts concurrent in-flight network requests during each slow action, and checks for monotonically increasing action durations (suspected memory leak). Returns a ranked list of anomalies with a suspected_cause so the agent can distinguish a blocked main thread from network saturation or a navigation timeout — without blaming a missing element.
extract_critical_framesExtracts key screencast screenshots (base64 JPEG) from a temporal window around a test failure or the end of the trace, resolved with their associated test step titles.
extract_trace_metadata_strictStrictly inspects a Playwright trace archive and returns format version, retry session breakdown, and HAR payload mode. Handles .pwtrace.zip extensions (newer Playwright CI), multi-retry archives (identifies which retry failed), and all three HAR modes: embed (bodies inline), attach (bodies as separate files), omit (headers only). Use before other trace tools when the archive may be from an unfamiliar Playwright version or CI configuration — confirms the trace is valid and tells you what data is available.
generate_error_signatureGenerates a stable 12-char hash signature for a test failure by normalizing the error message (stripping paths, numbers, UUIDs). Use to group duplicate failures across parallel CI runs without reading each trace manually.
get_action_timelineReturns a paginated timeline of all actions with locators and timings. Use limit/offset to page through large traces.
get_aria_accessibility_treeReturns the ARIA accessibility tree (YAML) for a frame snapshot in the trace. Reduces DOM token cost by ~90% vs raw HTML. Use action_index to target a specific action — defaults to the failed action, or the last snapshot if no failure.
get_causal_chain_for_failureWalks backwards from the failed action and builds a chronological chain of preceding actions, network errors, and console errors. Surfaces the most likely root cause.
get_console_errorsReturns JS exceptions and warnings. Use limit/offset to page through results.
get_dom_mutation_deltaDiffs the ARIA tree before and after a specific action. Returns added and removed elements so the agent sees exactly what changed without comparing two full DOM dumps.
get_element_state_at_failureReturns DOM attributes of the failing element at the moment of failure
get_filtered_network_logsReturns only 4xx/5xx network responses, stripping static assets. Use limit/offset to page through results.
get_screenshot_at_failureReturns the screenshot (base64 JPEG) from the trace closest to the moment of failure. Use when get_aria_accessibility_tree returns an empty or unhelpful tree — the image shows exactly what was on screen. Pass screenshot_index to retrieve any specific screenshot from the trace (0-based); omit to get the one nearest to the failure.
Show 4 more tools
get_test_metadataReturns test metadata: title, browser, platform, viewport, and start time
get_trace_summaryReturns the failing action and top-level error message from a Playwright trace
map_locator_to_sourceMaps a failing browser interaction (or a specific action index) to its corresponding line of code in the test file using the execution stack from the test runner.
trim_trace_archiveShrinks a Playwright trace zip file by deleting screenshots outside the critical failure window (t_fail - 5s to t_fail + 1s). Returns original vs trimmed size and path to the new archive (.trimmed.zip).
Compare and alternatives
Featured in
Signals
- Stars
- 1
- Forks
- 1
- Open issues
- 0
- Last commit
- Oct 14, 2026 (14 days ago)
- Last release
- May 19, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.vola-trebla/playwright-trace-decoder-mcp- Version
- 0.2.3
- Auth
- No auth
- Packages
- npm playwright-trace-decoder-mcp
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from vola-trebla
- 0.524score
React Render Profile MCP
vola-trebla
Decodes React DevTools Profiler exports into render summaries and memoization advice for AI agents.
ConnectorCFreshness: CLocal★ 2Claude Code +5 - 0.502score
Playwright Network Chaos MCP
vola-trebla
MCP server that gives AI agents dynamic network chaos control over Playwright browser sessions
ConnectorCFreshness: CLocal★ 1Claude Code +5 - 0.488score
Release Readiness Triage MCP
vola-trebla
Aggregates CI failures, cross-references flakiness history, and outputs GO/NO_GO release verdicts.
ConnectorCFreshness: CLocalClaude Code +5 - 0.488score
Env Secret Exposure Analyzer MCP
vola-trebla
Scans projects for secret exposure: leaked API keys, unprotected.env files, and secrets in logs.
ConnectorCFreshness: CLocalRead-onlyClaude Code +5 - 0.488score
Ndjson Local Log Triage MCP
vola-trebla
Streams NDJSON log triage: query patterns, detect anomalies, summarize timelines without full load.
ConnectorCFreshness: CLocalClaude Code +5 - 0.488score
Sourcemap Retrace MCP
vola-trebla
Decodes minified production stack traces back to original TypeScript source using source maps.
ConnectorCFreshness: CLocalClaude Code +5
Cite this page
Playwright Trace Decoder MCP. Agent Mart. https://agentmart.dev/connectors/vola-trebla-playwright-trace-decoder-mcp (last updated 2026-10-24)