squint-mcp

v0.1.0
squint-mcp Checked 4 days ago Published 1 month ago

MCP server that finds visual bugs in a rendered web page by crossing DOM/CSS with pixels, without a baseline.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ping

Confirm the server is alive. Returns the server name and version, and echoes `message` when given.

ParameterTypeDescription
message

inspect_element

Inspect one element of a rendered page. Opens `url` (http://, https:// or file://), waits for the page to settle and returns the element's computed styles, its box model in CSS pixels, the colours actually painted inside its box and a crop of it. `selector` is a CSS selector that must match exactly one element; it reaches into open shadow roots. `viewport` defaults to 1440x900. `stabilized` is false when the network never went idle. A call that takes longer than 30s fails. `box` is the element as painted, after transforms; `boxModel` is its layout, before them, for HTML elements. For SVG and…

ParameterTypeDescription
selector *string
url *string
viewport

detect_visual_bugs

Find visual bugs in a rendered page, without a baseline. Opens `url` (http://, https:// or file://) once per viewport, waits for the page to settle and runs Checks that cross what the DOM reports with what is painted. `viewports` defaults to one of 1440x900. `checks` names the Checks to run and defaults to all of them: `text-clipped` (text cut off horizontally by its own box) and `low-contrast-real` (text whose contrast against the background painted behind it, sampled from the pixels, is below WCAG 2.2 SC 1.4.3). Returns `findings`, most severe first and then in the order of the page, and `c…

ParameterTypeDescription
url *string
checks
viewports