MCP Servers / development / playwright-spatial-layout-mcp

playwright-spatial-layout-mcp

JSON →
nonedevelopment

Geometric vision for AI agents: bounding boxes, occlusion, viewport reflow

Install
How to run this server
[ { "cmd": "npx playwright-spatial-layout-mcp", "imports": [] } ]
server path: playwright-spatial-layout-mcp
Tools
What this server exposes
extract_bounding_boxes
Returns position, size, z-index, and viewport visibility for one or more elements.
detect_visual_occlusion
Checks if one element physically overlaps another by computing bounding box intersection.
verify_spatial_relationships
Validates a set of layout rules and returns pass/fail with a human-readable reason per rule.
compute_viewport_reflow
Measures how element positions and sizes change across multiple viewport sizes.
Configuration
Environment & auth
authnone
Resources
playwright-spatial-layout-mcp — MCP Server · libregistry