Playwright for the Windows desktop, from Bun β drive native GUIs via UI Automation + MCP.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Drive any Windows app through five layers β fall back to OCR and pixel-matching when there's no other way in, see and manage windows even when they're hidden, send cursor-free synthetic input, target controls by name and role, and reach past the GUI to drive the OS itself: processes, services, the registry, scheduled tasks, the firewall, network, power, displays, disks, environment, and the event log. Built by Claude, for Claude β but any AI agent over MCP can use it.
Umbriel drives the Windows desktop the way a person would β through whatever channel actually works for the app in front of it:
Underneath it's a few kilobytes of TypeScript on Bun's built-in FFI β no Appium server, no .NET, no node-gyp, no prebuilt binaries.
That's the entire install story. No build step, nothing to compile.
This is what Umbriel is for. Hand the whole desktop to an agent with one line:
Any MCP-speaking agent then drives Windows cursor-free, ~15 ms per step, even on a background, locked, minimized, or occluded window. No mouse hijacking, no screenshots required. It was built by Claude, for Claude, but nothing about it is Claude-specific β any AI over MCP works.
A screenshot agent burns image tokens on every step β then burns them again to screenshot its own result, because it can't read state out of pixels. Umbriel maps the whole window to plain text you cache once and reuse across steps, and reads results straight back from that map. Same grounding Microsoft's UFO2 and the OSWorld-Human benchmark recommend (structure first, vision second) β without the bill.
β‘ Maps a window in ~13 ms Β· tokens are text you cache once and reuse, not an image re-bought every step Β· up to ~2000Γ faster grounding than a 3β26 s screenshot pipeline
| Per agent step | Screenshot agent | Umbriel |
|---|---|---|
| Tokens | 1.5β2.7k image β then re-shot to self-check | ~3k text β cached & reused across steps |
| Grounding time | 3β26 s | ~13 ms |
| Reads state back? | no β must take another screenshot | yes β straight from the snapshot |
Umbriel figures measured on Windows 11, Bun 1.4 (14.3 ms Β· ~3k tokens on Calculator; single property read ~58 Β΅s) β reproduce with bun run example/benchmark.ts. Screenshot-pipeline figures are published third-party results (OSWorld-Human; computer-use image-token costs).
The MCP server exposes 99 snapshot-first tools (76 under the default safe profile; 41 under readonly; the 23 os/fs tools need full or UMBRIEL_OS=1) behind a deployer policy you control:
desktop_snapshot returns a ref-keyed view β Button "Five" [ref=e49#3] β and every action replies with the smallest faithful update: a compact delta when little changed, a pruned snapshot when more did. The model re-grounds without drowning in tokens.
Umbriel is also a first-class library for E2E tests and desktop automation β find by name β wait β act β assert, just like getByRole on the web:
The Windows desktop-automation corner of npm is a minefield of native-addon build failures, paywalls, and abandoned daemons. There has been no zero-install, typed, in-process Windows-automation client for Node or Bun β until this.
Because Umbriel is plain TypeScript over Bun's own FFI, it:
MSVC or Python toolchain, no node-gyp.127.0.0.1:4723 round-trip, no Appium daemon, no Developer Mode, no WinAppDriver.| Tool | Weekly dl | The catch |
|---|---|---|
| FlaUI / pywinauto / AutoIt | n/a | A whole foreign runtime (.NET / Python / bespoke EXE) to install and ship. |
@bright-fish/node-ui-automation | 33 | The only real npm UIA wrapper β dead since 2022. |
@nut-tree-fork/nut-js | 32,360 | Fork of a now-paywalled original. Pixel/image-match only β no semantic model. |
appium-windows-driver | 30,749 | Needs an Appium server plus a separate WinAppDriver.exe Microsoft hasn't maintained in years. |
robotjs / @jitsi/robotjs | 11,375 / 15,333 | node-gyp C++ compile β the #1 documented install failure. Blind pixels + keystrokes, no element model. |
uiohook-napi | 21,965 | Healthy, but global hooks run on a foreign thread and can segfault. |
| Capability | What it does | |
|---|---|---|
| π | Chromium & Electron | Drive the in-page DOM of Chrome, Edge, and Electron apps (Discord, Slack, Spotify, VS Code) as real elements β same API as native controls. |
| π οΈ | Drive the OS, not just GUIs | Registry (read + typed write + key create/delete), processes (info / kill / suspend / reprioritize), services (+ config), scheduled tasks (+ create / delete), firewall rules, network adapters & connections, session power, volumes & free space, env vars, event log, displays (read + set mode) β all native, no PowerShell. |
| π | Clipboard | Large-text paste with no per-keystroke corruption, plus copy-and-read from any app. |
| π | Drive in the dark | invoke / scroll / setValue / toggle move no cursor β they work on hidden, minimized, occluded, or locked windows. |
| πΌοΈ | Pixel & OCR fallback | Coordinate clicks, full-screen capture, template matching, and text recognition for canvases and games. |
| π | Reads everything | MSAA trees, bounding boxes, data-grid cells, enabled/checked state, native HWND hierarchies, text, and values. |
| π | Real Unicode input | Japanese, Korean, accented Latin, and emoji round-trip through three input paths β proven by a regression test. |
| ποΈ | See the unseen | Capture the live pixels of a GPU-composited or occluded window via Windows.Graphics.Capture. |
| π― | Semantic targeting | Find controls by automationId, name, or role β exact matches filtered inside the target app for speed. |
| π§© | Works across the stack | Electron/Chromium, Java, Qt, WPF, Win32, WinForms, WinUI/UWP β each pinned by its own regression test. |
| β³ | waitFor | Playwright-style auto-retry for flaky native UIs, with timeouts that quote the nearest candidates and your selector. |
invoke, reads, and setValue work even on a locked session, so prefer them.invoke / setValue / toggle keep working on a minimized or fully backgrounded classic Win32/HWND window, but a UWP/WinUI store app suspends its UI thread and accessibility tree when minimized (the tree reads empty and posted actions don't land until it's restored), so restore it first.The complete API surface lives in AI.md β written so thoroughly that an agent (or a developer) never needs to read the source. Runnable demos are in example/.
MIT Licensed Β· Built on bun:ffi with zero native dependencies
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/umbriel)<a href="https://allmcps.com/mcp/umbriel"><img src="https://allmcps.com/api/badge/umbriel?style=directory" alt="Umbriel on AllMCPs" /></a>