
Accessibility Agents
io.github.Community-Access由 GitHub 账号 Community-Access 发布v7.1.0更新于 Oct 29, 2026
WCAG 2.2 scanners for web pages, Office, PDF, ePub and Markdown: contrast, axe, veraPDF and more.
概览
无障碍扫描 MCP 服务器,让助手按 WCAG 2.2 与 PDF/UA 规则检查网页、Office 文档、PDF、ePub 和 Markdown。
- 可以做什么
- 检查颜色对比度、标题层级、链接文字和表单标签是否符合 WCAG 指南
- 扫描及批量扫描 Office、PDF、ePub、Markdown 文档,提取元数据并修复文档元数据或标题结构
- 对在线网址运行浏览器扫描:axe-core、无障碍树、键盘导航、对比度与视口重排
- 用 veraPDF 深度校验 PDF,并把 PDF 表单转换为无障碍 HTML
- 将 Markdown、HTML 或 DOCX 文件上传到远程 GLOW 服务进行审计、修复、转换和生成报告
- 读取 WCAG 参考资源,使用审计、组件和准则讲解提示模板,并维护审计缓存
- 适用场景
- 适合需要审计或修复文档与网页无障碍问题的场景,例如检查 PDF 或 Word 文件是否符合 PDF/UA 或 WCAG,或在开发中对网站运行 axe-core 与键盘操作检查。
- 运行要求
- 以 stdio 方式在本机运行,可通过 npx 或打包入口启动,需要 Node.js LTS(22、24 或 26)。可选功能需额外安装:浏览器扫描需 playwright、@axe-core/playwright 与 Chromium,表单转换需 pdf-lib,深度 PDF 校验需 veraPDF 命令行工具及 Java 11 以上。HTTP 模式需 npm install,并使用 PORT、A11Y_MCP_HOST、A11Y_MCP_STATELESS。
安装
在 SourceWeft 中
- 打开 控制台中的 Accessibility Agents,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
A11y Agent Team MCP Server
MCP (Model Context Protocol) server that provides 39 accessibility scanning tools over Streamable HTTP or stdio. Works with Claude Code, Claude Desktop, VS Code, the Copilot CLI and any MCP-compatible client. It is built on @modelcontextprotocol/sdk 1.32.2 and implements what that SDK provides (protocol revisions up to 2025-11-25); see the MCP standards page for where it stands against 2026-07-28.
In this repository, the MCP server lives in the top-level mcp-server/ directory. The main entry points are server.js (HTTP) and stdio.js (stdio).
What Works Out Of The Box
The MCP server is the executable part of document scanning. The skills (for PDF, pdf-accessibility and pdf-scan-config under skills/) tell the model when to scan; this server provides the actual scan_pdf_document tool.
A plugin install launches dist/stdio.mjs, a single esbuild bundle of the stdio server and its dependencies, so it starts with no npm install (mcp.json, and mcpServers in .claude-plugin/plugin.json). Playwright, @axe-core/playwright and pdf-lib are left out of the bundle and stay optional; the tools that need them say how to install them. Run npm install in this folder only for the HTTP server (server.js) or to work on the source.
If you change the server's source, run npm run build here and commit the rebuilt dist/stdio.mjs: the bundle gate in npm run verify fails when the committed bundle differs from a fresh build.
Architecture
The server supports two transport modes:
Both modes share the same tool implementations via server-core.js.
Quick Start
Before you start, make sure node --version reports a supported Node.js LTS line (26, 24 or 22) and that npm is available. The repository installer does not install Node.js; get it from https://nodejs.org/en/download.
From npm, with no checkout (from 7.1.0, once published as
@community-access/accessibility-agents-mcp; also listed in the MCP Registry
as io.github.Community-Access/accessibility-agents):
The npm package is the stdio bundle alone. The browser and PDF form tools need
their optional packages in the same node_modules, so for those install the
server into a folder with them and run it from there:
npm install @community-access/accessibility-agents-mcp playwright @axe-core/playwright pdf-lib,
npx playwright install chromium, then npx accessibility-agents-mcp.
For a PDF-only walkthrough, see PDF-QUICKSTART.md.
Prerequisite Matrix
Each class, with requirement, needed for and required.
Python is not required to run the MCP server or to install the package.
Local Vs Shared Server
You can run this MCP server either locally on your own machine or as a shared HTTP service.
For most users, start locally first. The default HTTP binding is 127.0.0.1, so it is not exposed to the network unless you deliberately change the host.
Configuration
Each environment variable, with its default and description.
Stateful vs Stateless
- Stateful (default): Sessions persist across requests (
Mcp-Session-Id), and a GET request opens a server-sent event stream for that session. Best for interactive use. The 2026-07-28 MCP revision removes sessions and the GET endpoint; this mode follows the SDK. - Stateless: Each request creates a fresh server instance. No sessions, POST only. Best for CI/CD and serverless deployments.
Client Configuration
Claude Desktop (claude_desktop_config.json)
Claude Desktop starts local servers from claude_desktop_config.json (Settings, Developer, Edit Config), using stdio:
Remote HTTP servers are added in Claude Desktop as custom connectors rather than in this file; see https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp.
Claude Code
The plugin registers the server for you. Without the plugin:
VS Code (.vscode/mcp.json)
Using GLOW Bridge Tools
The GLOW bridge tools are part of this MCP server. You do not register a second MCP server for GLOW.
Default behavior
- The bridge targets
https://letitglow.app/mcpby default. - You can call
glow_health_checkimmediately after starting this server.
Use a different GLOW endpoint
Option 1: set server environment variable before startup:
Option 2: pass baseUrl per tool call (for one-off testing):
glow_health_checkwithbaseUrlglow_audit_documentwithbaseUrlglow_fix_documentwithbaseUrlglow_convert_documentwithbaseUrlglow_generate_reportwithbaseUrl
Example prompts after connection
Run glow_health_checkAudit ./docs/sample.md with glow_audit_document using format markdownConvert ./docs/sample.md from markdown to html with glow_convert_documentGenerate an html report for ./docs/sample.md with glow_generate_report
PDF-Only Quick Start
If your immediate goal is only PDF accessibility scanning, this is the smallest working path:
- Install a Node.js LTS release (26, 24 or 22).
- Open this folder:
mcp-server/ - Run
npm install - Start the server with
npm start - Point your MCP client at
http://127.0.0.1:3100/mcp - Install the skills (see Getting started) if you want the guided PDF workflow in chat
Minimum files for the MCP side:
package.jsonserver.jsserver-core.jsstdio.jstools/
If you also want the chat workflow layer, add:
- the
pdf-accessibilityandpdf-scan-configskills (skills/pdf-accessibility/,skills/pdf-scan-config/), installed with the rest of the package templates/pdf-config-moderate.jsoncopied to your project as.a11y-pdf-config.json(optional)
Available Tools
Core Tools
Each tool, with its description.
Document Tools
Each tool, with its description.
GLOW Bridge Tools
Each tool, with its description.
Advanced Tools (Optional Dependencies)
Each tool, with its requires and description.
Markdown Tools
Each tool, with its description.
Caching Tools
Each tool, with its description.
Installing Optional Dependencies
Actionable veraPDF Setup
veraPDF is optional. The built-in scan_pdf_document tool works without it. Install veraPDF when you need deeper PDF/UA validation than the built-in heuristic scan provides.
What veraPDF is for
- Validate PDF/UA conformance more deeply than the built-in scanner
- Confirm structure and metadata issues against a dedicated PDF validator
- Use as a second pass after baseline scanning
What veraPDF is not for
- It is not required for baseline PDF scanning
- It is not the primary remediation workflow in this repository
- Do not assume
verapdf --fixis part of the supported workflow here
Install veraPDF
veraPDF requires Java 11 or later.
Windows
Install Java first if it is not already present:
Then install veraPDF using Chocolatey if available:
If Chocolatey is not part of your environment, use the manual installer from https://docs.verapdf.org/install/.
macOS
Manual download
Download from https://docs.verapdf.org/install/ and make sure verapdf is available on your PATH.
Verify veraPDF
On Windows, restart your terminal or editor after installing Java or veraPDF so the updated PATH is picked up.
Use veraPDF directly
Use veraPDF through this MCP server
Once the server is running and veraPDF is installed on the same machine, an MCP client can call run_verapdf_scan.
Example natural-language requests:
Run a deep PDF/UA scan on report.pdf using veraPDFValidate brochure.pdf with veraPDF and summarize the failures
The tool will return installation guidance if verapdf is not installed.
For more background, see veraPDF integration.
Health Check
MCP Prompts
Pre-built prompt templates that guide the model through accessibility workflows.
MCP Resources
Read-only data endpoints for accessibility reference material. The two with a {...} parameter are resource templates: a client lists or completes them and reads a concrete address such as a11y://guidelines/modal.
Security
- Path traversal prevention: File operations validate paths against home directory and CWD boundaries (CWE-22)
- Symlink resolution: Write operations resolve symlinks to prevent escape (CWE-59)
- SSRF protection: URL-based tools validate schemes (http/https only)
- Command injection prevention: External commands use
execFile(notexec) with argument arrays - File size limits: Documents capped at 100 MB, batch operations at 50 files
- Local binding: Server binds to
127.0.0.1by default (not exposed to network)
Deployment
Docker
Systemd
License
MIT. See LICENSE in the repository root.
来源:mcp-server/README.md,提交 7597f1a
工具
0版本历史
1- v7.1.0最新Oct 29, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分

