a11y-mcp
v0.1.1MCP server for accessibility testing with Cloudflare bypass using Camoufox and axe-core
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scan_page
Navigate to a URL, bypass Cloudflare if present, and run an accessibility scan. This tool uses an anti-detect browser (Camoufox) that can bypass Cloudflare protection, then injects axe-core and runs a full accessibility audit. Args: url: The URL to scan for accessibility issues wcag_level: WCAG conformance level (A, AA, AAA, 21A, 21AA, 22AA). Default: AA wait_for_cloudflare: Wait for Cloudflare challenges to complete. Default: True Returns: Summary of accessibility scan including violation counts by severity
| Parameter | Type | Description |
|---|---|---|
url * | string | |
wait_for_cloudflare | boolean | |
wcag_level | string |
scan_element
Scan a specific element on the current page for accessibility issues. Must be called after scan_page() has loaded a page. Runs axe-core on just the specified element and its descendants. Args: selector: CSS selector for the element to scan (e.g., '#main-nav', '.form-container') Returns: Accessibility scan results for the specified element
| Parameter | Type | Description |
|---|---|---|
selector * | string |
get_violations
Get detailed list of violations from the most recent scan. Returns full violation details including affected elements, WCAG references, and remediation guidance. Returns: List of violations with complete details including affected HTML elements
get_full_report
Get complete accessibility report from the last scan. Includes violations, passes, incomplete checks, and inapplicable rules. Use this for comprehensive analysis of accessibility compliance. Returns: Complete scan results including all categories (violations, passes, incomplete, inapplicable)
configure_rules
Enable or disable specific accessibility rules. Use this to customize which rules are checked during scans. Changes apply to all subsequent scans until reconfigured. Common rules to disable: - color-contrast: Color contrast checks - image-alt: Image alt text requirements - link-name: Link text requirements - region: Landmark region requirements Args: rules: Map of rule IDs to enabled status. Example: {'color-contrast': false} Returns: Confirmation of applied configuration
| Parameter | Type | Description |
|---|---|---|
rules * | object |
set_wcag_level
Set WCAG conformance level for accessibility testing. Available levels: - A: WCAG 2.0 Level A (minimum accessibility) - AA: WCAG 2.0 Level AA (standard compliance target, recommended) - AAA: WCAG 2.0 Level AAA (enhanced accessibility) - 21A: WCAG 2.1 Level A - 21AA: WCAG 2.1 Level AA - 22AA: WCAG 2.2 Level AA (latest standard) Args: level: WCAG level code (A, AA, AAA, 21A, 21AA, 22AA) Returns: Confirmation of WCAG level setting with tags that will be used
| Parameter | Type | Description |
|---|---|---|
level * | string |
export_report
Export accessibility report in the specified format. Generates a formatted report from the last scan results. Formats: - json: Machine-readable JSON with full details - html: Styled HTML report for stakeholders - csv: Spreadsheet-compatible format for tracking Args: format: Output format - 'json', 'html', or 'csv' Returns: Formatted report content as a string
| Parameter | Type | Description |
|---|---|---|
format * | string |