← Back to search

io.github.vola-trebla/playwright-spatial-layout-mcp

vola-trebla Scanned 29d ago

MCP server that gives AI agents geometric spatial awareness of web page layouts using Playwright

A
91.2 / 100

Versions

0.1.1latest
first seen Jun 5, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 6

compute_viewport_reflow
annotations: none low

Measures how element positions and sizes change across multiple viewport sizes.

url string width number height number
verify_stacking_context
annotations: none low

Reveals the full CSS stacking context chain for an element — which ancestors create

url string selector string
calculate_perceptual_contrast
annotations: none low

Measures color contrast between a text element and its background using both WCAG 2.x

url string text_selector string background_selector string
extract_bounding_boxes
annotations: none low

Returns the geometric position, size, z-index, and viewport visibility for one or more DOM elements.

url string
detect_visual_occlusion
annotations: none low

Checks if one element physically overlaps another by computing the intersection of their bounding boxes.

url string target_selector string
verify_spatial_relationships
annotations: none low

Validates a set of spatial layout rules — e.g. 'nav must be above hero', 'sidebar must be left of content'.

url string element_a string element_b string

Permissions 0

No permissions indexed yet.

Scan Findings 19

medium
Vulnerable dependency: playwright@1.52.0 (GHSA-7mvr-c777-76hp) dependency_analyzer · 95%
low
Tool 'extract_bounding_boxes' has no annotations annotation_checker · 100%
low
Tool 'detect_visual_occlusion' has no annotations annotation_checker · 100%
low
Tool 'verify_spatial_relationships' has no annotations annotation_checker · 100%
low
Tool 'compute_viewport_reflow' has no annotations annotation_checker · 100%
low
Tool 'calculate_perceptual_contrast' has no annotations annotation_checker · 100%
low
Tool 'verify_stacking_context' has no annotations annotation_checker · 100%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
info
package.json metadata manifest_parser · 100%
info
Tool: extract_bounding_boxes manifest_parser · 85%
info
Tool: detect_visual_occlusion manifest_parser · 85%
info
Tool: verify_spatial_relationships manifest_parser · 85%
info
Tool: compute_viewport_reflow manifest_parser · 85%
info
Tool: calculate_perceptual_contrast manifest_parser · 85%
info
Tool: verify_stacking_context manifest_parser · 85%
info
Transport: stdio manifest_parser · 90%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
info
SBOM generated: 332 components sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%