LW

lysiuchenko/wpf-buddy-mcp

Developer tools

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

31 stars 2 forks 品質 67 トレンド 15MIT

AIエージェントがUIオートメーションを通じてWPFデスクトップアプリケーションを駆動、テスト、検査できるMCPサーバー.

概要

すべてのWPFアプリに添付してください。 UIツリーを意味的に調べます。 調整なしでワークフローを自動化します。 テストを生成する。 結合エラーを診断します。 MCPで自然言語を通す 一般的なWindowsオートメーションツールは、クリックしてタイプすることができます。 WPF 画面を記述し、それを手動で検査し、生の座標なしでワークフローを自動化し、WPF 固有の障害を説明し、ワークフローを記録し、それを決定的に再生し、保守可能な自動テストをエクスポートします。 - .NET 8 SDK - Windows 10/11(UIオートメーションはWindows専用) サーバは、実行中のWPFプロセスに接続し、完全な自動化ツリーをキャプチャし、管理タイプ、AutomationIds、名前、パターン、状態を返します。 すべてのアクションは、セマンティックセレクター(AutomationId → Name → ControlType)を使用し、生の画面座標を調節しません。 UIの変更時に、セレクターの自己治癒。 UIインタラクションをワークフローとして記録し、セレクターの安定性を検証し、Page Object クラスでプロダクションレディ xUnit + FlaUI テストコードをエクスポートします.

概要(AI 翻訳)

WPFアプリケーションを理解するMCPサーバー — ピクセルだけではありません。

お問い合わせ

WPFアプリに添付してください。 UIツリーを意味的に調べます。 調整なしでワークフローを自動化します。 テストを生成する。 結合エラーを診断します。 MCP. による自然言語によるすべて

お問い合わせ

なぜこの例

一般的なWindowsオートメーションツールは、クリックしてタイプすることができます。 このサーバはWPFを理解しています

| 汎用自動化 MCP | WpfBuddy MCP | お問い合わせ | 「位置で見る(340, 220)」 | 「保存ボタンをクリック」 | | 「画面からピクセルを読み込む」 | 「オートメーション ID で UI ツリーを入手する」 | | 「解決失敗」 | 「SaveCommand.CanExecute が false を返すため、保存ボタンが無効になっています。」 | | 「Hereのスクリーンショット」 | 「要素ツリー、その結合、検証状態、データコンテキスト」 |

コア差別化

WPF 画面を記述し、それを皮切りに検査し、生の座標なしでワークフローを自動化し、WPF 固有の障害を説明し、ワークフローを記録し、それを決定的に再生し、保守可能な自動テストをエクスポートします。

お問い合わせ

クイックスタート

前提条件

  • .NET 8 SDK の
  • Windows 10/11(UIオートメーションはWindows専用)

###ビルド&実行

MCP クライアントを接続する

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

README

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


Why This Exists

Generic Windows automation tools can click and type. This server understands WPF.

Generic Automation MCP WpfBuddy MCP
“Click at position (340, 220)” “Click the Save button”
“Read pixels from screen” “Get the UI tree with AutomationIds”
“Something failed” “The Save button is disabled because SaveCommand.CanExecute returns false — the Name property is empty”
“Here’s a screenshot” “Here’s the element tree, its bindings, validation state, and DataContext”

Core Differentiator

Given any WPF screen, inspect it semantically, automate a workflow without raw coordinates, explain WPF-specific failures, record the workflow, replay it deterministically, and export a maintainable automated test.


Quick Start

Prerequisites

  • .NET 8 SDK
  • Windows 10/11 (UI Automation is Windows-only)

Build & Run

dotnet build WpfBuddyMcp.sln
dotnet run --project src/WpfBuddy.Mcp.Server

Connect Your MCP Client


What Can It Do?

Attach & Inspect

"Attach to WPFapp and show me the main window structure"

The server attaches to any running WPF process, captures the full automation tree, and returns a semantic representation — control types, AutomationIds, names, patterns, states.

Automate Without Coordinates

"Click 'New Project', fill in Name as 'Test Project', then click Save"

All actions use semantic selectors (AutomationId → Name → ControlType), never raw screen coordinates. Selectors self-heal when the UI changes.

GitHub で README 全文を見る

インストール

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

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

設定

{ "mcpServers": { "wpfbuddy-mcp": { "command": "dotnet", "args": ["run", "--project", "src/WpfBuddy.Mcp.Server/WpfBuddy.Mcp.Server.csproj"] } } }