MCP IE Migration VRT
Controls two browser sessions (Edge IE mode and Chromium Edge) simultaneously to capture and compare screenshots for visual regression testing of legacy-to-modern UI migration.
README
MCP IE Migration VRT
Edge IEモードの移行前画面とChromium Edgeの移行後画面を、2つのSeleniumセッションで操作・撮影し、Playwright Testで画像比較するMCPサーバーです。
Edge IE mode ── Selenium screenshot ─┐
├─ Playwright VRT ─ pass / diff / report
Chromium Edge ─ Selenium screenshot ─┘
必要環境
- Windows 10/11またはWindows Server
- Microsoft Edge Stable
- Edge IEモードとEnterprise Mode Site List
- IEDriverServer 4.0.0.0以上
- ログオン中の非昇格Windowsセッション
- Edge/IEズームとWindows表示倍率を100%に固定
IEモードはheadless実行できません。RDP利用中は、撮影の途中で解像度や表示倍率を変更しないでください。
事前診断:
powershell -ExecutionPolicy Bypass -File scripts\windows\Test-IeMigrationVrtPrerequisites.ps1
インストール
1. MCPBをインストール
最新のGitHub Releaseから.mcpbをダウンロードし、Windows上で開いてClaude Desktopへインストールします。
インストール画面でVRT成果物と通常スクリーンショットの保存先を指定してください。MCPBにはMCPサーバーと実行時依存関係が含まれます。
2. Skillをインストール
Claude Code:
npx skills add rayven122/mcp-ie-migration-vrt --agent claude-code
Codex:
npx skills add rayven122/mcp-ie-migration-vrt --agent codex
SkillはMCPBには含まれず、別途インストールされます。
使い方
エージェントへ次のように依頼します。
$ie-migration-vrt を使って、移行前と移行後の注文一覧を同じ検索結果まで操作し、画面差分を確認してください。
エージェントは次の順に処理します。
start_vrt_browsersでEdge IEモードとChromium Edgeを起動sessionIdを指定して両画面を同じ業務状態まで個別に操作vrtで現在の画面を比較before.png、after.png、diff.png、report.jsonを保存- 必要に応じて移行後画面を修正し、再比較
- 両セッションを終了
既定の比較条件:
- Viewport:
1200 x 650 maxDiffPixelRatio:0.005threshold:0.2- ブラウザのタブやアドレスバーは撮影対象外
- 画像サイズが異なる場合はリサイズせず失敗
詳細なチェックポイントと撮影規約はdocs/vrt-standard.mdを参照してください。MCPからはvrt-standard://currentで取得できます。
主なMCP Tool
| Tool | 用途 |
|---|---|
start_vrt_browsers |
IEモードとChromium Edgeを同時起動 |
navigate / interact / send_keys |
指定セッションを操作 |
accessibility_snapshot |
画面構造と操作対象を取得 |
execute_script |
DOM・computed style・スクロールを確認 |
diagnostics |
console・JavaScript error・networkログを取得 |
vrt |
2セッションの現在画面を比較 |
close_session |
指定セッションを終了 |
その他のSelenium ToolもsessionIdを指定して利用できます。
補足
- Windows/IIS・ASP.NET 4.8・VB.NET Web Formsで動作確認済みです。
- VRT成果物の保存先は
MCP_VRT_ARTIFACT_DIRで変更できます。 - MCPB署名は公式CLIの既知不具合により保留中です。詳細は
docs/mcpb-signing.mdを参照してください。 - 開発・ローカルビルドは
package.jsonのnpm scriptsを参照してください。
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.