Automate Windows WPF apps from AI agents with semantic UIA selectors and FlaUI test generation.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
npx (recommended). No .NET SDK required for the release binary or npm launcher.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.
Use the standard config above unless noted. More clients: docs/all-clients.md.
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.
Or ~/.codex/config.toml:
Project .mcp.json:
Windows config: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop after saving.
Create .vscode/mcp.json:
Or: code --add-mcp '{"name":"wpfpilot-mcp","command":"npx","args":["-y","@skuzadev/wpfpilot-mcp"]}'
After connecting the MCP client, ask:
Useful follow-up prompts:
| Tool | Purpose |
|---|---|
wpf_capabilities | List supported verbs, query kinds, and wait conditions. |
wpf_query | Read UI state. |
wpf_act | Perform UI actions. |
wpf_wait | Wait for UI state. |
wpf_assert | Verify UI state. |
Full tool list: docs/tools-reference.md.
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.
WpfPilot is intended for local development and test automation.
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.
See CONTRIBUTING.md.
MIT. See LICENSE.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/wpfpilot-mcp)<a href="https://allmcps.com/mcp/wpfpilot-mcp"><img src="https://allmcps.com/api/badge/wpfpilot-mcp?style=directory" alt="WpfPilot MCP on AllMCPs" /></a>