Back to Browse

A11yscan MCP Server

Developer ToolsModerate5.8MCP RegistryLocal
Free

Server data from the Official MCP Registry

WCAG accessibility audits for URLs and HTML: scans, stored reports and the full rule list.

About

WCAG accessibility audits for URLs and HTML: scans, stored reports and the full rule list.

Security Report

5.8
Moderate5.8Moderate Risk

a11yscan is a small forwarding client that answers tools/list from local literal definitions and sends every tools/call to the pinned HTTPS endpoint https://api.lazynext.com/mcp with no auth header. The main considerations are that page URLs, pasted HTML, and an optional license email leave the machine for a third-party hosted service by design, and that the endpoint can be redirected via an environment variable. No malicious patterns, shell execution, file access, or hardcoded secrets were found, so the server's permissions match its purpose. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.

8 files analyzed · 9 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Replaces the upstream endpoint. Defaults to the pinned hosted endpoint, https://api.lazynext.com/mcp. (This override variable is a reconstruction introduced by this rebuild.)Required

Environment variable: LAZYNEXT_MCP_URL

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "a11yscan": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/a11yscan@0.1.0"
      ],
      "env": {
        "LAZYNEXT_MCP_URL": "your-lazynext-mcp-url-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

a11yscan

Check a page or a chunk of markup against WCAG without running your own rendering pipeline. a11yscan is a small forwarding client for the hosted LazyNext accessibility checker: the tool list is served from your own machine using the captured definitions, and each call is sent upstream, with the service's answer returned exactly as it arrived.

All four captured tools are exposed. You can render and audit a live page, audit pasted HTML statically without any rendering, fetch a stored report from an earlier scan by its id, and list every WCAG criterion the scanner can emit, with its level and detection path.

The tools

  • scan_url — Render and audit a live web page for WCAG 2.1/2.2 violations; returns a score, findings, and a shareable report URL. Requires url. Optional: site to crawl same-origin pages, viewport (mobile or desktop), and license — your own Pro license email, forwarded verbatim to raise the free-tier quota under your own allowance; the rebuild never originates or stores it. Free tier is 3 URL scans per day per IP.
  • scan_html — Audit pasted HTML markup (up to 512KB) for WCAG violations using static rules only: no render, no quota. Requires html.
  • get_report — Fetch a stored scan report by its id, the slug in the report URL from a prior scan_url or scan_html result. Requires id.
  • list_rules — List every WCAG criterion the scanner can emit, with level and detection path. No arguments, and no required fields.

Install and run

As an MCP server via npm:

npx -y @reneturcios/a11yscan mcp

MCP client configuration:

{
  "mcpServers": {
    "a11yscan": {
      "command": "npx",
      "args": ["-y", "@reneturcios/a11yscan", "mcp"]
    }
  }
}

As a container:

docker run -i ghcr.io/cloudcorprecords/a11yscan
docker run --rm ghcr.io/cloudcorprecords/a11yscan list_rules '{}'

CLI

A single binary covers both the command line and the MCP server. Every tool is a subcommand whose one argument is a JSON string of that tool's inputs:

a11yscan scan_url '{"url":"https://example.com"}'
a11yscan scan_url '{"url":"https://example.com","viewport":"desktop"}'
a11yscan scan_html '{"html":"<html><body><p>hi</p></body></html>"}'
a11yscan get_report '{"id":"abc123"}'
a11yscan list_rules '{}'
a11yscan --version

Exit codes: 0 for a successful forwarded call, 1 when the result that comes back is an error, and 2 for usage mistakes like an unknown subcommand or a JSON argument that does not parse.

Configuration

  • LAZYNEXT_MCP_URL — Replaces the upstream endpoint. Defaults to the pinned hosted endpoint, https://api.lazynext.com/mcp. (This override variable is a reconstruction introduced by this rebuild.)

The LazyNext registry record lists no headers for its remote, so a11yscan never attaches an authentication header — every call goes upstream keyless.

When the upstream cannot answer — it returns a JSON-RPC error, answers with a non-2xx status, sends a body that cannot be read, or the request itself fails — the caller receives an error result whose text begins with a11yscan error:.

How forwarding works

The first call of a process opens a session against the upstream: an initialize request (protocol version 2025-03-26), a notifications/initialized notification, and then the tools/call. If the service issues an Mcp-Session-Id header during initialize, a11yscan repeats it on subsequent requests and keeps reusing that one session until the process ends. Replies are understood in both plain JSON and server-sent-events framing. Successful results are passed through untouched, isError flag and any extra fields included.

Development

npm install
npm run build   # tsc -> dist/ (dist/cli.js is the bin)
npm test        # tsx --test test/*.test.ts — stubbed upstream, no network
npm run dev     # run the CLI from source

The suite compares the served tool list against the captured surface tool for tool, walks the session handshake and its reuse, proves no Authorization header is sent under any environment, and confirms that arguments — including a caller's own optional license — travel upstream unchanged and results return unchanged.

License

MIT — see LICENSE. Copyright (c) 2026 Rene Turcios.

Reviews

No reviews yet

Be the first to review this server!