Skip to main content
Glama
ARIA Validate MCP Server

ARIA Validate MCP Server

by yamanoku
README.md
<p align="center">
  <img src="./logo.png" alt="ARIA Validate MCP Server ロゴ" width="200" height="200">
</p>

<h1 align="center">ARIA Validate MCP Server</h1>

ARIA(Accessible Rich Internet Applications)の検証を行うModel Context Protocol
(MCP) サーバーです。

[aria-query](https://github.com/A11yance/aria-query)ライブラリを使用して、ARIA属性とrole属性の妥当性を検証します。

このMCPサーバーを使用すると、以下のような質問ができます。

- aria-labelledby属性はnavigation roleで使用できますか?
- aria-hiddenの有効な値は何ですか?
- すべてのARIAランドマークをリストしてください。

## セットアップ

### 必要な環境

- [Node.js](https://nodejs.org/) 24 LTS
- [Deno](https://deno.land/) 2.9 LTS

### MCPクライアントでの設定

Claude DesktopなどのMCPクライアントの設定ファイルに以下を追加します:

```json
{
  "mcpServers": {
    "aria-validate-mcp": {
      "command": "deno",
      "args": [
        "run",
        "--allow-read",
        "/path/to/aria-validate-mcp-server/index.ts"
      ]
    }
  }
}
```

## 開発

```bash
## 開発モードで実行(ファイル監視あり)
deno task dev
## テスト
deno test
## フォーマット
deno fmt
## Linter
deno lint
```

## 謝辞

このOSSはGemini 2.5 Flash Image (Nano Banana)によってロゴを製作、Claude 4.5
Sonnetによってドキュメントのサンプルを提案いただきました。感謝申し上げます。

## ライセンス

[LICENSE](./LICENSE) を参照してください。

TDQS

B3.3/5.0

Scored across 3 tools

Disambiguation4/5

The three tools have largely distinct purposes: validating roles, validating attributes, and listing reference data. There is minor potential overlap because attribute validation also checks role compatibility, but the descriptions make the primary targets clear.

Naming Consistency4/5

Two tools follow a clean verb_noun pattern (validate_role_attribute, validate_aria_attribute), while list_arias_roles_data is slightly awkward with 'arias_roles' as a plural modifier. The overall snake_case convention remains consistent.

Tool Count5/5

Three tools are well-scoped for a focused ARIA validation server: one for roles, one for attributes, and one for reference lookup. Each tool earns its place without redundancy.

Completeness4/5

The surface covers role validation, attribute validation, and listing available ARIA data, which is the core lifecycle for this domain. Minor gaps exist around batch validation or validating a full role-attribute combination in one call, but agents can work around these by composing the provided tools.