Skip to main content
Glama

MCP Accessibility Scanner

MCP アクセシビリティ スキャナー 🔍

PlaywrightとAxe-coreを用いた自動ウェブアクセシビリティスキャンを提供するModel Context Protocol(MCP)サーバー。このサーバーにより、LLMはWCAGコンプライアンスチェック、注釈付きスクリーンショットのキャプチャ、詳細なアクセシビリティレポートの生成が可能になります。

特徴

✅ WCAG 2.1/2.2 の完全なコンプライアンスチェック
🖼️ 違反箇所を強調表示する自動スクリーンショットキャプチャ
📄 修復ガイダンス付きの詳細なJSONレポート

インストール

次のいずれかの方法でパッケージをインストールできます。

npm を使用する場合:

npm install -g mcp-accessibility-scanner

Dockerのインストール

このプロジェクトには、Node.js v22 や Python 3.13 など、必要なすべての依存関係を設定する Dockerfile が含まれています。

  1. Docker イメージをビルドします。
docker build -t mcp-server .
  1. コンテナを実行します。
docker run -it -e MCP_PROXY_DEBUG=true mcp-server

バックグラウンドで実行することもできます。

docker run -d -p 3000:3000 mcp-server

VS Codeでのインストール

VS Code CLI を使用して、VS Code にアクセシビリティ スキャナーをインストールします。

VS Codeの場合:

code --add-mcp '{"name":"accessibility-scanner","command":"npx","args":["mcp-accessibility-scanner"]}'

VS Code Insider 向け:

code-insiders --add-mcp '{"name":"accessibility-scanner","command":"npx","args":["mcp-accessibility-scanner"]}'

構成

Claude Desktop の構成は次のとおりです。

{ "mcpServers": { "accessibility-scanner": { "command": "npx", "args": ["-y", "mcp-accessibility-scanner"] } } }

使用法

スキャナーは、以下を受け入れる単一のツールscan_accessibilityを公開します。

  • url : スキャンするウェブページのURL(必須)
  • violationsTag : チェックするアクセシビリティ違反タグの配列(必須)
  • viewport : ビューポートのサイズをカスタマイズするためのオプションのオブジェクト
    • width : 数値 (デフォルト: 1920)
    • height : 数値 (デフォルト: 1080)
  • shouldRunInHeadless : ヘッドレスモードを制御するためのオプションのブール値(デフォルト: true)

注: スキャンを実行すると、アクセシビリティ違反を強調表示した注釈付きのスクリーンショットが自動的にダウンロード フォルダーに保存されます。

Claude での使用例:

Could you scan example.com for accessibility issues related to color contrast?

カスタム オプションを使用した高度な例:

Could you scan example.com for accessibility issues with a viewport of 1280x720 and show the browser window?

発達

プロジェクトのクローンを作成してセットアップします。

git clone https://github.com/JustasMonkev/mcp-accessibility-scanner.git cd mcp-accessibility-scanner npm install

TypeScript コンパイラをウォッチ モードで起動します。

npm run watch

MCP サーバーをローカルでテストします。

npm run inspector

Docker開発

Docker を使用した開発の場合:

  1. 開発イメージをビルドします。
docker build -t mcp-server-dev .
  1. ライブ コード変更のためにボリューム マウントを使用して実行します。
docker run -it -v $(pwd):/app -p 3000:3000 -e MCP_PROXY_DEBUG=true mcp-server-dev

プロジェクト構造

├── src/ # Source code │ ├── index.ts # MCP server setup and tool definitions │ └── scanner.ts # Core scanning functionality ├── build/ # Compiled JavaScript output ├── Dockerfile # Docker configuration for containerized setup ├── package.json # Project configuration and dependencies └── tsconfig.json # TypeScript configuration

ライセンス

マサチューセッツ工科大学

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Playwright と Axe-core を使用して WCAG 準拠の自動 Web アクセシビリティ スキャンを有効にし、修復ガイダンスを含むビジュアル レポートと JSON レポートを提供します。

  1. 特徴
    1. インストール
      1. Dockerのインストール
      2. VS Codeでのインストール
    2. 構成
      1. 使用法
        1. 発達
          1. Docker開発
        2. プロジェクト構造
          1. ライセンス

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Provides web accessibility analysis and color blindness simulation using axe-core and Puppeteer, enabling detailed accessibility checks and visual simulations based on WCAG guidelines.
              Last updated -
              2
              1
              JavaScript
              MIT License
              • Apple
              • Linux
            • A
              security
              A
              license
              A
              quality
              Provides accessibility testing capabilities through CLI, helping identify accessibility issues in web applications using axe-core and Puppeteer.
              Last updated -
              1
              JavaScript
              MIT License
            • -
              security
              -
              license
              -
              quality
              An MCP (Model Context Protocol) server for performing accessibility audits on webpages using axe-core. Use the results in an agentic loop with your favorite AI assistants (Cline/Cursor/GH Copilot) and let them fix a11y issues for you!
              Last updated -
              JavaScript
              Mozilla Public License 2.0
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages through structured accessibility snapshots without requiring screenshots or vision models.
              Last updated -
              21
              72,621
              TypeScript
              Apache 2.0
              • Apple
              • Linux

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/JustasMonkev/mcp-accessibility-scanner'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server