W

Winapp MCP

MCP server for automating native Windows desktop apps β€” Playwright for Windows. Gives AI assistants (Copilot, Claude, Cursor) full control over WinUI3, WPF, WinForms, and Win32 apps with 55 UI automation tools. Built entirely with GitHub Copilot.

  • InstallableWe know how to install it, but have not yet seen it complete a handshake.
  • Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.
  • OS Automation
  • 44stars
  • No ratings User RatingsBe the first to rate and review this MCP server!
  • UpdatedOct 28, 2026
  • Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.

Install Winapp MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "winapp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "winapp-mcp"
      ]
    }
  }
}

Settings β†’ Developer β†’ Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-testedβ€” we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

Security & health

What it can reach and how reliably it runs β€” from our own checks, not the maintainer’s claims.

Not checked yetNo health check has run yet.

We have not completed a health check for this listing yet.

From the project README

WinApp MCP

WinApp MCP

Website Β· GitHub Β· npm Β· VS Code Marketplace

Playwright for Windows Desktop Apps

A Model Context Protocol (MCP) server that gives AI assistants full control over native Windows applications β€” launch, inspect, click, type, screenshot, and test any WinUI3, WPF, WinForms, UWP, or Win32 app.

npm Latest Release Stars Downloads Install 55 Tools .NET 10 MCP 1.1.0 License Windows Built with GitHub Copilot


Why This Exists

Browser automation has Playwright. Mobile has Appium. But Windows desktop automation for AI agents? The existing options didn't go deep enough.

AI assistants like GitHub Copilot, Claude, and ChatGPT can browse the web, run terminal commands, and edit files. But they cannot interact with native Windows applications. They can't click a button in your WinUI3 app, read a value from a WPF form, or test a WinForms dialog.

WinApp MCP bridges that gap. It exposes 55 UI automation tools through the Model Context Protocol, letting any MCP-compatible AI assistant control Windows desktop apps the same way Playwright controls browsers.

The Problem

What AI Can Do TodayWhat AI Couldn't Do
βœ… Edit source code❌ Launch and interact with the compiled app
βœ… Run terminal commands❌ Click buttons, fill forms, read UI state
βœ… Browse websites via Playwright❌ Automate desktop apps
βœ… Write tests❌ Run visual/E2E tests on desktop apps
βœ… Run long autonomous pipelines❌ Keep working when the app is minimized or the screen locks

The Solution

WinApp MCP gives AI assistants eyes and hands for any Windows desktop application:

Code
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      MCP (stdio)      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   AI Assistant       │◄─────────────────────►│   WinApp MCP Server  β”‚
β”‚   (Copilot, Claude)  β”‚   JSON-RPC over stdio β”‚   (.NET 10 + FlaUI)  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                          β”‚ UI Automation
                                                          β–Ό
                                               β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                               β”‚  Windows Application β”‚
                                               β”‚  WinUI3/WPF/WinFormsβ”‚
                                               β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Key Features

πŸ” Deep UI Inspection

  • DOM-like snapshots of the entire UI element tree with configurable depth
  • Filtered search by control type, AutomationId, or name
  • Fuzzy matching with Levenshtein distance β€” tolerates typos and partial names
  • Element existence checks β€” fast boolean queries without full property reads

πŸ–±οΈ Complete Interaction

  • Click, double-click, right-click, invoke (via UIA patterns)
  • Type text, press keys, key combos (Ctrl+S, Alt+F4, etc.)
  • Fill entire forms in a single call β€” no sequential typing
  • Select dropdown options in one atomic operation
  • Drag and drop between elements
  • Expand/collapse tree items, menus, and accordions

πŸͺŸ Multi-Window HWND Targeting

  • Target specific windows by native handle (HWND)
  • Click, set values, and take snapshots of popups, dialogs, and secondary windows
  • Essential for multi-window applications and system dialogs

⚑ Performance-Optimized

  • Descendant cache (2s TTL) β€” avoids repeated FindAllDescendants calls that take 200-800ms on complex apps
  • Window cache (30s TTL) β€” eliminates expensive window lookups
  • Smart cache invalidation β€” cache is cleared automatically after mutations (click, type, navigate)
  • Token-aware screenshots β€” auto-resize images to fit within LLM context limits

πŸ“Š Advanced UIA Patterns

  • GridPattern β€” direct cell access by row/column in DataGrids
  • ScrollItemPattern β€” scroll off-screen elements into view
  • VirtualizedItemPattern β€” realize items in WinUI3 virtualized lists (ListView, GridView)
  • ExpandCollapsePattern β€” programmatic expand/collapse for tree items and menus
  • ItemContainerPattern β€” efficient search in large/virtualized containers

πŸ“‘ Event Monitoring

  • Monitor focus changes, structure changes (elements added/removed), and property changes in real-time
  • Session-based with 500-event ring buffer
  • Debug async UI updates, animations, and background data loads

πŸ“Έ Visual Verification

  • Screenshot capture with auto-resize for LLM token budgets
  • Annotated screenshots β€” red bounding boxes drawn around specified elements
  • Pixel-diff comparison β€” compare two screenshots and highlight changes
  • HWND-targeted screenshots for specific windows

πŸͺŸ Minimized & Locked Session Support

  • Works when apps are minimized β€” auto-restores windows before mouse/keyboard operations, uses PrintWindow API for screenshots without needing to restore
  • Works when the desktop is locked β€” clicks via UIA patterns (InvokePattern, TogglePattern, SelectionItemPattern) instead of mouse simulation; reads/writes values via ValuePattern; captures screenshots via PrintWindow
  • Smart fallback chain β€” tries UIA pattern β†’ auto-restore + mouse simulation β†’ informative error
  • Session status detection β€” check_session_status reports whether the session is locked, the app is minimized, and which operations are available
  • Manual restore β€” restore_window brings a minimized app back to foreground on demand

Why it matters: AI agents running long autonomous pipelines shouldn't break because a screensaver kicked in or the user minimized the app. WinApp MCP degrades gracefully β€” UIA pattern-based operations keep working even when mouse/keyboard simulation can't.

πŸ›‘οΈ Safety

  • Emergency release β€” unstick all modifier keys and mouse buttons with one call
  • Wait primitives β€” wait for elements, conditions, and input idle states
  • Timeout controls on all blocking operations

Use Cases

πŸ€– AI-Powered E2E Testing

Let AI assistants test your Windows app the way a QA engineer would β€” navigate pages, fill forms, verify data, test status transitions, capture evidence.

Code
"Navigate to Invoices β†’ Create New β†’ Fill all fields β†’ Save β†’ Verify detail page β†’ Test status change to Sent"

πŸ”„ Automated UI Verification

After code generation or refactoring, have the AI launch the app and verify that the UI renders correctly, buttons work, and forms validate properly.

πŸ§ͺ Visual Regression Testing

Take baseline screenshots, make changes, take new screenshots, and use screenshot_diff to detect unexpected visual changes.

πŸ“‹ Form Automation & Data Entry

Fill complex multi-field forms in a single fill_form call. Automate repetitive data entry across desktop applications.

πŸ—οΈ CI/CD Desktop Testing

Integrate into build pipelines to automatically test desktop applications after each build. The MCP server runs headless-compatible via stdio transport.

πŸ” Accessibility Auditing

Inspect the UI Automation tree to verify that all controls have proper AutomationIds, names, and patterns β€” critical for screen reader compatibility.


Installation

Works with any MCP client β€” VS Code, Claude Desktop, Cursor, Windsurf, Cline, and more.

Option 1: npm (Works Everywhere) ⭐

The universal way to run WinApp MCP with any MCP client. No .NET SDK required.

Terminal
npm install -g winapp-mcp

Or run directly without installing:

Terminal
npx -y winapp-mcp

Then add to your MCP client config (see client-specific configs below).

Option 2: VS Code Extension (VSIX)

The easiest way for VS Code / GitHub Copilot users. Bundles the MCP server and auto-registers on install.

  1. Download the latest .vsix file from Releases
  2. In VS Code: Ctrl+Shift+P β†’ "Extensions: Install from VSIX..." β†’ select the file
  3. Reload VS Code β€” the MCP server registers automatically

Reviews

No reviews yet β€” be the first to share how it worked for you.

Frequently Asked Questions about Winapp MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "winapp-mcp": { "command": "npx", "args": ["-y","winapp-mcp"] } }

MCP server for automating native Windows desktop apps β€” Playwright for Windows. Gives AI assistants (Copilot, Claude, Cursor) full control over WinUI3, WPF, WinForms, and Win32 apps with 55 UI automation tools. Built entirely with GitHub Copilot.

We don't have confirmed pricing for winapp-mcp. Listing it on AllMCPs is free, but that says nothing about what the server itself costs β€” check the project's own site for current pricing.

Related MCP servers

Add a badge to your READMEShow it’s listed β€” live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWinapp MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/winapp-mcp?style=directory)](https://allmcps.com/mcp/winapp-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/winapp-mcp"><img src="https://allmcps.com/api/badge/winapp-mcp?style=directory" alt="Winapp MCP on AllMCPs" /></a>