Cursor A11y MCP
カーソル A11y MCP
AIエージェントにアクセシビリティテスト機能を提供するModel Context Protocol(MCP)サーバー。このツールは、axe-coreとPuppeteerを用いてWebアプリケーションのアクセシビリティ問題を特定するのに役立ちます。
特徴
任意の URL またはローカル開発サーバーでアクセシビリティ テストを実行します
包括的なアクセシビリティテストのためのaxe-coreを搭載
以下を含む詳細な違反レポートを提供します:
影響レベル
問題の説明
ヘルプテキストとドキュメントのリンク
影響を受けるHTML要素
失敗の概要
Related MCP server: Web Accessibility MCP Server
プロジェクト構造
src/- MCP サーバーとアクセシビリティ テスト ツールのソース コードtest-site/- テスト用に意図的にアクセシビリティの問題を抱えたReactアプリケーションbuild/- ソースコードのコンパイル済みバージョン
インストール
npm install次に、テスト サイトの依存関係をインストールします。
cd test-site
npm install
cd ..使用法
MCPサーバーの起動
npm run build
npm startテストサイトの実行
npm run start:test-siteテストサイトはhttp://localhost:5000で利用できます。
アクセシビリティテストの実行
このツールは次の 2 種類の入力を受け入れます。
テスト用の完全なURL
http://localhost:5000に追加される相対パス
依存関係
@modelcontextprotocol/sdk: ^1.4.1puppeteer:^24.1.1zod:^3.24.1
テストサイトの依存関係
react:^18.2.0react-dom:^18.2.0react-scripts: 5.0.1
発達
src/ディレクトリ内のソースコードを変更するnpm run buildを実行して変更をコンパイルします。npm startでサーバーを起動します。
カーソルでの設定
このアクセシビリティ テスト ツールを Cursor の MCP サーバー設定に追加するには:
カーソルの設定を開く (⌘ + ,)
「機能」>「MCPサーバー」に移動します
次の構成で新しい MCP サーバーを追加します。
名前:
a11yドロップダウンから
commandを選択コマンド:
node path/to/cursor-a11y-mcp/index/file/in/build/folder(path/to/cursor-a11y-mcp/index/file/in/build/folderを、ビルド フォルダー内の index.js ファイルへの絶対パスに置き換えます。)
AddクリックアクセシビリティテストツールがCursorのComposerで利用できるようになります
Composerでの使用
Cursor の Composer でアクセシビリティ テスト ツールを使用するには:
ターミナルで実行します:
npm run start:test-siteこれによりhttp://localhost:5000でテストサイトが起動します。
カーソルのコンポーザーで、
use a11y toolと入力します。Composerはツールを実行するように促します
ツールを実行すると、レスポンス内のアクセシビリティ違反と、違反を修正するためのコードアクションが表示されます。
Composerは、違反が修正されたことを確認するためにツールを再度使用するように要求する場合があります。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
バージョン
現在のバージョン: 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