
wcagc — accessibility scanning
io.github.WCAG-Compliance由 GitHub 账号 WCAG-Compliance 发布v0.8.0更新于 Oct 29, 2026
Deterministic axe-core accessibility scans (WCAG 2.1 AA, EN 301 549, PDF/UA) via your account.
概览
通过 wcagc 账户运行确定性的 axe-core 无障碍扫描(WCAG 2.1 AA、EN 301 549、PDF/UA),并读取问题、站点运行与趋势。
- 可以做什么
- 扫描公开网址或已注册站点,并对公开 PDF 执行 PDF/UA-1 结构检查
- 读取扫描状态、严重程度统计与问题清单,适用于记录型与一次性扫描
- 列出已注册站点,并爬取扫描其中站点的所有可达页面(Pro 及以上)
- 读取整站运行结果、将重复 DOM 模式归并为根因、回放已保存的多步骤流程并查看违规趋势(Pro 及以上)
- 每次扫描结果都附带覆盖范围免责声明,不给出评分或合规结论
- 适用场景
- 适合让助手用真实的自动化工具而非模型猜测来检查网页或 PDF 的无障碍问题,并从已有的 wcagc 账户中获取问题、根因或趋势。适用于开展 WCAG 或 EN 301 549 审查、并理解自动化检查只能覆盖部分问题的团队。
- 运行要求
- 可使用托管远程端点并通过托管 OAuth 登录,或通过 npx @wcagc/mcp 以 stdio 在本地运行。本地与 CI 使用需要在 WCAGC_MCP_KEY 中提供具备 mcp:scan 权限的 wcagc API 密钥;WCAGC_API_BASE_URL 仅用于自托管。部分工具需要 Pro 或更高套餐,Free/Starter 套餐有每日配额。
安装
在 SourceWeft 中
- 打开 控制台中的 wcagc — accessibility scanning,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.WCAG-Compliance%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"wcagc-accessibility-scanning": {
"type": "http",
"url": "https://mcp.wcagc.com/mcp"
}
}
}README
wcagc-mcp
[WCAG-Compliance/wcagc-mcp MCP server] [smithery badge]
An MCP server that lets an AI assistant (Claude, ChatGPT, or any MCP-compatible client) run real, deterministic accessibility scans through wcagc — axe-core under the hood, not an LLM guess. Every scan result carries an explicit coverage disclaimer and never claims "compliant": automated testing finds only a portion of accessibility barriers, and this tool says so in every response.
This package is a thin, stateless adapter. It holds no database, no scan logic, and no secrets beyond the wcagc API base URL — it translates MCP tool calls into HTTP calls against the wcagc API and forwards the caller's own bearer. All authentication, entitlements, quotas, and scan orchestration live in the API; this code is safe to read end to end.
Two ways to run it
Local (stdio) — for Claude Desktop, Cursor, or any MCP client that spawns a local process:
Configure your MCP client with:
Mint an mcp:scan key from your wcagc account under Settings → API keys — available on every
plan, with a daily quota on Free/Starter and unlimited on Pro/Agency.
Hosted (Streamable HTTP + managed OAuth) — what Claude web/desktop/mobile connectors and ChatGPT use, since neither runs a local process for you. Add this remote MCP connector:
The client discovers /.well-known/oauth-protected-resource/mcp, opens the wcagc login/consent
flow, and binds the connection to one Organization. No key copy/paste is required. API-key bearer
authentication remains supported for local stdio and CI.
ChatGPT availability depends on the ChatGPT plan and on whether the client permits action tools;
scan_url creates a scan and is not a read-only operation. See
wcagc.com/integrations/mcp.
Tools
One id, one poll tool: whatever scan_url did with a URL, get_scan and get_findings read it
back. get_run and get_run_findings are only for full-site runs from scan_site.
Every scan-producing tool returns the coverage disclaimer in both the text content and the structured content. There is no score, grade, or conformance verdict — automated testing finds roughly 30–57% of accessibility issues, and the remainder needs manual review.
Configuration
Development
Hosted HTTP requests to /mcp and discovery endpoints produce JSON logs with a generated
request ID, HTTP status, MCP method, error code and duration. Tokens, headers, query strings,
tool arguments and results are excluded. Health probes are not logged.
The Docker entrypoint preloads the New Relic ESM agent. Set NEW_RELIC_AGENT_ENABLED=true,
NEW_RELIC_APP_NAME=wcagc-mcp and the deployment secret NEW_RELIC_LICENSE_KEY to enable
APM and forwarding of these safe request logs. The license key must belong to the existing
New Relic account; never commit it. The stdio entrypoint does not load the agent.
License
MIT — see LICENSE.
来源:README.md,提交 de6e3ba
工具
0版本历史
4- v0.8.0最新Oct 29, 2026
- v0.7.5Oct 12, 2026
- v0.7.4Oct 7, 2026
- v0.7.3Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分