Skip to main content
Glama

A11y Feedback MCP

코딩 및 디자인 에이전트에게 “WCAG를 준수하라”는 단순한 주의 환기가 아니라, 실제 접근성 피드백 루프를 제공합니다.

a11y-feedback-mcp는 Chromium에서 인터페이스를 렌더링하고 axe-core를 실행한 뒤, 모든 Model Context Protocol 클라이언트에 실행 가능한 증거(위반된 규칙, 영향, CSS 선택자, DOM 스니펫, 계산된 스타일, 경계 상자, 수정 단계, 수학적으로 통과하는 대비 후보)를 반환합니다.

Codex 및 Claude Code와 직접 작동합니다. Claude Design의 경우, 권장 워크플로는 Claude Code를 Claude Design의 MCP 서버와 이 서버 양쪽에 연결한 다음, 생성된 HTML 또는 라이브 미리보기를 감사하고 수정 사항을 디자인 워크플로로 다시 보내는 것입니다.

이 도구는 WCAG 인증 서비스가 아닌 자동화된 테스트 보조 도구입니다. 의도적으로 검사가 불완전함을 보고하며, 키보드, 포커스, 스크린 리더, 확대/축소, 동작, 인지, 콘텐츠 품질에 대해서는 사람의 테스트가 필요합니다.

“라이브 피드백”의 의미

flowchart TD
    A["Agent creates or changes UI"] --> B["Render at target viewport"]
    B --> C["Run axe + contrast analysis"]
    C --> D["Return evidence and correction"]
    D --> E["Agent proposes or applies code fix"]
    E --> F["Re-run same audit"]
    F --> G["Human checks incomplete behavior"]

이 서버는 읽기 전용입니다. 프로젝트를 조용히 수정하지 않습니다. 연결된 에이전트는 해당 증거를 사용하여 범위가 정해진 변경을 수행한 다음, 감사를 다시 실행해 이를 검증합니다.

Related MCP server: Accessibility MCP Server

도구

도구

목적

audit_url

렌더링된 공개 또는 로컬 개발 URL을 감사합니다

audit_html

호스팅 전에 생성된 HTML을 감사합니다

audit_file

허용된 프로젝트 루트 내부의 로컬 .html/.htm 파일을 감사합니다

check_contrast

색상 쌍과 텍스트 스타일에 대한 WCAG 대비를 계산합니다

suggest_contrast_fix

통과하는 가장 작은 검정/흰색 방향 색상 조정을 제안합니다

explain_issue

axe 규칙 ID를 구현 및 검증 지침으로 변환합니다

get_wcag_checklist

W3C 링크와 자동/수동 적용 범위가 포함된 전체 A/AA/AAA 기준 세트를 반환합니다

모든 도구는 읽기 전용으로 명시됩니다. 서버는 또한 accessibility-fix-loop 프롬프트를 노출합니다.

표준 프로파일

감사 도구는 wcag2a, wcag2aa, wcag2aaa, wcag21aa, wcag21aaa, wcag22aa, wcag22aaa, best-practice를 지원합니다. AA 프로파일은 필수 A 및 AA 기준을 모두 포함하고, AAA 프로파일은 A, AA, AAA를 포함합니다. W3C가 최신 WCAG 버전을 권장하고 일반적인 정책으로 사이트 전체에 AAA를 요구하는 것에 대해 경고하기 때문에 wcag22aa가 기본값으로 유지됩니다. AAA는 명시적인 향상 목표로 사용하고 기준별 진행 상황을 보고하십시오.

axe 매핑은 부분적인 자동 적용 범위를 의미하며, 완전한 성공 기준이 테스트되었음을 의미하지 않습니다. get_wcag_checklist는 자동화가 완료할 수 없는 수동 작업을 포함하여 WCAG 2.2 AA에 필요한 55개 전체 기준 또는 WCAG 2.2 AAA에 필요한 86개 전체 기준을 제공합니다.

요구 사항

  • Node.js 20 이상

  • Chrome 또는 Edge 권장

  • Windows, macOS, 또는 Linux

서버는 먼저 설치된 Chrome/Edge를 찾습니다. 지원되는 Linux 환경에서는 번들된 @sparticuz/chromium을 대신 사용할 수 있습니다. A11Y_MCP_BROWSER_PATH에 명시적인 브라우저 실행 파일을 설정할 수 있습니다. Chromium 샌드박싱은 기본적으로 활성화된 상태로 유지됩니다. A11Y_MCP_NO_SANDBOX=true는 그렇지 않으면 Chrome을 시작할 수 없는 제한된 컨테이너나 Lambda 스타일 런타임에서만 설정하십시오.

Windows에 설치

프로젝트를 보관하는 폴더에서 PowerShell을 엽니다:

git clone https://github.com/aditya-ariosity/a11y-feedback-mcp.git
cd a11y-feedback-mcp
npm install
npm run build

저장소가 아직 GitHub에 없다면 먼저 이 폴더를 다운로드하거나 복사한 다음, 폴더 안에서 마지막 세 개의 명령을 실행하십시오.

Codex 연결

PowerShell에서 빌드된 진입점의 절대 경로를 사용하십시오:

codex mcp add a11y-feedback -- node "C:\full\path\to\a11y-feedback-mcp\dist\index.js"

또는 동일한 구성을 ~/.codex/config.toml에 추가하십시오:

[mcp_servers.a11y_feedback]
command = "node"
args = ["C:\\full\\path\\to\\a11y-feedback-mcp\\dist\\index.js"]
startup_timeout_sec = 30
tool_timeout_sec = 90

[mcp_servers.a11y_feedback.env]
A11Y_MCP_ALLOWED_ROOT = "C:\\full\\path\\to\\your-projects"

Codex를 다시 시작한 다음 요청하십시오:

이 페이지를 1440×900 및 390×844에서 감사하세요. 치명적(critical) 및 심각한(serious) 문제를 수정하고, 두 감사를 다시 실행한 다음, 남은 수동 검사를 나열하세요.

검증 및 문제 해결은 docs/codex.md를 참조하십시오.

Claude Code 연결

claude mcp add --scope user a11y-feedback -- node "C:\full\path\to\a11y-feedback-mcp\dist\index.js"

연결을 확인하려면 claude mcp list를 실행하십시오. Claude Design 브리지 워크플로는 docs/claude-code-and-design.md를 참조하십시오.

개발

npm install
npm run check
npm test
npm run test:e2e
npm run build

npm test는 색상 계산, 네트워크 보호, 수정 및 MCP 계약을 다룹니다. npm run test:e2e는 Chromium을 시작하여 의도적으로 접근할 수 없게 만든 픽스처를 감사합니다.

로컬 stdio 서버를 시작합니다:

npm run dev

선택적 Streamable HTTP 전송을 시작합니다:

npm run build
npm run start:http

엔드포인트는 http://127.0.0.1:3000/mcp이고, 상태 확인은 http://127.0.0.1:3000/health입니다. HTTP는 기본적으로 127.0.0.1에 바인딩됩니다.

환경 변수

변수

기본값

의미

A11Y_MCP_BROWSER_PATH

자동 감지

Chrome/Chromium/Edge 실행 파일의 절대 경로

A11Y_MCP_ALLOWED_ROOT

서버 작업 디렉터리

이 루트 아래의 로컬 HTML만 감사할 수 있음

A11Y_MCP_ALLOW_PRIVATE

stdio에서 true, HTTP에서 false

localhost/사설망 URL 대상 허용

A11Y_MCP_ENABLE_FILE_AUDIT

HTTP에서 false

루트 제한 후 HTTP를 통한 로컬 파일 감사 허용

A11Y_MCP_BROWSER_CONCURRENCY

2

최대 동시 Chromium 감사 수

A11Y_MCP_AUDIT_TIMEOUT_MS

25000

axe 감사 단계의 마감 시간

A11Y_MCP_NO_SANDBOX

false

런타임이 요구하는 경우에만 샌드박스 없이 Chromium 실행

HOST / A11Y_MCP_HOST

127.0.0.1

HTTP 바인딩 주소

A11Y_MCP_ALLOWED_HOSTS

Localhost 이름

HTTP 모드에서 허용되는 쉼표로 구분된 Host 헤더

A11Y_MCP_BODY_LIMIT

4mb

HTTP JSON 본문 크기 제한; audit_html 스키마 제한보다 커야 함

PORT

3000

HTTP 전송 포트

참조 HTTP 서버를 공개 인터넷에 직접 노출하지 마십시오. 인증, TLS, 속도 제한, 요청 크기 제한, 테넌트 격리를 그 앞에 배치하십시오. docs/security.md를 참조하십시오.

현재 범위

MVP는 렌더링된 웹 UI와 결정적 대비 계산을 다룹니다. 아직 네이티브 모바일 앱, PDF, 캔버스, 동영상 자막 또는 원시 Claude Design 픽셀은 검사하지 않습니다. 계획된 어댑터는 MCP 계약을 변경하지 않고 프레임워크 인식 패치, 스크린샷/OCR 지원, 디자인 토큰 통합, CI 주석, 일급 디자인 캔버스 커넥터를 추가할 수 있습니다.

프로젝트 문서

라이선스

MIT

Available Tools

7 tools
audit_fileAudit a local HTML fileA
Read-onlyIdempotent

Render a local .html or .htm file beneath the configured allowed root and return accessibility findings and corrections. Read-only.

Inputs: filePath (required), width, height, standard, +2 more.

audit_htmlAudit an HTML documentA
Read-onlyIdempotent

Render supplied HTML in an isolated headless browser and return WCAG findings plus evidence and suggested corrections. Use for generated UI before it is hosted. Read-only.

Inputs: html (required), width, height, baseUrl, +3 more.

audit_urlAudit a rendered URLA
Read-onlyIdempotent

Load a public or local web page in headless Chromium, run axe-core, and return prioritized WCAG findings, DOM evidence, computed styles, and contrast corrections. Read-only.

Inputs: url (required), width, height, standard, +2 more.

check_contrastCheck a color pairA
Read-onlyIdempotent

Calculate the WCAG contrast ratio for foreground and background colors and determine whether the pair passes for the supplied text size and weight.

Inputs: background (required), foreground (required), level, fontSizePx, +1 more.

explain_issueExplain an accessibility ruleA
Read-onlyIdempotent

Return implementation-focused remediation steps and the axe rule reference for a rule ID found in an audit.

Inputs: ruleId (required).

get_wcag_checklistGet the complete WCAG requirement checklistA
Read-onlyIdempotent

Return every success criterion required by a WCAG 2.0, 2.1, or 2.2 A/AA/AAA profile, with W3C references, axe rule mappings, and explicit automated-partial versus manual coverage. Use this to plan the checks that a browser audit cannot complete.

Inputs: standard, principle, evaluation.

suggest_contrast_fixSuggest a passing colorA
Read-onlyIdempotent

Find the nearest black-or-white-directed foreground or background adjustment that reaches the selected WCAG contrast threshold. Returns a mathematical candidate, not an automatic edit.

Inputs: background (required), foreground (required), level, adjust, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a clear and distinct task: three different methods for auditing (by URL, HTML string, or file), a contrast checker, a contrast fix suggester, an issue explainer, and a checklist retriever. There is no overlap or ambiguity among them.

    Naming Consistency4/5

    Tool names mostly follow a verb_noun pattern (audit_url, audit_html, audit_file, check_contrast, explain_issue, get_wcag_checklist). The only minor deviation is 'suggest_contrast_fix', which is a verb_verb_noun but still clear and consistent in style.

    Tool Count5/5

    7 tools is an ideal number for this domain. Each tool covers a necessary function without unnecessary redundancy: three audit entry points, two contrast helpers, one explainer, and one checklist reference. The scope is well-scoped and focused on WCAG accessibility.

    Completeness5/5

    The tool set provides a complete lifecycle for accessibility auditing: multiple ways to ingest content for auditing, contrast analysis and remediation, issue explanation, and a checklist for manual coverage. There are no obvious gaps for the intended use case of assessing and fixing WCAG compliance.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers