Logo di WinWright

WinWright

Organizzazione
civyk-official

Playwright-style MCP server for Windows desktop, system, and browser automation. 52 tools for WPF, WinForms, Win32, Chrome/Edge via Model Context Protocol.

Autorecivyk-official
Repositorycivyk-winwright
LinguaPowerShell
Fork
1
Stelle
19
Strumenti disponibili
0
Tipo di trasportostdio, streamable-http
Categorie
Link
  • Collega gli strumenti ai flussi di lavoro IA

    WinWright mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    19 stelle e 1 fork nel repository collegato.

WinWright

GitHub Release License Platform MCP

Windows automation server for the Model Context Protocol. 52 consolidated tools for desktop (WPF, WinForms, Win32), browser (Chrome/Edge via CDP), and system management — accessible to AI agents over MCP, or driven directly from the command line (winwright call …) when MCP is blocked.

Describe tests in plain English — the AI agent does the rest

WinWright Demo

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.

Replay recorded scripts — no AI agent needed

Run Script Demo

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:

  • Save AI costs — the agent records once, scripts replay for free
  • Deterministic results — every run produces identical, reproducible outcomes
  • Easy maintenance — self-healing selectors and AI-assisted script repair

Contents

Quick Start

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:

text
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.

Install

Download from GitHub Releases:

AssetArchitecture
winwright-*-win-x64.zipIntel/AMD 64-bit
winwright-*-win-arm64.zipARM64 (Surface Pro, etc.)

MCP Client Configuration

Claude Code / VSCode (stdio)

json
{
  "servers": {
    "winwright": {
      "type": "stdio",
      "command": "C:/path/to/Civyk.WinWright.Mcp.exe",
      "args": ["mcp"]
    }
  }
}

Claude Code / VSCode (HTTP)

Start the server first: Civyk.WinWright.Mcp.exe serve --port 8765

json
{
  "servers": {
    "winwright": {
      "type": "http",
      "url": "http://localhost:8765/mcp"
    }
  }
}

Claude Desktop

json
{
  "mcpServers": {
    "winwright": {
      "command": "C:/path/to/Civyk.WinWright.Mcp.exe",
      "args": ["mcp"]
    }
  }
}

CLI Mode (when MCP is blocked)

Many corporate environments block MCP. WinWright can be driven entirely from the command line instead — the same tools, the same automation, with no MCP client between the agent and the tool. A background daemon (a loopback serve instance) owns the live sessions, so the appId returned by ww_launch stays valid across separate commands.

bash
winwright tools                          # discover the tool surface (replaces MCP advertisement)
winwright call ww_launch --exePath "C:\Apps\MyApp.exe"   # -> {"appId":"app-1", ...}
winwright call ww_click  --appId app-1 --selector "#submit"
winwright call ww_get_value --appId app-1 --selector "#status"
winwright call ww_close  --appId app-1

JSON results go to stdout (safe to pipe to jq); diagnostics go to stderr. The daemon auto-starts on the first call, binds to loopback only, and self-exits when idle.

Because the CLI doesn't advertise its capabilities the way MCP does, install the bundled Claude Code skill so an agent knows how to use it — embedded in the binary, so it installs offline:

bash
winwright skills install --scope user      # -> %USERPROFILE%\.claude\skills\winwright\
winwright skills install --scope project   # -> <cwd>\.claude\skills\winwright\

Use Cases

Each card links to a detailed walkthrough with real prompts, tool call parameters, and example output. Browse all guides in docs/use-cases/.

Scripted UI Test Automation for CI

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.

Autonomous Desktop Automation

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.

Legacy App Data Extraction

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.

Scripted Desktop Automation for Repeated Tasks

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.

AI-Powered UI Testing

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.

Bulk Data Validation

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.

Cross-App Workflows

Automate workflows that span desktop apps and browser — read from an accounting app, submit to a web portal, screenshot the confirmation.

Application Health Monitoring

Verify a running app is alive and responsive — process running, connection status showing 'Connected', service healthy. Pair with Windows Task Scheduler for scheduled checks.

Remote Administration

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.

Accessibility Auditing

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.

Dialog and Modal Handling

Detect unexpected confirmation dialogs, file-save prompts, and Win32 MessageBox popups after every click. Handle or dismiss them without breaking the automation flow.

Tools

52 consolidated tools across four categories, plus a cross-cutting security layer (merged from 110+ via action/mode parameters):

CategoryToolsWhat it does
Desktop Automation33Launch/attach/close apps, click, type, read values, screenshots, tree navigation and queries, waits, grids (ww_grid), dialogs (ww_dialog), windows (ww_window), clipboard, session handles (UIA3)
System8Processes, registry, environment variables, file system, network, services, scheduled tasks, machine control
AI Agent7Semantic snapshots & state diffing (ww_snapshot), element inspection (ww_inspect), event watching, test case recording, selector healing (ww_heal_script), ww_get_schema for tool discovery
Browser4Chrome/Edge via CDP — sessions, pages, elements, advanced (eval/forms/dialogs). No Selenium dependency
Security—Cross-cutting: 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_snapshot(action="get")), reducing the total tool count while maintaining full functionality. Discover the live surface anytime with winwright tools.

Configuration

Create winwright.json next to the binary (or %APPDATA%\WinWright\winwright.json). All settings live under a top-level WinWright section:

json
{
  "WinWright": {
    "Permissions": {
      "AllowShell": false,
      "AllowProcessKill": false,
      "AllowRegistryWrite": false,
      "AllowFileWrite": false,
      "AllowServiceControl": false,
      "AllowTaskScheduler": false,
      "AllowPower": false,
      "AllowLockScreen": false,
      "AllowMachineEnv": false,
      "AllowBrowserEval": false,
      "AllowNetworkProbe": true,
      "AllowFileRead": true
    },
    "Audit": {
      "Enabled": true,
      "RetentionDays": 30
    }
  }
}

All destructive operations are disabled by default — enable only what you need. AllowNetworkProbe (ping/DNS) and AllowFileRead (ww_file read/list) are the only default-true permissions; both are read-only, and worth setting to false when serving over HTTP to remote clients. Gated calls are audit-logged to daily-rotated audit-YYYY-MM-DD.jsonl files.

CLI

text
winwright mcp                                    Start MCP server (stdio)
winwright serve --port N                         Start MCP server (HTTP, default 8765)
winwright tools [--json|<name>]                  List the tool surface (CLI discovery; no MCP client needed)
winwright call <tool> [--param value …]          Invoke one tool via the local daemon (CLI automation)
winwright daemon <start|stop|status>             Control the background host that owns CLI sessions
winwright skills <install|list|uninstall>        Install the bundled Claude Code skill (offline)
winwright run <script.json> [--format text|junit] [--output <file>] [--screenshots [--screenshots-dir <dir>]]
                                                 Replay a recorded automation script
winwright heal <script.json> [--output <file>] [--min-confidence <0-1>]
                                                 Probe broken selectors against a live UI and repair them
                                                 (launches/attaches using the script's own metadata)
winwright inspect <pid>                          Dump UIA element tree for a process
winwright doctor                                 Verify environment prerequisites

Requirements

  • Windows 10 or 11 (x64 or ARM64)
  • No .NET runtime needed for the binary download — it's self-contained

Who Is This For

Good fit:

  • QA engineers testing WinForms, WPF, or Win32 apps who want AI-assisted test creation
  • Developers building AI agents that need to interact with the Windows desktop
  • Teams extracting data from legacy enterprise apps that have no API
  • Anyone automating repetitive multi-app workflows on Windows

Not a good fit:

  • Linux or macOS automation — WinWright is Windows-only (UIA is a Windows API)
  • Web-only testing — use Playwright instead; WinWright's browser tools are for mixed desktop+browser workflows
  • High-throughput data pipelines — UIA reads controls one at a time; if you need bulk data transfer, a proper API or database connection is better

How It Compares

WinWrightUiPathPower Automate DesktopPlaywright
What it automatesDesktop + browser + systemDesktop + browser + systemDesktop + browser + cloudBrowser only
How you use itAI agent via MCP (natural language)Visual workflow designerVisual workflow designerCode (JS/Python/C#)
Desktop supportWPF, WinForms, Win32 (UIA3)WPF, WinForms, Win32, Java, SAPWPF, WinForms, Win32None
Browser supportChrome/Edge via CDPChrome, Edge, FirefoxChrome, Edge, FirefoxChrome, Edge, Firefox, Safari
Selector modelAI picks elements by name/typeVisual selector recorderVisual selector recorderCSS/XPath selectors
CostFreeLicensed (per-user/bot)Free (desktop), licensed (cloud)Free
SetupSingle binary, no runtimeFull install + studioWindows store appnpm install
Designed forAI agents and MCP clientsEnterprise RPABusiness user automationDeveloper 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.

Support

Help keep this project alive and growing!

If WinWright has helped your development workflow, consider supporting its continued development. Your contribution helps with:

  • Ongoing maintenance and bug fixes
  • New feature development
  • Infrastructure costs

50% of all donations go directly to children's charities helping those in need. The remaining funds support project maintenance and feature upgrades.

Buy Me a Coffee Ko-fi

Every contribution, no matter the size, makes a difference.

License

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

Installazione

TypingMind
{
  "mcpServers": {
    "civyk-winwright": {
      "command": "Civyk.WinWright.Mcp.exe",
      "args": [
        "mcp"
      ]
    }
  }
}

Usa MCP WinWright con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso WinWright, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Puoi eseguire MCP localmente sul tuo dispositivo o connetterti all'URL di un server MCP remoto.

Opzione 1: usa il connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi WinWright come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di WinWright.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "civyk-winwright": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di WinWright, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di WinWright.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare WinWright per aiutarmi con questa attività?
WinWright
Certo. Ho letto.
Ecco cosa ho trovato con WinWright.

Opzione 2: aggiungi l'URL di un server MCP

Usa questo metodo se WinWright è già ospitato in remoto o se il tuo team vuole un unico connettore condiviso accessibile a più utenti.

1

Apri Connettori MCP

In TypingMind, vai su Plugin, apri Connettori MCP e scegli Aggiungi URL.

  1. Apri TypingMind nel tuo browser.
  2. Vai a Plugin.
  3. Apri Connettori MCP.
  4. Fai clic su Aggiungi URL.
Modulo di TypingMind per aggiungere l'URL di un server MCP personalizzato
2

Incolla l'URL del server

Inserisci l'URL del server MCP fornito dal provider nel campo URL del server. Aggiungi un nome per la connessione, una descrizione, un'icona, header HTTP personalizzati o le impostazioni del client OAuth se richiesti dal server.

  1. Incolla l'URL del server MCP fornito dal provider nel campo URL del server.
  2. Inserisci un nome per la connessione a WinWright.
  3. Aggiungi una descrizione e un'icona per riconoscere più facilmente la connessione.
  4. Aggiungi header HTTP personalizzati o i dati del client OAuth se il server richiede l'autenticazione.
3

Crea la connessione

Fai clic su Crea connessione, poi torna all'elenco dei plugin e verifica che la nuova connessione MCP sia attiva.

  1. Fai clic su Crea connessione.
  2. Torna all'elenco dei connettori MCP.
  3. Verifica che la connessione WinWright risulti attiva.
  4. Aggiorna l'elenco dei plugin se la connessione non appare subito.
4

Cambia modello senza riconnetterti

Avvia una chat con il tuo modello preferito, abilita gli strumenti di WinWright dalla sezione Plugin e passa a un altro modello quando serve. La connessione MCP rimane disponibile nell'area di lavoro di TypingMind.

  1. Avvia una nuova chat in TypingMind.
  2. Seleziona il modello IA che vuoi usare.
  3. Abilita gli strumenti di WinWright dalla sezione Plugin.
  4. Chiedi al modello di usare lo strumento quando serve.
  5. Passa a un altro modello IA e riutilizza la stessa connessione MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare WinWright per aiutarmi con questa attività?
WinWright
Certo. Ho letto.
Ecco cosa ho trovato con WinWright.

Domande frequenti

A cosa serve il server MCP WinWright?

WinWright è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare WinWright MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare WinWright con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP WinWright con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando WinWright, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego WinWright MCP a TypingMind?

Puoi collegare WinWright a TypingMind con il connettore MCP locale oppure aggiungendo l'URL di un server MCP remoto. Usa il connettore locale quando il server deve accedere a file, app o risorse private sul tuo dispositivo; usa invece l'URL del server quando il server MCP è ospitato in remoto.

Quali strumenti offre WinWright MCP in TypingMind?

WinWright mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare WinWright MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se WinWright richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇