Cursor A11y MCP
Cursor A11y MCP
Un servidor de Protocolo de Contexto de Modelo (MCP) que proporciona capacidades de pruebas de accesibilidad a agentes de IA. Esta herramienta ayuda a identificar problemas de accesibilidad en aplicaciones web mediante Axe-Core y Puppeteer.
Características
Ejecute pruebas de accesibilidad en cualquier URL o servidor de desarrollo local
Desarrollado por axe-core para pruebas de accesibilidad integrales
Proporciona informes detallados de violaciones que incluyen:
Nivel de impacto
Descripción del problema
Texto de ayuda y enlaces a la documentación
Elementos HTML afectados
Resúmenes de fallos
Related MCP server: Web Accessibility MCP Server
Estructura del proyecto
src/- Código fuente para el servidor MCP y la herramienta de pruebas de accesibilidadtest-site/- Una aplicación React con problemas de accesibilidad intencionales para realizar pruebasbuild/- Versión compilada del código fuente
Instalación
npm installLuego instale las dependencias del sitio de prueba:
cd test-site
npm install
cd ..Uso
Iniciar el servidor MCP
npm run build
npm startEjecución del sitio de prueba
npm run start:test-siteEl sitio de prueba estará disponible en http://localhost:5000 .
Ejecución de pruebas de accesibilidad
La herramienta acepta dos tipos de entradas:
Una URL completa para probar
Una ruta relativa que se agregará a
http://localhost:5000
Dependencias
@modelcontextprotocol/sdk: ^1.4.1puppeteer: ^24.1.1zod: ^3.24.1
Dependencias del sitio de prueba
react: ^18.2.0react-dom: ^18.2.0react-scripts: 5.0.1
Desarrollo
Realizar cambios en el código fuente en el directorio
src/Ejecute
npm run buildpara compilar los cambiosInicie el servidor con
npm start
Configuración en Cursor
Para agregar esta herramienta de prueba de accesibilidad a la configuración del servidor MCP de Cursor:
Abrir la configuración del cursor (⌘ + ,)
Vaya a "Características" > "Servidores MCP".
Agregue un nuevo servidor MCP con la siguiente configuración:
Nombre:
a11ySeleccione
commanddel menú desplegableComando:
node path/to/cursor-a11y-mcp/index/file/in/build/folder(Reemplacepath/to/cursor-a11y-mcp/index/file/in/build/foldercon la ruta absoluta a su archivo index.js en la carpeta de compilación).
Haga clic
AddLa herramienta de pruebas de accesibilidad ahora estará disponible en Cursor Composer
Uso en Composer
Para utilizar la herramienta de pruebas de accesibilidad en Cursor's Composer:
Ejecuta en tu terminal:
npm run start:test-siteEsto iniciará el sitio de prueba en http://localhost:5000
En el Compositor del cursor, escriba
use a11y toolComposer le solicitará que ejecute la herramienta
Después de ejecutar la herramienta, verá las violaciones de accesibilidad en la respuesta y las acciones del código para corregirlas.
Es posible que el Compositor le solicite que utilice la herramienta nuevamente para confirmar que se hayan corregido las infracciones.
Licencia
Este proyecto está licenciado bajo la licencia MIT: consulte el archivo de LICENCIA para obtener más detalles.
Versión
Versión actual: 2.0.1
Available Tools
1 toola11yB
Run accessibility tests on a URL or a local path (relative URL appended to http://localhost:5000).
Inputs: relativePath, url.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool 'a11y' has a clear and distinct purpose focused on accessibility testing.
Since there is only one tool, naming consistency is inherently perfect. The tool name 'a11y' is concise and descriptive, and there are no other tools to compare it against for consistency.
A single tool is too few for a server named 'Cursor A11y MCP', which suggests a broader accessibility domain. While the tool is functional, the set lacks coverage for other common accessibility tasks like reporting, fixing issues, or checking compliance, making it feel thin and incomplete.
The tool surface is severely incomplete for an accessibility domain. It only provides testing on URLs or local paths, missing essential operations such as generating reports, analyzing results, fixing issues, or supporting different accessibility standards, which will limit agent effectiveness.
Maintenance
Related MCP Connectors
Scan URLs or HTML for WCAG 2.2 violations. 75-rule manifest, weighted score, shareable reports.
Deterministic axe-core accessibility scans (WCAG 2.1 AA, EN 301 549, PDF/UA) via your account.
Free WCAG 2.2/ADA/508 accessibility MCP: scan, AI fixes, verify, vision audit, localhost tunnel
Run WCAG accessibility scans on websites, list each issue with its element, and triage from chat.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables automated web accessibility scans for WCAG compliance using Playwright and Axe-core, providing visual and JSON reports with remediation guidance.254,102 npm59MIT
- AlicenseBqualityDmaintenanceProvides web accessibility analysis and color blindness simulation using axe-core and Puppeteer, enabling detailed accessibility checks and visual simulations based on WCAG guidelines.24MIT
- AlicenseAqualityDmaintenanceEnables accessibility testing of websites and HTML content using axe-core and IBM Equal Access engines. Supports WCAG compliance checking, multi-viewport testing, and provides detailed violation reports with remediation guidance.51MIT
- AlicenseAqualityDmaintenanceEnables comprehensive WCAG 2.0/2.1 accessibility testing of web applications using Playwright and axe-core. Supports natural language element finding, auto-discovery of interactive components, and generates detailed compliance reports with screenshots.2ISC