
WpfPilot MCP
Brings UI Automation to AI agents for Windows WPF apps. You get semantic selectors instead of brittle screen coordinates, so you can query, click, type, and wait on controls by name or AutomationId. Built on FlaUI and exposes tools for inspecting UI trees, performing actions like toggle/expand/scroll, and generating xUnit test code from recorded workflows. The optional in-process probe surfaces WPF internals that UIA can't reach: bindings, ViewModels, commands, validation errors. Ships as a .NET 8 binary wrapped in an npm launcher for stdio transport. Useful when you're automating desktop test scenarios or need an agent to drive a thick client without Selenium-style DOM assumptions.
- GitHub stars
- 1
- tools
- 5
- transport
- STDIO
- last updated
- Jun 3, 2026
Tools
5 toolsPublic tool metadata for what this MCP can expose to an agent.
wpf_capabilitiesList supported verbs, query kinds, and wait conditions.
List supported verbs, query kinds, and wait conditions.
No parameter schema in public metadata yet.
wpf_queryRead UI state.
Read UI state.
No parameter schema in public metadata yet.
wpf_actPerform UI actions.
Perform UI actions.
No parameter schema in public metadata yet.
wpf_waitWait for UI state.
Wait for UI state.
No parameter schema in public metadata yet.
wpf_assertVerify UI state.
Verify UI state.
No parameter schema in public metadata yet.
Sponsors
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.
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.
Details
- Repository
- github.com/skuzadev/wpfpilot-mcp
- Category
- Automation & Workflows
- Package
@skuzadev/wpfpilot-mcp- Transport
- STDIO
- Registry
- MCP registry, active