
WpfPilot MCP
io.github.skuzadev由 GitHub 帳號 skuzadev 發布v0.1.1更新於 Oct 24, 2026
Automate Windows WPF apps from AI agents with semantic UIA selectors and FlaUI test generation.
發布方自己的服務:QuickBooks Connector by Meridian
概覽
一個本機 Windows MCP 伺服器,讓 AI 代理透過 UI Automation 選擇器檢視、操作與測試 WPF 桌面應用程式,並產生 FlaUI 測試。
- 可以做什麼
- 附加到或啟動 WPF 處理程序,並透過 wpf_capabilities 與 wpf_query 列出支援的動詞、查詢類型與等待條件,從語意化 UI 快照(而非螢幕座標)讀取文字、值、狀態、邊界、模式、子節點、祖先、兄弟節點與選取項目。使用 wpf_act 執行點擊、設值、選取、切換、展開、收合、捲動與拖放等 UI 操作。使用 wpf_wait 與 wpf_assert 等待並斷言 UI 狀態,回傳結構化錯誤。擷取螢幕截圖、錄製工作流程並產生 xUnit + FlaUI 測試程式碼。可選擇連接行程內探針,取得 ViewModel、繫結、命令、驗證與調度器診斷資訊。
- 適用情境
- 適合 AI 編碼代理需要驅動或偵錯 Windows WPF 桌面應用程式的情境:瀏覽 UI 樹、重現工作流程、診斷控制項為何停用,或把錄製的互動轉成自動化 xUnit + FlaUI 測試。
- 執行需求
- Windows 10/11 以及要自動化的 WPF 應用程式。使用 npx(建議)需要 Node.js 18+;發行版二進位檔或 npm 啟動器不需要 .NET SDK。npm 啟動器首次執行時會下載最新的 Windows 發行版二進位檔。選用探針必須在目標應用程式中明確安裝。未宣告驗證、環境變數或標頭。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 WpfPilot MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
WpfPilot MCP
WpfPilot MCP is a local Model Context Protocol server for Windows WPF applications. It lets AI coding agents inspect UI Automation trees, click and type through semantic selectors, diagnose WPF-specific issues, record workflows, and generate xUnit + FlaUI tests.
[.NET 8] [MCP] [Windows] [License]
Features
- Attach to or launch WPF processes.
- Capture semantic UI snapshots (selectors, not screen coordinates).
- Query text, value, state, bounds, patterns, children, ancestors, siblings, and selection.
- Act with verbs such as click, set value, select, toggle, expand, collapse, scroll, and drag/drop.
- Wait and assert on UI state with structured errors.
- Capture screenshots.
- Record workflows and generate test code.
- Optional in-process probe for ViewModel, binding, command, validation, and dispatcher diagnostics.
Requirements
- Windows 10/11.
- A WPF application to automate.
- Node.js 18+ if using
npx(recommended). No .NET SDK required for the release binary or npm launcher.
Getting started
Add this to your MCP client configuration (global or project-scoped):
Or run directly (stdio; waits for an MCP client):
The npm launcher downloads the latest Windows release binary on first run, then proxies stdio to it.
Other installs (persistent wpfpilot-mcp command, release zip, uninstall): see Install WpfPilot.
Popular clients
Use the standard config above unless noted. More clients: docs/all-clients.md.
Cursor
Global: ~/.cursor/mcp.json (do not add a project .cursor/mcp.json unless you need a repo-specific override)
Or: Cursor Settings → MCP → Add new MCP Server — command npx, args -y @skuzadev/wpfpilot-mcp.
Codex
Or ~/.codex/config.toml:
Claude Code
Project .mcp.json:
Claude Desktop
Windows config: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop after saving.
VS Code
Create .vscode/mcp.json:
Or: code --add-mcp '{"name":"wpfpilot-mcp","command":"npx","args":["-y","@skuzadev/wpfpilot-mcp"]}'
First prompt
After connecting the MCP client, ask:
Useful follow-up prompts:
Tools
Full tool list: docs/tools-reference.md.
Optional WPF probe
The probe runs inside your WPF process and exposes diagnostics that UI Automation cannot see directly (bindings, ViewModels, commands, validation).
Setup: docs/probe-setup.md.
Safety
WpfPilot is intended for local development and test automation.
- It runs as your user account and can interact with UI visible to that account.
- It does not expose general shell, registry, or arbitrary filesystem tools through MCP.
- Mutating UI actions are audited under the user's local app data folder.
- The probe requires explicit installation in the target WPF app.
- Treat every MCP server as trusted local code before enabling it in an agent.
Troubleshooting
wpfpilot-mcp is not recognized
Restart your terminal after running the installer, or use the full path to wpfpilot-mcp.exe in your MCP client configuration. See all-clients.md.
Server starts but no tools appear
Restart the MCP client and check its MCP logs. Also verify npx -y @skuzadev/wpfpilot-mcp runs from a normal terminal.
Cannot attach to an app
Make sure the WPF app is running in the same user session and at a compatible privilege level. If the app runs as administrator, the MCP client may also need to run elevated.
Probe cannot connect
Confirm the target app called ProbeHost.Start(), then use wpf_probe_status and wpf_probe_connect. If needed, pass wpfpilot-mcp-probe-{ProcessId} explicitly.
Documentation
Contributing
See CONTRIBUTING.md.
License
MIT. See LICENSE.
來源:README.md,提交 0ed887d
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Pilot 整合
QuickBooks Connector by Meridian
com.pilot.meridian官方發布者
讓助理透過託管的遠端連接器讀取與寫入 QuickBooks Online 公司資料。
AI Agent Connector by Meridian
com.pilot.meridian官方發布者
讓 AI 助理以授權的讀取或寫入權限連接 Xero,並可跨多個組織操作。

XuLan ScreenPilot
由 GitHub 帳號 dahuam 發布
將真實的 Windows 螢幕轉換為帶編號的元素表,供你的 AI 代理程式操作。AI 翻譯

Covenant AAP - hosted developer pilot
由 GitHub 帳號 covenant-common 發布
託管的市場與合約起草伺服器:搜尋公開刊登、產生交易紀錄、起草與比對條款,並複核協議證據。
Tag Pilot Search Console
由 GitHub 帳號 tagpilot 發布
唯讀的 Google Search Console MCP 伺服器,讓助理查詢你網站的點擊、曝光、CTR、排名、網站地圖與索引狀態。