umbriel MCP Server
See and drive a whole Windows machine from Bun — apps, input, screen, OCR, registry, OS — via MCP.
umbriel scores 55 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Browser automation. GitHub shows 3 stars. Package registries report about 87 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
55 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
60/100 for listing completeness. Lost points: no listed tools, short summary, no docs link.
How quality is graded
Where the 55 comes from
22 + 10 + 2 + 10 + 4 + 7 = 55. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "obscuritysrl-umbriel": { "command": "bunx", "args": [ "-y", "umbriel@1.14.0" ], "env": { "UMBRIEL_PROFILE": "safe", "UMBRIEL_OS": "", "UMBRIEL_ALLOW": "", "UMBRIEL_DENY": "", "UMBRIEL_CURSOR": "", "UMBRIEL_FS_ROOT": "", "UMBRIEL_TRACE": "", "UMBRIEL_FFI_TRACE": "", "UMBRIEL_AUDIT": "", "UMBRIEL_REDACT": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
UMBRIEL_PROFILE | Optional | Capability profile: 'readonly' (inspect/read only), 'safe' (read + input + window — default), or 'full' (also os + fs tools). |
UMBRIEL_OS | Optional | Set to '1' to allow the 'os' tools (launch_app/run_program/open_path, kill_process, manage_process, control_service, set_env, registry_get/registry_list/registry_set) AND the 'fs' tools (read_file/write_file/list_dir/stat_path/make_dir/copy_file/move_file/delete_file) regardless of profile. |
UMBRIEL_ALLOW | Optional | Comma-separated tool names or categories to additionally allow on top of the profile. |
UMBRIEL_DENY | Optional | Comma-separated tool names or categories to deny, overriding the profile and UMBRIEL_ALLOW. |
UMBRIEL_CURSOR | Optional | Set to 'never' to forbid the real-cursor fallback entirely (strictly cursor-free). By default clicks/drags are cursor-free but fall back to the real hardware cursor when no cursor-free path exists. |
UMBRIEL_FS_ROOT | Optional | Sandbox root directory that the fs-category file tools (read_file/write_file/list_dir/stat_path/make_dir/copy_file/move_file/delete_file) are confined to when fs tools are enabled; open_path's path argument is honored too. |
UMBRIEL_TRACE | Optional | File path to journal every mutating tool call as JSON Lines (tool, category, masked args, ok, observation); secret-bearing args and values are redacted. Unset = no trace. |
UMBRIEL_FFI_TRACE | Optional | File path to a flush-before-call diagnostic journal of every COM vcall (slot, this-pointer, arg count). Each line is written and flushed to the OS BEFORE the native call, so after an uncatchable crash the last line names the faulting call. Has per-call overhead; unset = off. For debugging native faults only. |
UMBRIEL_AUDIT | Optional | Controls the default-on stderr audit of mutating tool calls. 'off' is the explicit opt-out (reported at startup); 'verbose' also audits reads. |
UMBRIEL_REDACT | Optional | Credential masking (default on). 'off' opts out; a regex value overrides the built-in secret shapes masked in clipboard/env/registry reads and the trace journal. |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Umbriel · A set of hands for your AI agent — and Playwright for the Windows desktop
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, use cursor-free semantic or posted input where Windows permits it, 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 for ChatGPT/Codex, Claude, and any AI agent that speaks MCP.
What is it?
Umbriel drives the Windows desktop the way a person would — through whatever channel actually works for the app in front of it:
- Pixels & OCR — when an app exposes no tree at all (canvas, custom-draw, games), fall back to full-screen capture, template matching, and text recognition.
- Semantic control — read the UI Automation tree an app exposes and target controls by name and role, not coordinates. Survives the DPI, layout, and theme changes that shatter pixel scripts.
- Sight & window control — capture the live pixels of any window (even fully GPU-composited or occluded), inspect raw HWND hierarchies, and move, raise, or size windows.
- Input routing — semantic UIA and posted-message input for background-capable controls, with a verified
SendInputfallback only when an HWND-less editor or real pointer gesture actually needs the foreground. - Drive the OS, not just GUIs — when the task is the machine, act on it directly: read and write the registry (values and keys), list / kill / suspend / reprioritize processes, query / start / stop / configure services, create / delete / enumerate scheduled tasks, read the firewall rules, enumerate network adapters and live connections, drive session power (lock / restart / sleep / hibernate), list volumes and free space, get and set environment variables, read the event log, and read or change the display mode — all native, no PowerShell or shelling out.
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.
Install
bun add umbriel
That's the entire install story. No build step, nothing to compile.
Built for AI agents
This is what Umbriel is for. Register the published server with Codex (ChatGPT desktop, CLI, and the IDE share this configuration):
codex mcp add umbriel -- bunx umbriel
Or register it with Claude:
claude mcp add umbriel -- bunx umbriel
Any MCP-speaking agent can then ground itself in the accessibility tree in ~15 ms per step and use semantic, posted-message, synthetic-input, or pixel fallback as the target requires. Most classic controls remain driveable backgrounded; a no-own-HWND Chromium/WPF/WinUI editor needs a brief unlocked foreground lease for real input. Umbriel verifies that destination before injecting, can verify the resulting editor state, and restores the previous foreground window by default.
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.
umbriel.tree(app, { agentProfile: true });
// → one cached round-trip → { role, name, automationId, bounds, children }
⚡ 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:
UMBRIEL_PROFILE=readonly # observe only
UMBRIEL_PROFILE=safe # default — observe + cursor-free control + window management
UMBRIEL_PROFILE=full # everything, including launch/run/file tools
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.
For chronological chats and logs, desktop_snapshot { root: "Messages in general", tail: 20, maxDepth: 2 } returns only the newest direct children. This avoids paying for hundreds of old loaded rows before reaching the messages that need a response.
When the window handle is already known, the same scope can be applied on the first call: attach { hWnd: "0x123", root: "Messages in general", tail: 20, maxDepth: 2 }. Use maxDepth/maxNodes without root to bound any other large initial tree.
For controlled web editors such as Discord's Slate composer, use the MCP type tool with method: "paste", verify: true, and submit: true (plus clear: true only after confirming an existing draft may be replaced). UIA set_value can mutate the exposed DOM value without updating the application's internal editor model, so it is not a reliable background-send path. An ambiguous submission is reported as unverified; never retry it blindly.
Use it from your code
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:
import { ControlType, umbriel } from 'umbriel';
const app = await umbriel.launch(['notepad.exe'], { className: 'Notepad' });
const edit = await app.waitFor({ controlType: ControlType.Document });
edit.focus().type('nothing native compiles, and it just works');
console.log(edit.text()); // → nothing native compiles, and it just works
// Drive Calculator to 5 + 3 = 8 — by name, not pixels:
const calc = await umbriel.launch(['cmd', '/c', 'start', 'calc'], { title: 'Calculator' });
for (const name of ['Five', 'Plus', 'Three', 'Equals'])
calc.find({ controlType: ControlType.Button, name })?.invoke();
console.log(calc.find({ automationId: 'CalculatorResults' })?.name); // → "Display is 8"
Why Umbriel?
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:
- Can't be paywalled — there's no compiled binary to gate behind a subscription registry.
- Has no build step — no ABI matrix, no
MSVCor Python toolchain, nonode-gyp. - Talks to Windows in-process — no
127.0.0.1:4723round-trip, no Appium daemon, no Developer Mode, noWinAppDriver.
| 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. |
Highlights
| 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. |
Requirements
- Semantic first, pixels where there's no structure — custom-draw, games, and WebGL surfaces fall back to the built-in pixel + OCR layer; everything with a tree gets exact semantic targeting.
- Synthetic typing and real clicks need an unlocked desktop —
invoke, reads, andsetValuework even on a locked session, so prefer them. - Minimized driving is for classic Win32 windows —
invoke/setValue/togglekeep 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. - Windows 10 or 11, Bun ≥ 1.1 — Windows-only and Bun-only, the owned trade-off for zero dependencies and in-process speed.
Going deeper
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
Frequently asked questions
What is umbriel MCP Server?
See and drive a whole Windows machine from Bun — apps, input, screen, OCR, registry, OS — via MCP.
How do I install umbriel MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. umbriel MCP Server runs locally from the npm package umbriel with the command bunx -y umbriel@1.14.0.
Is umbriel MCP Server free and open source?
Yes. umbriel MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does umbriel MCP Server support remote (HTTP) connections?
No remote endpoint is listed for umbriel MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is umbriel MCP Server's trust score calculated?
umbriel MCP Server scores 55 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
