Prerequisites
Before installing AccessibilityHub, ensure you have:Node.js ≥ 20
Chrome/Chromium
Automatically downloaded by Puppeteer on first run.No manual installation needed.
Package Installation
Choose your preferred installation method:- npx (Recommended)
- npm
- pnpm
- Local Development
Run AccessibilityHub without installing:The
-y flag automatically accepts the prompt to download and run the package.MCP Client Configuration
Configure your preferred MCP client to use AccessibilityHub. All configurations usenpx to ensure you always have the latest version.
Claude Desktop
Add AccessibilityHub to your Claude Desktop configuration file:Locate configuration file
Find your configuration file based on your platform:
| Platform | Configuration Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Edit configuration
Add the following to your config file:If you already have other MCP servers, add
accessibility-hub to the existing mcpServers object.Optional: Environment Variables
Configure logging level:Cursor
- One-Click Install
- Manual Install
Windsurf
Claude Code (CLI)
Add the server using the Claude CLI:accessibility-hub in the list of servers.
Local Development Configuration
For testing local changes or contributing to AccessibilityHub:Point to local build
Update your MCP client config to use the local build:Replace
/absolute/path/to/A-I-ccesibility with your actual path.Environment Variables
Configure server behavior with environment variables:| Variable | Description | Default | Options |
|---|---|---|---|
LOG_LEVEL | Logging verbosity | info | debug, info, warn, error |
Example with Debug Logging
Verify Installation
After configuring your MCP client:Restart your MCP client
Completely quit and restart your MCP client (Claude Desktop, Cursor, Windsurf, etc.). A simple reload is not sufficient.
Check available tools
Ask the AI assistant:You should see:
analyze-with-axeanalyze-with-pa11yanalyze-with-lighthouseanalyze-contrastanalyze-mixed
On first run, Puppeteer will automatically download Chrome/Chromium. This may take a few minutes and requires an internet connection.
Troubleshooting
Server not starting
Server not starting
Check Node.js version:Must be ≥ 20.0.0Verify npx can find the package:Check JSON syntax:
Use a JSON validator to verify your config file has valid syntax.Review client logs:
- Claude Desktop: Check
~/Library/Logs/Claude/(macOS) or equivalent - Cursor: Check the output panel
- CLI: Errors are shown directly
Chrome/Puppeteer issues
Chrome/Puppeteer issues
First run download:
Puppeteer automatically downloads Chrome on first run. This may take 2-5 minutes.Linux dependencies:
On Linux servers, install required libraries:Behind a proxy:
If behind a proxy, set environment variable and install Chrome manually:Headless mode issues:
Chrome runs in headless mode by default. If you encounter issues, check that your system supports headless Chrome.
Permission errors
Permission errors
Global npm install on macOS/Linux:Alternative - configure npm for user directory:Use npx instead:
The npx approach requires no global installation and avoids permission issues entirely.
Tools not appearing in client
Tools not appearing in client
Restart completely:
Make sure you completely quit and restart your MCP client, not just reload.Check server status:
Look for AccessibilityHub in your client’s MCP servers list.Try explicit tool call:
Ask: “Use the analyze-with-axe tool to analyze https://example.com”Check connection logs:
Look for connection errors in your client’s logs or output panel.
Version conflicts
Version conflicts
Using npx:
npx always fetches the latest version. No action needed.Global install:
Update to the latest version:Check current version:
Platform-Specific Notes
- macOS
- Windows
- Linux
- WSL (Windows Subsystem for Linux)
No special requirements - works out of the box after Node.js installation.Global npm installs may require
sudo or npm configuration for user directory.Recommended: Use npx to avoid permission issues.Next Steps
Quick Start
Get started with your first analysis
MCP Client Setup
Detailed setup for each MCP client
Workflows
Recommended workflows for common tasks
Troubleshooting
Understanding and acting on results