loading…
Search for a command to run...
loading…
civyk-winwright is a Playwright-style MCP server for Windows desktop and browser automation. It provides 59 tools for controlling WPF, WinForms, Win32 apps, and
civyk-winwright is a Playwright-style MCP server for Windows desktop and browser automation. It provides 59 tools for controlling WPF, WinForms, Win32 apps, and Chrome/Edge via the Model Context Protocol. A unified automation layer connecting Claude and MCP-compatible agents to native Windows UI and web interfaces.
GitHub Release License Platform MCP
Windows automation server for the Model Context Protocol. ~59 consolidated tools for desktop (WPF, WinForms, Win32), browser (Chrome/Edge via CDP), and system management — all accessible to AI agents over MCP.

You write test cases in plain English. The AI agent uses WinWright's MCP tools to discover UI controls, perform actions, and record everything as a portable JSON script.

Once recorded, scripts run deterministically with winwright run — no AI agent,
no LLM calls, no token costs. Results are the same every time.
If the UI layout changes, WinWright can self-heal broken selectors automatically
(winwright heal). For larger UI redesigns, ask the AI agent to update the script —
still faster than rewriting tests from scratch.
Why this matters:
Install, configure your MCP client, then ask the agent to do something:
"Launch Notepad, type 'Hello from WinWright', then read back what you typed."
The agent calls WinWright tools and returns results:
ww_launch → { "processId": 12840, "mainWindowTitle": "Untitled - Notepad" }
ww_type → { "success": true }
ww_get_value → { "value": "Hello from WinWright" }
Every tool returns structured JSON. The agent decides which tools to call and in what order — you describe the goal in plain language.
From inside Claude Code, add the marketplace and install:
/plugin marketplace add civyk-official/civyk-winwright
/plugin install winwright@civyk-winwright
The plugin's install script downloads the latest binary automatically.
Note: WinWright has been submitted to the official Claude Code plugin directory and is pending review. Until approved, use the marketplace commands above to install.
Download from GitHub Releases:
| Asset | Architecture |
|---|---|
winwright-*-win-x64.zip |
Intel/AMD 64-bit |
winwright-*-win-arm64.zip |
ARM64 (Surface Pro, etc.) |
{
"servers": {
"winwright": {
"type": "stdio",
"command": "C:/path/to/Civyk.WinWright.Mcp.exe",
"args": ["mcp"]
}
}
}
Start the server first: Civyk.WinWright.Mcp.exe serve --port 8765
{
"servers": {
"winwright": {
"type": "http",
"url": "http://localhost:8765/mcp"
}
}
}
{
"mcpServers": {
"winwright": {
"command": "C:/path/to/Civyk.WinWright.Mcp.exe",
"args": ["mcp"]
}
}
}
Each card links to a detailed walkthrough with real prompts, tool call parameters, and example output. Browse all guides in docs/use-cases/.
Record an AI session once — the agent discovers the UI, performs actions, embeds assertions — then export a portable JSON script that replays in CI without an AI agent. Describe your app or paste your existing manual test suite; the agent scripts it automatically.
Give an AI agent access to your desktop. It launches apps, moves data between them, fills forms, and takes screenshots for verification — no scripts to write or maintain.
Many enterprise apps have no API. If Windows UI Automation can see a control, WinWright can read its value. Extract data from apps that were never built for integration.
Record a repetitive daily workflow once. Export as an RPA script and replay on demand — no AI agent required after the recording. Ideal for report exports, data imports, and any multi-step task that runs the same way every time.
An AI agent explores your WinForms or WPF app, finds elements, and asserts state. No brittle XPath selectors to maintain — the agent adapts when UI changes.
Drive an app through 50+ records automatically. Compare each displayed value against a reference table and get a structured pass/fail report with discrepancy details.
Automate workflows that span desktop apps and browser — read from an accounting app, submit to a web portal, screenshot the confirmation.
Verify a running app is alive and responsive — process running, connection status showing 'Connected', service healthy. Pair with Windows Task Scheduler for scheduled checks.
Manage processes, services, registry, and scheduled tasks on remote machines over HTTP. Five-layer security: IP allowlist, Windows Negotiate auth, AD group authorization, rate limiting, and per-user session limits.
Traverse the full UIA element tree. Check that controls have names, buttons have labels, and keyboard paths exist. The AI agent generates a compliance report.
Detect unexpected confirmation dialogs, file-save prompts, and Win32 MessageBox popups after every click. Handle or dismiss them without breaking the automation flow.
~59 consolidated tools across five categories (merged from 110 via action/mode parameters):
| Category | Tools | What it does |
|---|---|---|
| Desktop Automation | ~30 | Launch apps, click, type, read values, screenshots, tree navigation, dialogs, test case recording, CI script export (UIA3) |
| System | ~12 | Processes, registry, environment variables, file system, network, services, scheduled tasks |
| Browser | 4 | Chrome/Edge via CDP — sessions, pages, elements, advanced (eval/forms/dialogs). No Selenium dependency |
| AI Agent | ~10 | Snapshots, state diffing, event watching, action recording, ww_get_schema for tool discovery |
| Security | — | Runtime permission guards with AD group overrides, JSONL audit logging |
Each tool supports multiple actions via an action parameter (e.g., ww_service(action="list"), ww_service(action="start")), reducing the total tool count while maintaining full functionality.
Create winwright.json next to the binary (or %APPDATA%\WinWright\winwright.json):
{
"permissions": {
"allowShell": false,
"allowRegistryWrite": false,
"allowProcessKill": false,
"allowFileWrite": false,
"allowServiceControl": false,
"allowTaskScheduler": false,
"allowEnvironmentWrite": false,
"allowBrowserEval": false,
"allowNetworkProbe": true
},
"audit": {
"enabled": true,
"logPath": "audit.jsonl"
}
}
All dangerous operations are disabled by default. Enable only what you need.
winwright mcp Start MCP server (stdio)
winwright serve --port N Start MCP server (HTTP, default 8765)
winwright run <script.json> [--format text|junit] [--output <file>]
Replay a recorded automation script
winwright heal <script.json> [--app <path>|--pid <n>] [--output <file>] [--min-confidence <0-1>]
Probe broken selectors against a live UI and repair them
winwright inspect <pid> Dump UIA element tree for a process
winwright doctor Verify environment prerequisites
Good fit:
Not a good fit:
| WinWright | UiPath | Power Automate Desktop | Playwright | |
|---|---|---|---|---|
| What it automates | Desktop + browser + system | Desktop + browser + system | Desktop + browser + cloud | Browser only |
| How you use it | AI agent via MCP (natural language) | Visual workflow designer | Visual workflow designer | Code (JS/Python/C#) |
| Desktop support | WPF, WinForms, Win32 (UIA3) | WPF, WinForms, Win32, Java, SAP | WPF, WinForms, Win32 | None |
| Browser support | Chrome/Edge via CDP | Chrome, Edge, Firefox | Chrome, Edge, Firefox | Chrome, Edge, Firefox, Safari |
| Selector model | AI picks elements by name/type | Visual selector recorder | Visual selector recorder | CSS/XPath selectors |
| Cost | Free | Licensed (per-user/bot) | Free (desktop), licensed (cloud) | Free |
| Setup | Single binary, no runtime | Full install + studio | Windows store app | npm install |
| Designed for | AI agents and MCP clients | Enterprise RPA | Business user automation | Developer testing |
WinWright is not an RPA platform. It's a tool server that gives AI agents access to Windows. If you need a visual workflow builder or enterprise orchestration, UiPath or Power Automate are better choices. If you need browser-only testing, Playwright is more mature.
WinWright fits where those tools don't — when an AI agent needs to see and operate the Windows desktop, or when you need desktop + browser in one MCP session.
Help keep this project alive and growing!
If WinWright has helped your development workflow, consider supporting its continued development. Your contribution helps with:
50% of all donations go directly to children's charities helping those in need. The remaining funds support project maintenance and feature upgrades.
Every contribution, no matter the size, makes a difference.
Free to use for any purpose — personal, academic, commercial. See LICENSE for full terms. Attribution required when redistributing.
Built on Trust, Driven by Value — Civyk
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"winwright": {
"command": "npx",
"args": []
}
}
}Extract design specs and assets
An Open-Sourced UI to install and manage MCP servers for Windows, Linux and macOS.
Build, validate, and deploy multi-agent AI solutions on the ADAS platform. Design skills with tools, manage solution lifecycle, and connect from any AI environm
MCP Bundles: Create custom bundles of tools and connect providers with OAuth or API keys. Use one MCP server across thousands of integrations, with programmatic