{"id":33314492,"url":"https://github.com/vinnyang/axe-scanner-mcp","last_synced_at":"2026-05-06T09:42:54.442Z","repository":{"id":325005927,"uuid":"1099321491","full_name":"vinnyang/axe-scanner-mcp","owner":"vinnyang","description":"A standalone Model Context Protocol server that runs axe accessibility scans for a supplied URL using Playwright.","archived":false,"fork":false,"pushed_at":"2025-11-19T02:33:13.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-19T04:16:21.287Z","etag":null,"topics":["a11y","axe","axe-core","mcp","mcp-server","playwright","typescript","web-accessibility-tool"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vinnyang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-18T21:12:56.000Z","updated_at":"2025-11-19T02:35:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/vinnyang/axe-scanner-mcp","commit_stats":null,"previous_names":["vinnyang/axe-scanner-mcp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/vinnyang/axe-scanner-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinnyang%2Faxe-scanner-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinnyang%2Faxe-scanner-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinnyang%2Faxe-scanner-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinnyang%2Faxe-scanner-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinnyang","download_url":"https://codeload.github.com/vinnyang/axe-scanner-mcp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinnyang%2Faxe-scanner-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285240542,"owners_count":27137943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-19T02:00:05.673Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["a11y","axe","axe-core","mcp","mcp-server","playwright","typescript","web-accessibility-tool"],"created_at":"2025-11-19T12:00:46.007Z","updated_at":"2026-05-06T09:42:54.434Z","avatar_url":"https://github.com/vinnyang.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Axe Scanner MCP Server [![smithery badge](https://smithery.ai/badge/@vinnyang/axe-scanner-mcp)](https://smithery.ai/server/@vinnyang/axe-scanner-mcp)\n\nA standalone Model Context Protocol server that runs axe accessibility scans for a supplied URL using Playwright.\n\n\n## Screenshot\n![Screenshot 2025-11-18 at 16 07 24](https://github.com/user-attachments/assets/9f3a8677-1c46-4f35-b608-dcd604114ec1)\n\n## Prerequisites\n\n- Node.js 18 or newer\n- Playwright browsers (`npx playwright install`), plus system dependencies if required (`npx playwright install --with-deps` on macOS/Linux)\n\n## Installation\n\n```bash\nnpm install\nnpm run build\n```\n\n## Setting up with MCP Clients\n\nThis configuration works with all MCP-compatible clients (Claude Desktop, Cursor, etc.). Add the following to your MCP client configuration:\n\n**Using node:**\n\n```json\n{\n  \"mcpServers\": {\n    \"axe-scanner-mcp\": {\n      \"command\": \"node\",\n      \"args\": [\"/absolute/path/to/axe-scanner-mcp/dist/index.js\"]\n    }\n  }\n}\n```\n\n**Using npx:**\n\n```json\n{\n  \"mcpServers\": {\n    \"axe-scanner-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"/absolute/path/to/axe-scanner-mcp\"]\n    }\n  }\n}\n```\n\n**Note:**\n- Use absolute paths in your configuration\n- Configuration file locations:\n  - **Claude Desktop (macOS):** `~/Library/Application Support/Claude/claude_desktop_config.json`\n  - **Claude Desktop (Windows):** `%APPDATA%\\Claude\\claude_desktop_config.json`\n  - **Cursor:** Settings → Features → Model Context Protocol\n- Restart your MCP client after adding the server configuration\n\n## Usage\n\n### Running the MCP Server\n\nYou can run the server in several ways:\n\n**Using npm scripts (recommended for development):**\n\n```bash\nnpm start\n```\n\nOr run in development mode with automatic restart on file changes:\n\n```bash\nnpm run dev\n```\n\nThe `dev` script watches for changes in the source files and automatically restarts the server.\n\n**Using npx:**\n\nAfter building the package (`npm run build`), you can run it with npx:\n\n```bash\n# Using the local path\nnpx /absolute/path/to/axe-scanner-mcp\n\n# Or link it locally first for easier access\nnpm link\nnpx axe-scanner-mcp\n\n# Or install it in another project\nnpm install /absolute/path/to/axe-scanner-mcp\nnpx axe-scanner-mcp\n```\n\n**Using node directly:**\n\n```bash\nnode dist/index.js\n```\n\nRun a one-off scan from the CLI:\n\n```bash\nnpm run scan -- https://example.com\n```\n\n### Registered tool\n\n`axe_scan_url`\nRuns an axe accessibility scan and returns both a summary and the full axe results JSON.\n\nInput arguments:\n\n- `url` (string, required): Page to scan.\n- `tags` (string[], optional, defaults to `[\"wcag2a\"]`): Restrict analysis to specific tags. Leave empty to disable tag filtering.\n- `runOnlyRules` (string[], optional): Restrict analysis to specific rule IDs. Cannot be combined with `tags`.\n- `disableRules` (string[], optional): Skip specific rule IDs.\n- `includeSelectors` (string[], optional): CSS selectors to scope the scan.\n- `excludeSelectors` (string[], optional): CSS selectors to omit from the scan.\n- `waitUntil` (`\"load\" | \"domcontentloaded\" | \"networkidle\" | \"commit\"`, optional): Navigation lifecycle to await. Defaults to `load`.\n- `navigationTimeoutMs` (number, optional): Playwright navigation timeout in milliseconds.\n- `legacyMode` (boolean, optional): Whether to run axe in legacy mode to avoid blank-page aggregation (disables cross-origin frame testing).\n- `viewport` (object, optional): Override viewport `width`, `height`, `deviceScaleFactor`, and/or `userAgent`. Defaults to 1280×720 / DPR 1 / Playwright default UA.\n- `browser` (`\"chromium\" | \"firefox\" | \"webkit\"`, optional): Browser engine to launch. Defaults to `chromium`.\n- `headless` (boolean, optional): Run the browser in headless mode. Defaults to `true`.\n- `postNavigationWaitMs` (number, optional): Milliseconds to wait after navigation (and optional selector wait) before running axe. Defaults to `1000`.\n- `waitForSelector` (string, optional): CSS selector to wait for before the post-navigation delay.\n- `axeOptions` (object, optional): Raw options passed to `axe.configure` via `builder.options(...)`.\n- `includeSummary` (boolean, optional): When `true`, adds a short human-readable summary string alongside the full JSON payload. Defaults to `false`.\n\n## Development\n\n**Development mode with watch:**\n\nThe `dev` script automatically watches for file changes and restarts the server:\n\n```bash\nnpm run dev\n```\n\n**Manual rebuild:**\n\nTo rebuild the project manually:\n\n```bash\nnpm run build\n```\n\nFormat of the tool response:\n\n- `success`: indicates execution status.\n- `url`: scanned URL.\n- `summary`: counts of violations, passes, incomplete, and inapplicable rule results.\n- `analysis`: raw axe results returned by `@axe-core/playwright`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinnyang%2Faxe-scanner-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinnyang%2Faxe-scanner-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinnyang%2Faxe-scanner-mcp/lists"}