All projects

WebMCP Test

An independent browser and contract-test harness for a personal website that serves people, crawlers, and browser agents.

Problem

Agent-facing interfaces need the same dependable contracts, crawlable surfaces, and responsive behavior expected from a human-facing site.

Approach

Built a Playwright matrix with a standards-shaped WebMCP probe, unit audits for tool registrations, reduced-motion checks, and HTTP discovery checks.

Outcome

The harness verifies public tool schemas and execution, identity and navigation, machine-readable endpoints, and desktop/mobile usability with retained failure artifacts.

Evidence

  • implemented: Unit tests audit the expected public WebMCP tools, object schemas, descriptions, and read-only annotations.
  • implemented: Playwright runs desktop and mobile checks, including reduced-motion usability and machine-readable discovery endpoints.