Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GITHUB_TOKENNoUsed only by open_pr
A11Y_TARGET_REPONoSTRICT guardrail: the only repo open_pr will touch, format owner/repo
ANTHROPIC_API_KEYNoUsed only by generate_alt_text
A11Y_ALT_TEXT_MODELNoOptional, defaults to Haikuclaude-haiku-4-5

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 imageUrl, or selector + pageUrl to locate an on a page.

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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