WpfPilot MCP
About
MCP server for AI agents to automate Windows WPF apps with semantic UI Automation selectors, screenshots, recording, and FlaUI test generation.
Details
- Author
- skuzadev
- Categories
- Developer Tools
Jump to
Setup
Install WpfPilot MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/skuzadev/wpfpilot-mcp
Follow the installation instructions in the repository README, then restart your MCP client.
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.
- 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.
- Windows 10/11.
- A WPF application to automate.
- Node.js 18+ if usingnpx(recommended). No .NET SDK required for the release binary or npm launcher.
Add this to your MCP client configuration (global or project-scoped):
{ "mcpServers": { "wpfpilot-mcp": { "type": "stdio", "command": "npx", "args": ["-y", "@skuzadev/wpfpilot-mcp"] } } }
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(persistentwpfpilot-mcpcommand, release zip, uninstall): seeInstall WpfPilot.
Use thestandard configabove unless noted. More clients:docs/all-clients.md.
Global:~/.cursor/mcp.json(do not add a project.cursor/mcp.jsonunless you need a repo-specific override)
{ "mcpServers": { "wpfpilot-mcp": { "type": "stdio", "command": "npx", "args": ["-y", "@skuzadev/wpfpilot-mcp"] } } }
Or:Cursor Settings→MCP→Add new MCP Server— commandnpx, args-y @skuzadev/wpfpilot-mcp.
cursor-agent mcp list cursor-agent mcp list-tools wpfpilot-mcp
codex mcp add wpfpilot-mcp -- npx -y @skuzadev/wpfpilot-mcp codex mcp list
[mcp_servers.wpfpilot-mcp] command = "npx" args = ["-y", "@skuzadev/wpfpilot-mcp"] enabled = true startup_timeout_sec = 30 tool_timeout_sec = 60
claude mcp add --transport stdio wpfpilot-mcp -- npx -y @skuzadev/wpfpilot-mcp claude mcp list
{ "mcpServers": { "wpfpilot-mcp": { "type": "stdio", "command": "npx", "args": ["-y", "@skuzadev/wpfpilot-mcp"] } } }
Windows config:%APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "wpfpilot-mcp": { "type": "stdio", "command": "npx", "args": ["-y", "@skuzadev/wpfpilot-mcp"] } } }
{ "servers": { "wpfpilot-mcp": { "type": "stdio", "command": "npx", "args": ["-y", "@skuzadev/wpfpilot-mcp"] } } }
Or:code --add-mcp '{"name":"wpfpilot-mcp","command":"npx","args":["-y","@skuzadev/wpfpilot-mcp"]}'
List the WpfPilot tools and attach to my running WPF application.
Show the main window UI tree. Click the Save button using a selector, not coordinates. Wait until the status text says Saved. Why is the Submit button disabled? Record this workflow and generate an xUnit test.
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).
Use wpf_probe_connect, then inspect my ViewModel and binding errors.
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.
Restart your terminal after running the installer, or use the full path towpfpilot-mcp.exein your MCP client configuration. Seeall-clients.md.
Restart the MCP client and check its MCP logs. Also verifynpx -y @skuzadev/wpfpilot-mcpruns from a normal terminal.
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.
Confirm the target app calledProbeHost.Start(), then usewpf_probe_statusandwpf_probe_connect. If needed, passwpfpilot-mcp-probe-{ProcessId}explicitly.
- All MCP clients
- Tool reference
- Probe setup
- Architecture
- Examples
- Development
- Releasing
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Create crafted UI components inspired by the best 21st.dev design engineers.
Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server
An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .
MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent
ALAPI MCP Tools,Call hundreds of API interfaces via MCP
AI-powered SVG animation generator that transforms static files into animated SVG components using the Allyson platform
MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.
APIMatic MCP Server is used to validate OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API.
One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.
Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





