{"id":29086400,"url":"https://github.com/manoj9788/mcp-axe","last_synced_at":"2025-06-28T00:06:56.914Z","repository":{"id":289688665,"uuid":"968016541","full_name":"manoj9788/mcp-axe","owner":"manoj9788","description":"mcp-axe is a MCP-compatible plugin for automated accessibility scanning","archived":false,"fork":false,"pushed_at":"2025-04-29T14:48:02.000Z","size":1913,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T19:11:26.456Z","etag":null,"topics":["a11y","a11y-testing","accessibility","axe","axe-mcp","mcp-a11y","mcp-axe"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/mcp-axe/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manoj9788.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-04-17T11:15:01.000Z","updated_at":"2025-05-26T22:31:23.000Z","dependencies_parsed_at":"2025-04-24T15:40:59.107Z","dependency_job_id":null,"html_url":"https://github.com/manoj9788/mcp-axe","commit_stats":null,"previous_names":["manoj9788/mcp-axe"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/manoj9788/mcp-axe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manoj9788%2Fmcp-axe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manoj9788%2Fmcp-axe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manoj9788%2Fmcp-axe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manoj9788%2Fmcp-axe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manoj9788","download_url":"https://codeload.github.com/manoj9788/mcp-axe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manoj9788%2Fmcp-axe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262352630,"owners_count":23297690,"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","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","a11y-testing","accessibility","axe","axe-mcp","mcp-a11y","mcp-axe"],"created_at":"2025-06-28T00:06:55.045Z","updated_at":"2025-06-28T00:06:56.894Z","avatar_url":"https://github.com/manoj9788.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mcp‑axe \n\n[![PyPI version](https://img.shields.io/pypi/v/mcp-axe.svg)](https://pypi.org/project/mcp-axe/) [![License](https://img.shields.io/pypi/l/mcp-axe.svg)](LICENSE)\n\n---\n\nA **Model Context Protocol** (MCP) plugin for automated accessibility testing using [axe-core](https://github.com/dequelabs/axe-core). It lets MCP‑aware clients (Claude Desktop, Cursor, etc.) or your terminal run:\n\n- **Single URL scans**\n- **HTML string scans**\n- **Batch URL scans**\n- **Violation summarisation**\n\nAll powered by Selenium under the hood.\n\n## 📦 Installation\n\n### From PyPI\n\n```bash\npip install mcp-axe\n```\n_Requires Python 3.8+._\n\n\n\n### Local / Development\n\n```bash\ngit clone https://github.com/manoj9788/mcp-axe.git\ncd mcp-axe\npython3 -m venv .venv \u0026\u0026 source .venv/bin/activate\npip install -e .[dev]\n```\n\n---\n\n## 🔧 Usage\n\n### MCP (JSON‑RPC) mode\n\nFor AI clients (e.g. Claude Desktop, Cursor, VS Code MCP extension), configure your `\u003cclient\u003e_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"axe-a11y\": {\n      \"command\": \"python3\",\n      \"args\": [\"-m\", \"mcp_axe\"],\n      \"cwd\": \".\"\n    }\n  }\n}\n```\n\nOnce the MCP server is running, \n\nyou can prompt like `scan https://manojkk.com for accessibility issues` will invoke the scan-url tool.\n\nyou can invoke tools like:\n- `scan-url` (params: `{ \"url\": \"https://google.com\" }`)\n- `scan-html` (params: `{ \"html\": \"\u003ch1\u003eHello\u003c/h1\u003e\" }`)\n- `scan-batch` (params: `{ \"urls\": [\"https://a.com\",\"https://b.com\"] }`)\n- `summarise-violations` (params: `{ \"result\": \u003caxe result\u003e }`)\n\n### MCP local dev mode\n```json\n{\n  \"mcpServers\": {\n    \"axe-a11y\": {\n      \"command\": \"/path/to/.venv/bin/python\",\n      \"args\": [\"-m\", \"mcp_axe\"],\n      \"cwd\": \"/path/to/mcp-axe\"\n    }\n  }\n}\n```\n\n\n### FastAPI REST mode (optional)\n\nExpose HTTP endpoints via:\n\n```python\nfrom mcp_axe.server import app  # FastAPI instance\nimport uvicorn\n\nif __name__ == '__main__':\n    uvicorn.run(app, host='0.0.0.0', port=9788, reload=True)\n```\n\nThen:\n```bash\ncurl -X POST http://localhost:9788/scan/url -H 'Content-Type: application/json' \\\n  -d '{ \"url\": \"https://google.com\" }'\n```\n\n---\n\n## 🤝 Contributing\n\n1. Fork the repo\n2. Create a branch (`git checkout -b feature/xyz`)\n3. Commit your changes\n4. Open a PR\n\n---\n\n## 📜 License\n\n[MIT](LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanoj9788%2Fmcp-axe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanoj9788%2Fmcp-axe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanoj9788%2Fmcp-axe/lists"}