ViewportWitness by Apex Labs logo

ViewportWitness by Apex Labs

Paid browser QA over MCP for public HTTPS pages, with screenshots, accessibility findings, layout analysis, and viewport comparisons.

Install ViewportWitness by Apex Labs

Run the project’s own setup commands, in order.

Setup steps from the project

ViewportWitness by Apex Labs installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install
    
  2. 2. Configure
    cp .env.example .env
    
  3. 3. Start the server
    npm run dev
    

Overview

ViewportWitness by Apex Labs provides remote browser QA for deployed public websites through MCP and an x402 payment API. It captures phone portrait, phone landscape, and desktop evidence, then returns screenshots, accessibility findings, layout analysis, browser errors, and a structured verdict. Additional tools extract a public HTML page as deterministic Markdown or check release security controls without mutating the page. Reach for it when an agent needs deployment checks without managing a local browser; local instances support payment-free test mode.

Use cases

  • Check a deployed site across phone and desktop viewports before sign-off
  • Verify read-only page assertions after a release
  • Compare a current render with a stored baseline
  • Extract a public page into deterministic Markdown
  • Inspect public release security controls

Key features

  • Screenshots across three phone and desktop viewports
  • Accessibility and layout findings
  • Read-only assertion checks
  • Baseline render comparisons and diff images
  • x402-paid remote MCP access
  • Optional historical snapshot archive

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 68d

How ViewportWitness by Apex Labs works

What ViewportWitness by Apex Labs does

ViewportWitness by Apex Labs checks deployed websites from a browser worker and returns evidence that can support release decisions. A standard check accepts one public HTTPS URL and evaluates three viewports: phone portrait, phone landscape, and desktop. Results include screenshots, accessibility findings, layout analysis, browser errors, structured JSON, and a PASS, FAIL, or INCONCLUSIVE status.

The service also exposes two lower-resource paid agent tools. extract_page turns one public HTML page into deterministic Markdown for $0.005 USDC. web_release_gate checks one public page for release security controls for $0.05 USDC. These tools, like the browser checks, operate only on public pages.

How it works

The hosted service is available at https://qa.honeygate.app and exposes a remote MCP interface at /mcp. Paid HTTP requests first receive an HTTP 402 x402 challenge containing payment details. An x402-aware client, such as @x402/fetch with a funded wallet, pays the challenge and retries the request. The listed prices are $0.08 USDC for a standard check, $0.10 for read-only assertions, and $0.12 for a baseline comparison.

Check, verify, and compare requests return a job ID and polling URL. Clients poll until the job completes, then retrieve the report and, where needed, download viewport screenshots or comparison diffs. A comparison uses a completed, unexpired check containing screenshots for all three viewports. Reports and baselines remain available for seven days.

Setup and configuration

For hosted use, configure an x402-capable client with a funded wallet and submit requests to the service URL. The service provides payment discovery at /.well-known/x402, an agent guide at /llms.txt, and a concise skill manifest at /skill.md.

To run a local instance, install dependencies, install Chromium for Playwright, copy .env.example to .env, and start the development process:

Terminal
npm install
npx playwright install chromium
cp .env.example .env
npm run dev

Local development defaults to PAYMENT_MODE=test, so checks do not require payment or CDP keys. Results identify themselves as test-mode settlements.

Tools and capabilities

  • Create browser QA jobs with POST /v1/checks.
  • Run non-mutating assertions with POST /v1/verify; supported examples include checking selector visibility and whether a page title contains specified text.
  • Compare a current render with a previous job through POST /v1/compare.
  • Poll job status and retrieve reports through /v1/checks/:id.
  • Download viewport screenshots and comparison diff PNGs.
  • Extract public HTML as Markdown with extract_page.
  • Check public-page release security controls with web_release_gate.
  • Optionally archive completed evidence and query historical snapshots when archive mode is enabled.

Limitations and notes

Only public HTTPS URLs are accepted. Loopback, private, link-local, and metadata addresses are blocked at every hop. The browser worker does not submit forms or perform state-changing interactions, and the paid tools do not accept caller-supplied HTML, credentials, cookies, custom headers, uploads, or private-network targets.

The optional history archive is disabled by default. When enabled, it stores public-page evidence separately from the normal seven-day job retention and removes job, payment, assertion, and baseline references from archived copies.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about ViewportWitness by Apex Labs

ViewportWitness by Apex Labs is an MCP server that connects AI agents to a remote browser QA service over MCP and x402. Its main tools create browser checks, run read-only assertions, compare renders with baselines, extract public HTML as Markdown, and inspect release security controls.

Install it by configuring an MCP client for the hosted service or by running the repository locally. Local setup uses `npm install`, `npx playwright install chromium`, `.env` copied from `.env.example`, and `npm run dev`.

It uses x402 payment challenges for hosted paid requests. The endpoint returns HTTP 402 with payment requirements, then an x402-aware client such as `@x402/fetch` pays and retries automatically.

No, it accepts public HTTPS URLs only. Loopback, private, link-local, and metadata addresses are blocked at every hop, and the browser worker cannot access private-network targets.

Yes, local instances default to `PAYMENT_MODE=test`. This mode does not require payment or CDP keys, and its results are labeled as test-mode rather than real payment settlements.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewViewportWitness by Apex Labs AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/viewportwitness-by-apex-labs?style=directory)](https://allmcps.com/mcp/viewportwitness-by-apex-labs)
HTML Embed
<a href="https://allmcps.com/mcp/viewportwitness-by-apex-labs"><img src="https://allmcps.com/api/badge/viewportwitness-by-apex-labs?style=directory" alt="ViewportWitness by Apex Labs on AllMCPs" /></a>