verifa11y-mcp

v0.4.3
verifa11y-mcp Checked 3 days ago Published 11 days ago

MCP server for verifa11y: an HTML accessibility checker and verified fixer for AI agents (axe-core plus accessibility-tree, focus and visual checks).

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

rules List verifa11y rules

The rules verifa11y can patch: axe rule, WCAG criteria, tier (0 = deterministic codemod, 1 = needs a model or you), and what each one declines by design. Call it first, so you know what fix will do on its own, what needs judgment, and what will end up skipped.

audit Audit an HTML file

Audit a static HTML file with axe-core. Returns the violations verifa11y can patch, with id, WCAG criteria, exact source lines and text, tier, whether a codemod exists, and rule guidance; plus how many other WCAG A/AA violations the page has. Does not change anything.

ParameterTypeDescription
path *stringHTML file, relative to the server root
level1 = structural rules only, 2 = also color-contrast (default)

fix Generate verified fixes as a patch

Audit an HTML file, generate a patch per finding (mode=codemod: deterministic codemods only, offline, the default; mode=auto: also a tier-1 model configured in the server's environment), verify every patch, and write the verified ones as a git patch under the output directory (<out>/<runId>/verifa11y.patch). Never edits the HTML file: the user applies the patch with git apply and reviews it. strict (default true) leaves suspicious patches out.

ParameterTypeDescription
path *stringHTML file, relative to the server root
limitintegerOnly the first N findings
modestringcodemod (default) or auto (needs a tier-1 generator in the server's environment)
outstringOutput directory, relative to the server root (default .verifa11y)
strictbooleanLeave suspicious patches out of the patch (default true)

verify Verify a proposed fix

Judge a fix you propose for one finding, without changing the file. The patch replaces `before` (copied exactly from the file; at most 6 changed lines in 2 places) with `after`. The verifier applies it to a copy and checks: the violation is gone; no new WCAG A/AA violation; nothing hidden, deleted or silenced; no element lost its accessible name, role, state or focusability; the Tab order is intact; nothing changed visually outside the patched elements. Suggest the edit only if verified is true.

ParameterTypeDescription
patch *object
path *stringHTML file, relative to the server root