Give AI agents eyes and hands on any native Windows application. Click buttons, fill forms, take screenshots, read UI trees — all through the Model Context Protocol.
Works with VS Code Copilot · Claude · Cursor · Windsurf · Cline
A .NET 10 MCP server that uses FlaUI (UI Automation) to interact with any Windows app. Built entirely with GitHub Copilot. Connects to AI assistants via the standard Model Context Protocol.
Built to cover every edge case in Windows desktop automation — from minimized windows to locked sessions.
Complete coverage — click, type, drag, form fill, screenshots, visual diff, grid access, event monitoring.
Levenshtein-distance matching finds elements even with typos and partial names. No brittle selectors.
Descendant cache (2s TTL) + window cache (30s TTL) with automatic invalidation. Fast repeat lookups.
WM_PRINT-based rendering captures screenshots even when the app window is minimized or behind others.
Annotated screenshots with bounding boxes, pixel-diff comparison, and token-aware resizing for LLMs.
WinUI3, WPF, WinForms, Win32, Electron, UWP — if it runs on Windows, WinApp MCP can automate it.
UIA pattern fallback keeps working even when the desktop is locked. Reports available operations.
Subscribe to focus, structure, and property change events. Watch UI state changes in real-time.
One server, many clients. Works with VS Code Copilot, Claude Desktop, Cursor, Windsurf, and Cline.
Organized into 10+ categories, covering the full spectrum of Windows UI automation.
One MCP server, multiple ways to install. Pick your AI client and get started in seconds.
Install from the VS Code Marketplace. Copilot auto-discovers the MCP server.
ext install BrijesharunG.winapp-mcp
Run the server directly via npx — works with any MCP client.
npx winapp-mcp
Add to your Claude config file:
{
"mcpServers": {
"winapp": {
"command": "npx",
"args": ["-y", "winapp-mcp"]
}
}
}
Add to .cursor/mcp.json:
{
"mcpServers": {
"winapp": {
"command": "npx",
"args": ["-y", "winapp-mcp"]
}
}
}
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"winapp": {
"command": "npx",
"args": ["-y", "winapp-mcp"]
}
}
}
Download the .vsix file from GitHub Releases:
code --install-extension winapp-mcp-2.0.0.vsix
Side-by-side with other Windows desktop MCP servers.
| Feature | WinApp MCP | Windows-MCP | uiautomation-mcp |
|---|---|---|---|
| Tools | 55 | ~15 | 39 |
| UIA Library | FlaUI | FlaUI | Raw COM |
| Caching | ✓ 2-tier | ✗ | ✗ |
| Fuzzy Search | ✓ | ✗ | ✗ |
| HWND Targeting | ✓ Full | ✗ | Partial |
| Event Monitoring | ✓ 3 types | ✗ | Focus only |
| Grid Pattern | ✓ | ✗ | ✓ |
| Virtualization | ✓ | ✗ | ✗ |
| Screenshot Diff | ✓ | ✗ | ✗ |
| Batch Form Fill | ✓ | ✗ | ✗ |
| Token-aware Screenshots | ✓ | ✗ | ✗ |
| Drag & Drop | ✓ | ✗ | ✗ |
| Minimized App Support | ✓ | ✗ | ✗ |
| Locked Session | ✓ | ✗ | ✗ |
| VS Code Extension | ✓ | ✗ | ✗ |
| npm Package | ✓ | ✗ | ✗ |
| Multi-Client | ✓ 5+ | VS Code only | ✗ |
Open source, MIT licensed, and built for the MCP ecosystem.