FW

faze79/wpfvisualtreemcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

22 stars 8 forks 品質 76 トレンド 31MIT

MCP サーバーと CLI for WPF: ビジュアルツリーとバインディングを調べ、スクロール可能なコンテンツをキャプチャし、マウス/タッチ入力をドライブし、実行可能な xUnit テストとしてワークフローを記録します.

概要

Snoop + AI 用の Playwright、モデルコンテキストプロトコルを上回る - ビジュアルツリー、バインディング、スクリーンショット、マウスドラッグ、タッチジェスチャー、テキスト入力、キーボード。 ソース変更なしで実行中のアプリを調べる; タッチ動作は、アプリケーションの入力サポートに依存します。 目に見えるテキストによるAIエージェントの問い合わせは、フォームに記入し、リスト項目を選択し、[送信]をクリックします。その後、ステータスボックスがアプリのバインディングエラーを引っ張ることで空に留まる理由を説明します。 各ステップは1つのMCPツールコール(またはCLIコマンド)です。 ワークフローを記録し、ドラッグアンドタッチを含む実行可能なxUnitテストをエクスポートします。 wpf reportで集計診断を収集し、フルスクロール可能なコンテンツをキャプチャします。 .NET Framework 4.7.2をターゲットとするアプリを調べます。 36 MCP ツール、CLI コマンドのマッチング、より信頼性の高いアップデート、および更新された Codex のコンパニオンスキルが含まれています。 @miloszkukla では、PR #22 での互換性とスクリーンショットの作業に対応しました。 1。 最新のリリースからWpfVisualTreeMcp-vX.Y.Z-win-x64.zipをダウンロードし、抽出します.

概要(AI 翻訳)

AIエージェントは、WPFアプリを実行している、デバッグおよびドライブを参照してください。 Snoop + AI 用の Playwright、モデルコンテキストプロトコルを上回る - ビジュアルツリー、バインディング、スクリーンショット、マウスドラッグ、タッチジェスチャー、テキスト入力、キーボード。 ソース変更なしで実行中のアプリを調べる; タッチ動作は、アプリケーションの入力サポートに依存します。

ドラッグアンドドロップ、キャンバスアイテムを移動、タップ、ホールド、パン、ピンチをズームして回転させる - クエリコントロール、フォームを記入し、アイテムを選択し、バインディングエラーを診断します。 ゲスチャーシーケンスは、MCP による WPF の入力を記録し、AutomationId によるターゲット制御を行い、自動化されたテストと同様に、アプリケーションの応答を確認します。

アニメーションデモを直接見る。

v0.20.0 の新しい: .NET 9、.NET 10 および .NET Framework 4.8.1** の **WPF に関する検証済みサポート x86とx64。 CI は、すべての 6 を渡る自動注入および自己ホストを練習します .NET 8、9、10 のテストからインストールされた C# SDK とサポート対象フレームワーク プロジェクト。 x86 注射ヘルパーは .NET 9 または 10 のとき .NET 8 が不在に使用できます。

[WpfVisualTreeMcp.Automation C# SDK 仮想化された DataGrids/TreeViews をドライブし、制御を待ち、WPF の窓を管理し、 プロパティの変更をストリームします.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

WpfVisualTreeMcp

Let AI agents see, debug and drive running WPF apps. Snoop + Playwright for AI, exposed over the Model Context Protocol — visual tree, bindings, screenshots, mouse dragging, touch gestures, text input and keyboard. Inspect running apps without source changes; touch behavior depends on the application’s input support.

Drag-and-drop, move a canvas item, tap, hold, pan, pinch to zoom and rotate — then query controls, fill a form, select an item and diagnose a binding error. The gesture sequence records real WPF input through MCP, targets controls by AutomationId and checks the application’s response, just like the automated tests.

Watch the animated demo directly.

New in v0.20.0: Verified support for WPF on .NET 9, .NET 10 and .NET Framework 4.8.1, on both x86 and x64. CI exercises automatic injection and self-hosting across all six supported target frameworks, plus the installed C# SDK from .NET 8, 9 and 10 test projects. The x86 injection helper can also use .NET 9 or 10 when .NET 8 is absent.

The WpfVisualTreeMcp.Automation C# SDK drives virtualized DataGrids/TreeViews, waits for controls, manages WPF windows and streams property changes. The 38-tool MCP server and CLI share the inspection and input engine, including direct AutomationId targeting.

Workflow recording/replay/xUnit export, aggregate diagnostics, full-content screenshots and .NET Framework 4.7.2 support remain available from v0.16.0. Thanks to @miloszkukla for the compatibility and screenshot work in PR #22.

Quickstart (60 seconds)

  1. Download and extract WpfVisualTreeMcp-vX.Y.Z-win-x64.zip from the latest release (requires a .NET 8, 9 or 10 Desktop Runtime).
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "wpf-visual-tree": { "command": "C:/path/to/WpfVisualTreeMcp.Server.exe", "args": [] } } }