mcpdirectory.dev
9,129 servers · updated 23 Sept

Cornea MCP server

community Active last commit today

What it does

Cornea is a visual inspection tool that analyzes HTML layouts and reports structural issues like overlaps, overflows, contrast problems, and quality scores. It runs as a CLI, MCP server, or HTTP API and produces deterministic results without needing a browser.

  • Check if a web page layout is broken—overlapping elements, content clipped by viewport, text contrast failures—by running a single command or MCP tool call.
  • Give a coding agent concrete visual feedback about pages it builds, using token-efficient structured data instead of screenshots.
  • Monitor layout health during development by pointing Cornea at a local dev server and inspecting live pages across different viewport sizes.

Tools this server exposes

ToolDoes
layout.inspectAnalyzes HTML and returns the full visual geometry model, element positions, and inspection report.
layout.overlapsReports elements whose bounding boxes collide with each other.
layout.overflowIdentifies elements clipped by the viewport or hidden by overflow.
layout.contrastComputes foreground-to-background contrast ratios for text elements and reports WCAG AA compliance.
layout.qualityReturns a 0–1 health score and list of detected issues.
layout.fidelityReports which CSS features are computed exactly versus approximated by the engine.

Before you enable it

An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.