wcagc — accessibility scanning

v0.8.0
io.github.WCAG-Compliance/mcp Checked 16 hours ago Published 1 month ago

Deterministic axe-core accessibility scans (WCAG 2.1 AA, EN 301 549, PDF/UA) via your account.

Values you need

VariableWhat it is
WCAGC_MCP_KEYrequired secret A wcagc API key with the mcp:scan scope. Mint one under Settings -> API keys; every plan can, with a daily quota on Free and Starter.
WCAGC_API_BASE_URLoptional The wcagc API to call. Defaults to the hosted API; override only for a self-hosted deployment.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp -e 'WCAGC_MCP_KEY=<WCAGC_MCP_KEY>' -- npx -y --package=@wcagc/mcp@0.8.0 wcagc-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@wcagc/mcp@0.8.0",
        "wcagc-mcp"
      ],
      "command": "npx",
      "env": {
        "WCAGC_MCP_KEY": "<WCAGC_MCP_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@wcagc/mcp@0.8.0",
        "wcagc-mcp"
      ],
      "command": "npx",
      "env": {
        "WCAGC_MCP_KEY": "<WCAGC_MCP_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "WCAGC_MCP_KEY",
      "id": "wcagc-mcp-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@wcagc/mcp@0.8.0",
        "wcagc-mcp"
      ],
      "command": "npx",
      "env": {
        "WCAGC_MCP_KEY": "${input:wcagc-mcp-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@wcagc/mcp@0.8.0", "wcagc-mcp"]
env = { "WCAGC_MCP_KEY" = "<WCAGC_MCP_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp https://mcp.wcagc.com/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.wcagc.com/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.wcagc.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.wcagc.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.wcagc.com/mcp"]

For AI agents

  1. Ask the user for: WCAGC_MCP_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: scan_url, get_scan, get_findings, check_pdf, get_pdf_check, list_sites, scan_site, get_run, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json