Labsco
bilhasry-deriv logo

Web Accessibility MCP Server

โ˜… 4

from bilhasry-deriv

An MCP server that provides web accessibility analysis capabilities using axe-core and Puppeteer.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

MseeP.ai Security Assessment Badge

Web Accessibility MCP Server

smithery badge

An MCP (Model Context Protocol) server that provides web accessibility analysis capabilities using axe-core and Puppeteer.

Web Accessibility Server MCP server

Features

  • Analyze web accessibility of any URL using axe-core
  • Simulate color blindness (protanopia, deuteranopia, tritanopia) using color matrices
  • Detailed reporting of accessibility violations
  • Support for custom user agents and selectors
  • Debug logging for troubleshooting
  • Comprehensive accessibility checks based on WCAG guidelines

Development

Project Structure

mcp-web-a11y/
โ”œโ”€โ”€ src/
โ”‚   โ””โ”€โ”€ index.ts    # Main server implementation
โ”œโ”€โ”€ build/          # Compiled JavaScript
โ”œโ”€โ”€ output/         # Generated screenshots
โ”œโ”€โ”€ package.json    # Project dependencies and scripts
โ””โ”€โ”€ tsconfig.json   # TypeScript configuration

Building

npm run build

This will:

  1. Compile TypeScript to JavaScript
  2. Make the output file executable
  3. Place the compiled files in the build directory

Debugging

The server includes detailed debug logging that can be observed in the console output. This includes:

  • Network requests and responses
  • Page loading status
  • Selector waiting status
  • Any console messages from the analyzed page
  • Color simulation progress