Playwright Spatial Layout MCP
MCP server that gives AI agents geometric spatial awareness of web page layouts using Playwright
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-spatial-layout-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
- 6 read · 0 write · 0 deleteRead-only
- Secrets
- None asked for
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 6
Read from the source code; the running server may list different tools.
Read 6 · Look things up without changing anything.
calculate_perceptual_contrastcompute_viewport_reflowdetect_visual_occlusionextract_bounding_boxesverify_spatial_relationshipsverify_stacking_context
Tools (6)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
calculate_perceptual_contrastMeasures color contrast between a text element and its background using both WCAG 2.x and APCA (WCAG 3.0 draft) formulas simultaneously. Use to answer: does this text pass accessibility contrast requirements? Is it actually readable even if it technically passes the legacy formula?
compute_viewport_reflowMeasures how element positions and sizes change across multiple viewport sizes. Use to answer: does the layout break on mobile? Which elements shift most when resizing?
detect_visual_occlusionChecks if one element physically overlaps another by computing the intersection of their bounding boxes. Use to answer: is this button hidden under a sticky header? Does the cookie banner block the CTA?
extract_bounding_boxesReturns the geometric position, size, z-index, and viewport visibility for one or more DOM elements. Use to answer: where exactly on screen is this element? Is it visible? Is it off-screen?
verify_spatial_relationshipsValidates a set of spatial layout rules — e.g. 'nav must be above hero', 'sidebar must be left of content'. Returns pass/fail per rule with a human-readable reason. Use to answer: does the page layout match the design specification?
verify_stacking_contextReveals the full CSS stacking context chain for an element — which ancestors create new stacking contexts and why. Use to answer: why is my z-index:9999 element still behind a modal? Does this element create its own stacking context?
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit
- May 19, 2026 (5 months ago)
- Last release
- May 19, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.vola-trebla/playwright-spatial-layout-mcp- Version
- 0.2.0
- Auth
- No auth
- Packages
- npm playwright-spatial-layout-mcp
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from vola-trebla
- 0.592score
Playwright Trace Decoder MCP
vola-trebla
MCP server for unpacking and analyzing Playwright trace.zip archives
ConnectorAFreshness: ALocal★ 1Claude Code +5 - 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
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
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
Release Readiness Triage MCP
vola-trebla
Aggregates CI failures, cross-references flakiness history, and outputs GO/NO_GO release verdicts.
ConnectorCFreshness: CLocalClaude Code +5
Cite this page
Playwright Spatial Layout MCP. Agent Mart. https://agentmart.dev/connectors/vola-trebla-playwright-spatial-layout-mcp (last updated 2026-10-24)