Skip to content
Agentmart
Submit a tool

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

IndexedMITLocal (stdio)★ 1
Write a review

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.

We use your email only for this newsletter. Privacy

About

MCP server for unpacking and analyzing Playwright trace.zip archives

No 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_conditions
  • compare_traces
  • detect_performance_anomalies
  • extract_critical_frames
  • extract_trace_metadata_strict
  • get_action_timeline
  • get_aria_accessibility_tree
  • get_causal_chain_for_failure
  • get_console_errors
  • get_dom_mutation_delta
  • get_element_state_at_failure
  • get_filtered_network_logs
Show 3 more tools
  • get_screenshot_at_failure
  • get_test_metadata
  • get_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_network
  • generate_error_signature
  • map_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_conditions

    Detects 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_traces

    Compares 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_network

    Joins 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_anomalies

    Detects 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_frames

    Extracts 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_strict

    Strictly 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_signature

    Generates 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_timeline

    Returns a paginated timeline of all actions with locators and timings. Use limit/offset to page through large traces.

  • get_aria_accessibility_tree

    Returns 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_failure

    Walks 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_errors

    Returns JS exceptions and warnings. Use limit/offset to page through results.

  • get_dom_mutation_delta

    Diffs 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_failure

    Returns DOM attributes of the failing element at the moment of failure

  • get_filtered_network_logs

    Returns only 4xx/5xx network responses, stripping static assets. Use limit/offset to page through results.

  • get_screenshot_at_failure

    Returns 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_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

  • map_locator_to_source

    Maps 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_archive

    Shrinks 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
    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from vola-trebla

    Cite this page

    Playwright Trace Decoder MCP. Agent Mart. https://agentmart.dev/connectors/vola-trebla-playwright-trace-decoder-mcp (last updated 2026-10-24)