mcp-a11y
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITHUB_TOKEN | No | Used only by open_pr | |
| A11Y_TARGET_REPO | No | STRICT guardrail: the only repo open_pr will touch, format owner/repo | |
| ANTHROPIC_API_KEY | No | Used only by generate_alt_text | |
| A11Y_ALT_TEXT_MODEL | No | Optional, defaults to Haiku | claude-haiku-4-5 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pingA | Health check. Returns 'pong', optionally echoing a message. |
| audit_pageA | Audit a web page against WCAG rules with axe-core (Playwright headless Chromium). 100% deterministic detection - no LLM. Returns structured violations with selectors and colors. |
| fix_contrastA | Compute the closest WCAG-compliant foreground color for a fg/bg pair (AA 4.5:1 normal text). Deterministic - no LLM. |
| simple_fixesB | Apply deterministic structural fixes to HTML: missing lang, missing title, unlabeled form controls. Returns the patched HTML and the list of fixes. No LLM. |
| generate_alt_textA | Describe an image for an HTML alt attribute using a vision model. The ONLY LLM-backed tool. Provide either |
| generate_reportA | Build a self-contained before/after HTML accessibility report from an audit and applied fixes. No LLM. Returns the HTML string. |
| open_prB | Open a mergeable PR with the remediated files. STRICT GUARDRAIL: only ever operates on the repo configured in A11Y_TARGET_REPO - never an arbitrary repo. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/P4ST4S/mcp-a11y'
If you have feedback or need assistance with the MCP directory API, please join our Discord server