vertaaux-mcp
VertaaUX MCPサーバー
自律的な監査、修正、検証ループを備えた唯一のMCPサーバーです。7つのカテゴリにわたるUXおよびアクセシビリティの問題を検出し、フレームワーク対応のパッチ(React、Vue、Angular、Svelte)を生成し、Git Trees API経由でアトミックなGitHubプルリクエスト(PR)を作成し、修正が本番環境に反映されたことを検証します。ポリシー・アズ・コード(Policy-as-Code)のしきい値を備え、CI/CDパイプライン向けに構築されています。
このサーバーが優れている理由
verify_fixesループ: エージェントループを離れることなく、監査、修正、再監査のサイクルを完結させます。過剰な課金を防ぐため、3回までの反復制限が設けられています。フレームワーク対応パッチ:
suggest_fixは最も近いpackage.jsonからReact/Vue/Angular/Svelte/Nuxtを検出し、慣用的なパッチ(Reactの場合はJSXの書き換え、それ以外はHTML属性を保持)を出力します。アトミックなGit Trees PR:
generate_prはN個のパッチを単一のコミットで適用します。競合グラフとASTゲート(Babel、vue-eslint-parser、svelte/compiler)により、解析不可能なパッチがPRに到達する前に拒否されます。決定論的な検出ID:
rule:hash形式により、監査実行間で安定しているため、エージェントは状態を保持せずに検出結果を参照できます。マルチエンジンa11y:
audit_a11yは、axe-core、AccessLint、VertaaUXアナライザーを単一の呼び出しで統合します。ポリシー・アズ・コード:
policy_checkはGitHub Actionのしきい値評価を正確に反映しているため、CIとエージェントの判定が一致します。
Related MCP server: polish
機能
38のツール: 監査、修正、PR、スケジュール、Webhook、ポリシー、a11yカテゴリに分類
7つのプロンプトテンプレート: 一般的なワークフロー用
8つのリソースURI: 監査データおよびUXガイドライン用
エンタープライズ制御: ドメイン許可リスト、レート制限、PII(個人情報)の秘匿化
デュアルトランスポート: stdio(CLI/デスクトップ)およびHTTPストリーミング(Web)
公式MCP SDK:
@modelcontextprotocol/sdkによる仕様準拠
インストール
MCP公式レジストリ
npx -y @modelcontextprotocol/cli install io.github.PetriLahdelma/vertaaux-mcpnpm
npm install -g @vertaaux/mcp-server
VERTAAUX_API_KEY=vx_live_... vertaaux-mcpドリフトポリシー:
smithery.yaml、glama.json、およびserver.jsonは、npm run generate:manifestsによってライブMCPツールレジストリから自動生成されます。手動で編集しないでください。 実行手順についてはdocs/REGISTRY-PUBLISHING.mdを参照してください。
クイックスタート
# Install & build
npm install && npm run build
# Run (stdio transport, for Claude Desktop, VS Code, Cursor)
VERTAAUX_API_KEY=vx_live_... npm start
# Run (HTTP transport, for web clients)
VERTAAUX_API_KEY=vx_live_... npm run start:httpIDE統合
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json に追加します:
{
"mcpServers": {
"vertaaux": {
"command": "node",
"args": ["/path/to/mcp-server/dist/index.js"],
"env": {
"VERTAAUX_API_KEY": "vx_live_..."
}
}
}
}VS Code (MCP拡張機能を使用)
.vscode/settings.json に追加します:
{
"mcp.servers": {
"vertaaux": {
"command": "node",
"args": ["./mcp-server/dist/index.js"],
"env": {
"VERTAAUX_API_KEY": "vx_live_..."
}
}
}
}Cursor
.cursor/mcp.json に追加します:
{
"mcpServers": {
"vertaaux": {
"command": "node",
"args": ["/path/to/mcp-server/dist/index.js"],
"env": {
"VERTAAUX_API_KEY": "vx_live_..."
}
}
}
}環境変数
変数 | 必須 | デフォルト | 用途 |
| はい | — | API認証キー |
| いいえ |
| APIエンドポイントURL |
| いいえ |
| HTTPトランスポートポート |
| いいえ | — |
|
ツール
監査ツール (コア)
ツール | 説明 |
| デプロイされたURLでUXおよびアクセシビリティ監査を実行します。深刻度別の内訳を含む上位5つの問題を返します。 |
| ローカルコードベース(React/Vue/Svelte/HTML)の静的解析を行います。altテキストの欠落、ラベルのないボタン/入力/リンクを検出します。 |
| HARファイル(応答時間、失敗したリクエスト、大きなペイロード)またはLighthouse JSON(アクセシビリティの検出結果)から監査します。 |
| 完了した監査から、深刻度、ルール、ページネーションでフィルタリングして検出結果を取得します。 |
| 監査ジョブIDでジョブのステータスと結果を取得します。 |
修正および検証ツール
ツール | 説明 |
| 検出結果の詳細(WCAG基準、再現手順、修正ガイダンス、修正前後のコード例)を深掘りします。 |
| 信頼度スコア付きの検索/置換パッチを生成します。単一およびバッチモードをサポートします。 |
| 監査からの特定の課題に対するアクセシビリティ修正パッチを生成します。 |
| 監査の前後比較を通じて、パッチが回帰なしで問題を修正したことを検証します。 |
| 修正パッチを含むGitHub PRドラフトを作成します。 |
| 深刻度順に並べられた提案ブロックを含むPRコメントを生成します。 |
分析ツール
ツール | 説明 |
| コンポーネントコードのヒューリスティックなUXレビュー(ブラウザ不要)。画像、ボタン、入力、リンクをチェックします。 |
| プロバイダー非依存のLLM監査(Vertaaアダプター経由でMistral/OpenAIを使用)。 |
| クイック監査を実行してスクリーンショットをキャプチャします。 |
| 競合他社のURLとUXメトリクスを比較し、カテゴリレベルのスコア差分を表示します。 |
| 課題を開発者向けのMarkdownガイダンスに整形します。 |
管理ツール
ツール | 説明 |
| 監査通知用のWebhookを登録します。 |
| Webhookを管理します。 |
| スコアしきい値アラート付きのCronベースのスケジュール監査を作成します。 |
| スケジュールを管理します。 |
| プランと残りのクレジットを確認します。 |
| 利用可能なエンジンバージョンを一覧表示します。 |
アクセシビリティツール (マルチエンジン)
ツール | 説明 |
| axe-core、AccessLint、カスタムアナライザーを使用したマルチエンジンアクセシビリティ監査。WCAGにマッピングされた検出結果と、構造化された修正案および修正可能性評価を返します。 |
| 現在のアクセシビリティ検出結果を保存されたベースラインと比較します。修正済み、新規、変更なしの検出結果とネット変更の要約を返します。ベースラインを確立するために、事前の |
非推奨
ツール | 説明 |
| 非推奨 — 代わりに |
プロンプトテンプレート
一般的な監査シナリオ向けの事前構築済みワークフロープロンプト:
プロンプト | 説明 | 引数 |
| URLを監査し、修正推奨事項とともに上位の問題を要約します |
|
| 全監査 → パッチ適用 → PRコメントのワークフロー |
|
| 競合他社と比較し、UXのギャップを特定します |
|
| アラート付きのスケジュール監視を設定します |
|
| ローカルコードベースの静的解析 |
|
リソース
サーバーは vertaa:// URI経由でMCPリソースを公開します:
URIパターン | 説明 |
| 監査結果全体 |
| 軽量な要約 |
| 単一の検出結果詳細 |
| スクリーンショットのメタデータ |
| 注釈付きスクリーンショット |
| URLの監査履歴 |
| スコア傾向分析 |
| UXガイドライン(ボタン、フォーム、ナビゲーション、色のコントラスト、エラー、コンテンツ) |
エンタープライズ制御
ドメイン許可リスト、レート制限、PII秘匿化をプログラムで設定します:
import { configureEnterpriseControls } from './server.js';
configureEnterpriseControls({
allowlist: {
allowed_domains: ['*.example.com'],
denied_domains: ['internal.example.com'],
},
budget: {
max_requests: 100,
max_pages: 50,
max_duration_ms: 60000,
max_concurrency: 3,
},
redaction: {
redact_emails: true,
redact_phone_numbers: true,
redact_credit_cards: true,
custom_patterns: [
{ name: 'api_key', pattern: 'sk_[a-zA-Z0-9]{20,}', replacement: '[REDACTED]' }
],
},
});例: 監査からPRまでのワークフロー
1. audit_url({ url: "https://example.com", mode: "deep" })
→ Returns audit_id with top 5 issues
2. get_findings({ audit_id: "...", severity: "critical" })
→ Returns all critical findings with deterministic IDs
3. suggest_fix({ audit_id: "...", finding_id: "button-name:a1b2c3d4" })
→ Returns search/replace patch with 85% confidence
4. run_verification_suite({ url: "...", selector: "button.submit", rule_id: "button-name" })
→ Verifies fix resolves the issue
5. create_pr_comment({ file_path: "src/Button.tsx", patches: [...] })
→ Generates PR comment with suggestion blocks開発
プロジェクト構造
mcp-server/
├── src/
│ ├── index.ts # Main entry, tool registration
│ ├── server.ts # MCP server config, resources, middleware
│ ├── a11y-tools.ts # Multi-engine a11y audit & baseline diffing tools
│ ├── http.ts # HTTP transport entry point
│ ├── prompts.ts # MCP prompt templates
│ ├── analysis.ts # Component analysis engine
│ ├── patch.ts # Patch generation
│ ├── verification.ts # Patch verification
│ ├── pr-comment.ts # PR comment generation
│ ├── tools/
│ │ ├── audit-url.ts # audit_url tool
│ │ ├── audit-repo.ts # audit_repo tool (static analysis)
│ │ ├── audit-artifact.ts # audit_artifact tool (HAR/Lighthouse)
│ │ ├── get-findings.ts # get_findings tool
│ │ ├── explain-finding.ts# explain_finding tool
│ │ ├── suggest-fix.ts # suggest_fix tool
│ │ ├── generate-pr.ts # generate_pr tool
│ │ └── index.ts # Tool exports
│ ├── transports/
│ │ ├── stdio.ts # Stdio transport (default)
│ │ └── http.ts # HTTP streaming transport
│ ├── middleware/
│ │ ├── allowlist.ts # Domain/path allowlist
│ │ ├── budget.ts # Rate limiting & quotas
│ │ ├── redaction.ts # PII redaction
│ │ └── index.ts # Middleware stack
│ ├── resources/
│ │ ├── audit-results.ts # vertaa://audits/* resources
│ │ ├── screenshots.ts # vertaa://screenshots/* resources
│ │ ├── historical.ts # vertaa://history/* resources
│ │ ├── legacy.ts # Guidelines resources
│ │ └── index.ts # Resource exports
│ ├── schemas/
│ │ ├── audit.ts # Audit schemas (mode, findings)
│ │ ├── findings.ts # Finding schemas
│ │ ├── controls.ts # Enterprise control schemas
│ │ ├── errors.ts # Error schemas
│ │ └── index.ts
│ ├── utils/
│ │ ├── error-recovery.ts # Structured errors with recovery guidance
│ │ ├── change-tracker.ts # Baseline change tracking
│ │ └── deterministic-id.ts # Stable finding IDs
│ └── index.test.ts # Test suite
├── README.md
├── package.json
├── tsconfig.json
└── vitest.config.tsテスト
npm test # Run test suite
npm run test:watch # Watch mode
npm run test:coverage # Coverage reportビルド
npm run build # TypeScript → dist/エラーハンドリング
すべてのエラーには構造化された復旧ガイダンスが含まれます:
{
"code": "AUDIT_NOT_FOUND",
"message": "Audit abc123 not found.",
"recovery": {
"action": "Start a new audit for this URL",
"tool": "audit_url",
"params": { "url": "https://example.com" }
}
}エラーコードはJSON-RPC 2.0に従います:-32700(解析)、-32600(無効なリクエスト)、-32601(メソッドが見つからない)、-32602(無効なパラメータ)、-32603(内部エラー)。
APIリファレンス
MCPサーバーはVertaaUX API v1と通信します。APIドキュメント を参照してください。
ライセンス
MIT
Available Tools
29 toolsanalyze_componentARead-onlyIdempotent
[session] Static a11y + UX analysis of one component's source (HTML/JSX/Vue/Svelte/Angular). No browser, no network. Best for pre-commit feedback on a snippet. vs audit_repo: scans the whole codebase tree. vs audit_url: runs the full rule engine on a live page.
Inputs: componentCode (required), componentType, framework. Returns: result
audit_a11yA
[a11y] Multi-engine a11y audit on a URL (axe-core + AccessLint + VertaaUX analyzers). Returns normalised WCAG findings with machine-actionable fix suggestions. Set baseline_name to save for later diff_a11y.
Inputs: url (required), baseline_name, min_impact, mode. Returns: result
audit_artifactA
[audit] Audit a captured browser artifact instead of a live URL. Use for CI-run debugging or customer bug reports without re-running the browser. Supports: har (response times, failures, payloads, security headers), lighthouse (a11y + perf JSON). playwright-trace returns INVALID_PARAMS, use audit_url.
Inputs: artifact_path (required), artifact_type (required), url_hint. Returns: result
audit_repoA
[audit] Static UX + a11y scan of a local codebase tree (React/Vue/Svelte components, HTML templates). Detects missing alt text, unlabeled buttons/inputs/links, placeholder labels. For live pages use audit_url.
Inputs: path (required), include, exclude, mode. Returns: result
audit_urlA
[audit] Run a full UX + a11y audit on a live URL. Returns top 5 issues + scores; use get_findings for the full list. Offline mode (localhost/file://) is static-only.
Inputs: url (required), mode, timeout_ms, wait, +3 more. Returns: result
capture_screenshotA
[session] Capture a hosted screenshot of a URL plus the full audit result. CONSUMES 1 audit quota, implemented via audit_url under the hood, not a lightweight headless snapshot. Use mode='basic' for cheapest. Hints (viewport, fullPage, highlightIssues, waitForSelector) are advisory.
Inputs: url (required), mode, wait, timeout, +7 more. Returns: result
compare_competitorsA
[session] Audit your site vs N competitor URLs in parallel, return side-by-side scores + top-5 differentiators with optional industry benchmarks. Best for positioning, pitch decks, quarterly scans. vs diff_audits: that compares two existing audit IDs (free); this runs N+1 fresh audits (consumes N+1 quota).
Inputs: url (required), competitors (required), industry, mode, +3 more. Returns: result
create_pr_commentA
[pr] Generate a PER-FILE GitHub PR comment with in-line gh pr suggestion blocks for a11y patches against ONE file, ordered by severity. Returns markdown ready to post.
vs format_pr_comment: audit-level summary. vs generate_pr: opens the actual PR.
Inputs: file_path (required), patches (required), include_unverified, include_failed. Returns: result
create_scheduleA
[schedule] Create a recurring audit on a cron schedule. Best for daily a11y regression checks, weekly competitor diffs, post-deploy smoke audits. Returns id + next_run_at. Set alert_on_fail / alert_on_score_drop + score_threshold to trigger webhook_url + email_recipients alerts. Counts against monthly quota.
Inputs: url (required), cron_expression (required), name (required), mode, +6 more. Returns: result
create_webhookA
[webhook] Register an HTTPS endpoint to receive audit event notifications (audit.completed, audit.failed, etc.). Outgoing requests are HMAC-SHA256-signed via your secret in X-Vertaaux-Signature. Returns id + active status.
URL must be HTTPS and externally reachable; SSRF-blocked URLs are rejected. Use list_webhooks first to avoid duplicates.
Inputs: url (required), secret (required). Returns: result
delete_scheduleADestructive
[schedule] DESTRUCTIVE: permanently delete an audit schedule by ID; future runs are cancelled. Prefer update_schedule with enabled=false to pause without losing config. Look up ID via list_schedules.
Inputs: id (required). Returns: result
delete_webhookADestructive
[webhook] DESTRUCTIVE: permanently delete a webhook by ID; future events stop delivering. No soft-delete. Look up ID via list_webhooks.
Inputs: id (required). Returns: result
diff_a11yARead-onlyIdempotent
[a11y] SECONDARY a11y diff using NAMED baselines (saved earlier via audit_a11y with baseline_name). Returns regressions + fixes + unchanged + net-change summary. vs diff_audits: prefer that, works with any audit IDs, full 7-category coverage. Use diff_a11y only when you already have a named a11y baseline.
Inputs: url (required), baseline (required), min_impact. Returns: result
explain_findingARead-onlyIdempotent
[findings] Deep-dive a specific finding by ID: returns element HTML, screenshot URL, WCAG criteria, user impact, repro steps, before/after fix code. Use after audit_url to expand on a finding from get_findings.
Inputs: finding_id (required), audit_id (required), include_screenshot, include_trace. Returns: result
explain_issueARead-onlyIdempotent
[session] Format an INLINE audit issue object into developer-friendly guidance: WCAG explanation, user impact, code-level fix, canonical reference links. No network call. vs explain_finding: that fetches by ID from the backend; this one takes the issue literal you already have.
Inputs: issue (required), context. Returns: result
generate_patchA
[fix] LEGACY issue-based fix generator (no framework detection). Returns search/replace patch + confidence + explanation. vs suggest_fix (PREFERRED): framework-aware (React/Vue/Angular/Svelte), finding-based, JSX-idiomatic patches. Use generate_patch only for legacy job_id/issue_id consumers.
Inputs: job_id (required), issue_id (required), file_path, file_content. Returns: result
generate_prA
[pr] OPENS a draft GitHub PR with N a11y patches applied ATOMICALLY via Git Trees (all-or-nothing commit). Refuses overlapping patches (CONFLICT) and unparseable JS/TS/JSX/Vue/Svelte (AST_INVALID via Babel/vue-eslint-parser/svelte/compiler gate). Inputs from suggest_fix (preferred) or generate_patch (legacy). Requires GITHUB_TOKEN; without it, set local_only=true to get patch content. Always creates DRAFT, never auto-merges.
Inputs: owner (required), repo (required), patches (required), base_branch, +4 more. Returns: result
get_auditARead-onlyIdempotent
[audit] Fetch the status and (when completed) results of an audit job by ID: status, progress 0-100, 7-category scores, issues array. Poll after audit_url/run_audit/run_llm_audit/audit_a11y with wait=false. Same ID namespace across all of them.
Inputs: job_id (required). Returns: result
get_enginesARead-onlyIdempotent
[quota] List audit engine versions on this account: semver-tagged releases plus a 'latest' alias and per-version release notes. Use to pin audits for reproducible deltas or discover newer analyzers.
Inputs: no named parameters. Returns: result
get_findingsARead-onlyIdempotent
[findings] Get findings from a completed audit with pagination + filtering by severity, rule, or change status. Use after audit_url/audit_repo/audit_artifact for detailed findings.
Inputs: audit_id (required), severity, rule_id, status, +2 more. Returns: result
get_quotaARead-onlyIdempotent
[quota] Get the authenticated account's tier (free/pro), audits remaining in current billing window, reset timestamp, and feature flags. Call before batch audits to avoid mid-run quota errors.
Inputs: no named parameters. Returns: result
get_scheduleARead-onlyIdempotent
[schedule] Read full config of an audit schedule by ID: cron, target URL, audit mode, enabled, alerts (alert_on_fail / alert_on_score_drop + score_threshold), webhook_url, email_recipients, last/next_run_at. Look up ID via list_schedules.
Inputs: id (required). Returns: result
list_schedulesARead-onlyIdempotent
[schedule] List all audit schedules on the account: ID, target URL, cron, mode, enabled, alert config, next_run_at. Use before update_schedule or delete_schedule to look up the ID.
Inputs: no named parameters. Returns: result
list_webhooksARead-onlyIdempotent
[webhook] List webhooks on the account: ID, URL, subscribed event types (audit.completed, audit.failed, etc.), active status, last-delivery timestamp. Use before create_webhook (avoid duplicates) or delete_webhook (look up ID).
Inputs: no named parameters. Returns: result
run_auditA
[audit] DEPRECATED: use audit_url. Kept for legacy clients only.
Inputs: url (required), mode, timeout, user_agent, +3 more. Returns: result
run_llm_auditA
[audit] LLM-based UX audit of a URL via the VertaaUX provider-agnostic adapter (Mistral/OpenAI/etc.). Returns qualitative narrative on hero clarity, messaging, copy tone, conversion nudges, things rule-based audits miss. vs audit_url: that's rule-based WCAG/a11y. Consumes LLM credits, separate from audit quota.
Inputs: url (required), maxTokens, temperature. Returns: result
run_verification_suiteA
[audit] PRE-deploy patch verification: test a proposed patch (search/replace + CSS selector) against a live URL in a sandboxed browser BEFORE you commit. Runs before/after axe-core, returns score delta + rule pass. vs verify_fixes: that's POST-deploy URL-vs-baseline comparison; this is patch-vs-live in isolation.
Inputs: url (required), selector (required), patch_id, patch_content, +2 more. Returns: result
suggest_fixARead-onlyIdempotent
[fix] PRIMARY framework-aware fix generator. Pass finding_id + audit_id to get an idiomatic search/replace patch (React/Next/Vue/Angular/Svelte/Nuxt detected via nearest package.json). Returns patch + confidence + framework_confidence + needs_human_review. Single (default) or batch (multiple finding_ids). Pipe output into generate_pr or run_verification_suite. vs generate_patch: that's the legacy issue/job ID variant.
Inputs: audit_id (required), finding_id, finding_ids, file_content, +1 more. Returns: result
update_scheduleA
[schedule] Partial update of an audit schedule (all fields except id are optional). Use list_schedules to look up ID. Common: pause via enabled=false, change cadence via cron_expression, add score-drop alerts.
Inputs: id (required), url, mode, cron_expression, +7 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 29 tools
Most tools have distinct purposes, but some pairs (e.g., audit_url vs audit_a11y, suggest_fix vs generate_patch) could cause confusion despite clear descriptions. The 'vs' notes help, but the sheer number of tools increases ambiguity.
All tool names follow a consistent verb_noun snake_case pattern (e.g., audit_url, create_schedule, delete_webhook). No mixing of styles or irregular names.
29 tools is on the high side for a domain that could be covered with fewer. While the set is comprehensive, some tools are deprecated or legacy, and the count feels slightly bloated.
The tool set covers the full lifecycle of accessibility auditing: running audits (multiple types), retrieving results, explaining findings, generating fixes, creating PRs, scheduling, diffing, webhooks, quota management, and even competitor analysis. No obvious gaps.
Maintenance
Related MCP Connectors
Free WCAG 2.2/ADA/508 accessibility MCP: scan, AI fixes, verify, vision audit, localhost tunnel
MCP server for progressive tool usage at any scale (see https://klavis.ai)
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Run, debug, and triage tests from your IDE using natural language, no dashboard switching, no manual data transfers. The TestMu AI (formerly LambdaTest) MCP Server is a single remote server exposing four tool suites: HyperExecute — analyze your project, generate YAML configs and test runner commands, then monitor jobs and sessions. Automation — pull a TestID's details plus command, network, and console logs into one chat for instant root-cause analysis. Includes mobile app upload. SmartUI — explain pixel, layout, DOM, and perceptual changes in a visual regression run, with context-aware React/HTML/CSS fixes. Accessibility — audit any public URL or a local React app against WCAG and get ready-to-apply remediation steps. Connects over https://mcp.lambdatest.com/mcp using OAuth 2.1 — no API keys in your config. One-click install in Cursor; works with Claude, GitHub Copilot, Cline, and any MCP client. Tests execute on the TestMu AI cloud: 3,000+ browsers and 10,000+ real devices.
Related MCP Servers
- AlicenseAqualityBmaintenanceFree WCAG 2.2 / ADA / Section 508 accessibility MCP: scan pages, get AI fixes, verify them, run a vision audit, and scan localhost through a secure tunnel. Sign in with a free account for full audits.20535 npmMIT
- AlicenseNot gradedqualityCmaintenanceSelf-hosted design audit MCP server that reviews UI code against Nielsen's heuristics and an accessibility rubric, returning scores and fixable findings. It also enables verifying previously flagged issues against updated code.1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that exposes a design system and UX rulebook as tools, enabling AI to generate UI consistent with your design tokens, components, layout rules, accessibility guidelines, and templates. It also provides a review tool to score UI proposals against the design system.MIT
- AlicenseAqualityDmaintenanceMCP server that helps AI agents create UIs that don't look AI-generated by auditing components, refining copy, suggesting themes, and checking accessibility/contrast.8MIT