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.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取開發者工具

概覽

AI 產生的概覽

透過 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 方案有每日配額。
安裝前請注意
scan_url 與 scan_site 會建立掃描,並非唯讀操作,會消耗方案配額。WCAGC_MCP_KEY 中的 API 金鑰可執行掃描,應避免放入共用設定。託管連接器會綁定單一組織,並將你的 bearer 轉送給 wcagc API。結果本身並不完整,不能作為合規認證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 wcagc — accessibility scanning,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

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:

bash
npx @wcagc/mcp

Configure your MCP client with:

json
{  "mcpServers": {    "wcagc": {      "command": "npx",      "args": ["-y", "@wcagc/mcp"],      "env": {        "WCAGC_MCP_KEY": "<your mcp:scan API key>"      }    }  }}

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:

https://mcp.wcagc.com/mcp

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

ToolPlanWhat it does
scan_urlallScan any public URL, or a registered site for full tracking (Pro+).
check_pdfallRun a PDF/UA-1 structure check on a public PDF.
get_scan · get_findingsallRead a scan_url scan's status, severity counts, and findings — either kind, recorded or one-off.
list_sitesPro+List the account's registered sites.
scan_sitePro+Crawl and scan every reachable page of a registered site.
get_run · get_run_findingsPro+Read a full-site run from scan_site.
get_root_causesPro+Group a run's repeated DOM patterns and return factual element/page blast radius.
run_journeyPro+Replay a saved multi-step journey and check each step.
get_trendsPro+Read a site's violation-count history over time.

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

Env varUsed byMeaning
WCAGC_API_BASE_URLbothThe wcagc API to call. Defaults to https://api.wcagc.com; set it only when self-hosting.
WCAGC_MCP_KEYstdioYour mcp:scan API key.
PORThostedPort to listen on (default 8080).
WCAGC_MCP_ALLOWED_HOSTShostedComma-separated Host-header allowlist (DNS-rebinding protection when bound to 0.0.0.0).
WCAGC_MCP_INTROSPECT_TTL_SECONDShostedHow long a verified bearer is cached before re-checking with the API (default 60).
WCAGC_MCP_OAUTH_ISSUERhostedExpected OAuth issuer (defaults to WCAGC_API_BASE_URL).
WCAGC_MCP_OAUTH_JWKS_URLhostedAuthorization Server public JWKS URL.
WCAGC_MCP_URLhostedCanonical RFC 9728 protected-resource URL (defaults to https://mcp.wcagc.com/mcp).
WCAGC_MCP_JWKS_TTL_SECONDShostedJWKS cache TTL; an unknown kid triggers an immediate refetch.
WCAGC_OPENAI_APPS_CHALLENGEhostedOpenAI Plugins Directory domain-verification token; keep it in the deployment secret store, never in source.

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.

bash
npm installnpm run dev        # hosted, watch modenpm run start:stdio # stdio modenpm run typechecknpm run verify      # node:test against a local fixture API

License

MIT — see LICENSE.

來源:README.md,提交 de6e3ba

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

4
  1. v0.8.0最新Oct 29, 2026
  2. v0.7.5Oct 12, 2026
  3. v0.7.4Oct 7, 2026
  4. v0.7.3Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分