ally
v1.0.2Accessibility MCP server: ARIA patterns, WCAG guidelines, design tokens and scan results.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_component_patterns
Analyze existing ARIA patterns in React/Vue components to ensure consistent accessibility fixes
| Parameter | Type | Description |
|---|---|---|
component | string | Specific component name to analyze |
directory | string | Directory to analyze (defaults to current directory) |
get_design_tokens
Extract design tokens (colors, spacing) from CSS/SCSS/Tailwind config for WCAG-compliant fixes
| Parameter | Type | Description |
|---|---|---|
directory | string | Directory to search for design tokens |
get_fix_history
Retrieve previously applied accessibility fixes to maintain consistency
| Parameter | Type | Description |
|---|---|---|
issueType | string | Filter by issue type (e.g., 'image-alt', 'button-name') |
get_scan_summary
Get a summary of current accessibility issues from the latest scan
get_wcag_guideline
Get full WCAG success criterion details for a violation
| Parameter | Type | Description |
|---|---|---|
criterionId * | string | WCAG criterion like '1.1.1' or violation id like 'image-alt' |
suggest_aria_pattern
Suggest ARIA pattern for a component type
| Parameter | Type | Description |
|---|---|---|
componentType * | string | e.g., 'modal', 'tabs', 'menu', 'accordion' |
check_color_contrast
Calculate WCAG contrast ratio and APCA Lc value between two colors and check compliance
| Parameter | Type | Description |
|---|---|---|
background * | string | Background color (hex, rgb, or named) |
foreground * | string | Foreground color (hex, rgb, or named) |
fontSize | number | Font size in pixels (optional, for AA/AAA thresholds) |
isBold | boolean | Whether text is bold (optional) |
scan_accessibility
Run an accessibility scan with ally (axe-core). Use this instead of guessing WCAG issues. Pass a local path or a running URL.
| Parameter | Type | Description |
|---|---|---|
path | string | Directory or file to scan (default: current directory) |
standard | string | WCAG standard tag such as wcag22aa |
url | string | Running page URL to scan instead of files |
fix_accessibility
Apply ally high-confidence accessibility fixes from the latest scan. Prefer dryRun first.
| Parameter | Type | Description |
|---|---|---|
auto | boolean | Apply fixes without prompting (ignored when dryRun is true) |
dryRun | boolean | Preview fixes without writing files (default true) |