omarchy-pilot-mcp
Controls Hyprland desktop windows and overlay layers to capture screenshots, perform clicks, draw click-through annotations, and manage live highlights on the user's behalf.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
omarchy-pilot
Fast, audited computer control for Omarchy Linux (Hyprland + Quickshell) powered by OpenRouter's Decisions API.
Highlights
Sub-300 ms Visual Grounding: Plans multi-step UI routes once with a fast System-2 planner (
openai/gpt-6.2-solorgoogle/gemini-4-neon), then executes each click in ~270 ms using System-1 bounding-box localization (~typesafe/jev-latestbox+liquid/d1.3-ultranoulover OpenRouter/api/alpha/decisions, or nativeapi.liquid.aivia--backend liquid-direct).Native Omarchy Top-Bar Control Center (
k4c.omarchy-pilot): Lives cleanly inside Omarchy's native top menu bar — no floating corner pills over your windows! Shows the machine's host name and active agent right in the bar; click to open a native dropdown menu with PC identity, connected agents, Pause/Resume human takeover, Clear Overlays, a redacted screenshot preview (AUDIT SAFE/REDACTED · ROTATE), and a scrollable history list of every screenshot taken.Zero-Footprint Click-Through Live Annotations: Draws click-through glowing highlight boxes, spotlight scrim, Bézier leaders, 2.5× magnifier loupe, and 420 ms click ripples directly over live Hyprland windows (
WlrLayer.Overlay) — and stays completely invisible when idle.Always-On Credential Leak Guard & Audit Logging: Every screenshot is screened by
liquid/d1.3-ultrafor visible passwords, API keys, tokens, or open password managers. Any detected credential region is localized, blurred, and covered withREDACTED - ROTATE CREDENTIALbefore saving to disk, the HUD, or chat, and flaggedrotation_required: truein both~/.local/state/omarchy-pilot/audit.jsonland VictoriaLogs (when configured).Multi-Omarchy Fleet & Public-Ready: Works locally on any Omarchy desktop with just
OPENROUTER_API_KEY, or across multiple Omarchy machines (desktop-host,dev-workstation, etc.) via~/.config/omarchy-pilot/hosts.jsonand theomarchy-pilot-mcpMCP server.
Related MCP server: astra-linux-agent
New in 0.4.0
Native Omarchy Top-Bar Widget (
k4c.omarchy-pilot). Replaced the floating bottom-right HUD pill/drawer with a validated first-party-styleomarchy-shellbar widget placed besideomarchy.agentsin the Omarchy top bar (~/.config/omarchy/plugins/k4c.omarchy-pilot/). Left-click opens a native Omarchy dropdown menu showing:Host / PC name (e.g.
omarchy · desktop-host,dev-workstation) and live statusConnected AI agents with coloured badges, window scope, and live
acting/connectedstateHuman-takeover Pause / Resume button (also right-click on the bar widget or
Super + Shift + Escape) and Clear button when live overlays are on screenRedacted screenshot preview & scrollable history list — click any past screenshot or scrub with
◀/▶/Super + </Super + >to inspect what each agent saw and did
Zero floating corner chrome.
omarchy-pilot-hud.servicenow renders only the click-throughomarchy-pilot-overlay(live highlight boxes, spotlight scrim, and 420 ms click ripple) and stays completely invisible whenever idle.Auto-fold top-bar dropdown before capture. If the Pilot dropdown menu is open when an agent takes a screenshot, the worker closes it via
omarchy-shell k4c.omarchy-pilot closeand waits for the compositor to drop the layer before capturing.Per-screenshot agent attribution. Every recorded screenshot stores the agent name and colour that captured it.
New in 0.3.0
Human takeover (Pause). A
⏸button on the HUD pill andSuper + Shift + Escapefreeze every agent on that desktop. It is enforced by the worker on the machine, not by the agent: while paused, every screenshot and every click is refused, whoever asks. A running sprint waits about 20 s for you, then returnspaused: truewith the steps it finished. Only the person at the machine can resume; controllers and MCP tools can pause but have no resume.Polite on a shared desktop. Inside a
window_scope, each action is one locked burst (click, type, Return) and the cursor and keyboard focus are put back where you, or the other agent, had them. A click is only pressed if the cursor is verifiably on the target; if you are moving the mouse, the click is dropped, not misplaced.Agent pills. Each connected agent shows a small coloured pill above the HUD (
Blender · blender,Browser · wikipedia), highlighted while it acts and removed when it disconnects.OCR only where pixels changed. The local pre-upload secret gate keeps the previous frame per window and compares exactly, row by row (2 ms). Unchanged frame: OCR skipped (1,259 ms → 7 ms). A few changed rows: only those bands are read again (~30 ms). Never a perceptual hash: on an ordinary desktop frame a new line of text flips 0 of 576 bits of a 32×18 hash (
tests/test_frame_cache.py).Tailnet discovery.
omarchy-pilot discoverand the MCP toolomarchy_list_hostsanswer "which machines do I have desktop access to right now?" See Discovery.Arch packages.
omarchy-pilot-node(the controlled desktop, 31 kB) andomarchy-pilot(controller + MCP server). See INSTALL.md.The idle HUD went from about 10% of a core to under 1%, and the audit drawer folds itself when an agent needs the pixels under it.
Install
See INSTALL.md for full public, local, fleet, MCP, and VictoriaLogs setup, or run:
./install.shCLI Quick Reference
omarchy-pilot discover # which desktops can I control right now?
omarchy-pilot discover --probe new-box # log into one tailnet peer, enroll it if it is a pilot desktop
omarchy-pilot --host desktop-host status # session, pointer, HUD, paused
omarchy-pilot --host desktop-host install-hud --label "desktop-host" # top-bar widget + overlay + hotkeys (enrolls host)
omarchy-pilot --host desktop-host screenshot # audited + redacted screenshot
omarchy-pilot --host desktop-host click --target "Search box" --type "Hyprland" --submit --window chromium
omarchy-pilot --host desktop-host annotate --topic "Explain Wayland on this page"
omarchy-pilot --host desktop-host pause # freeze every agent there (resume is on the machine)
omarchy-pilot --host desktop-host clear # clear live overlay boxesOn the controlled machine itself: omarchy-pilot-node setup | status | pause | resume.
MCP Tools (omarchy-pilot-mcp)
omarchy_list_hosts(live: every known desktop withaccess: ready / paused / offline / no-session / unreachable)omarchy_discover_hosts(tailnet candidates; logs into a peer only when it is named inprobe)omarchy_agent_identify(name this agent's pill on the HUD)omarchy_pause(freeze all agents on a desktop; there is no resume tool)omarchy_screenshot_auditomarchy_locate_and_click(fast parallel guard+box,annotate=falsedefault with fading 420 ms click ripple)omarchy_autonomous_run(pure System-1 multi-page sprint — zero LLM round-trips between screens)omarchy_annotate_screen(non-overlapping opaque callouts, spotlight scrim, Bézier leaders, 2.5× magnifier loupe)omarchy_clear_annotationsomarchy_audit_history
All action tools accept an optional host ("desktop-host", "omarchy", "dev-workstation", "local", a tailnet name…), window_scope, and park_cursor.
Discovery
Tailscale tells the controller who is on the tailnet and online. It does not say which peer is a desktop: peers expose only name, OS, online state, tags and addresses. So access is proven the one way that proves it, by running the worker's handshake over SSH, and a login is never made lightly:
Machine | What discovery does |
Known host ( | re-checked over SSH, result cached 5 min |
Known host, offline on the tailnet | reported |
Other Linux peer with a | listed as a candidate, not contacted |
…the same, named in | logged into once; enrolled if it is a pilot desktop |
Peer with no documented SSH path, other tailnets, non-Linux | never contacted |
A machine becomes known in one of three ways: you wrote it into ~/.config/omarchy-pilot/hosts.json, you ran install-hud on it from the controller, or a probe found a pilot desktop there. To have new boxes with a naming convention appear by themselves:
{ "hosts": { }, "discovery": { "auto_probe": ["omarchy-*"], "tags": ["tag:omarchy-pilot"] } }Nothing listens on a port on either side; ss -ltnp is unchanged by installing a node.
Hotkeys & Top-Bar Menu Controls
Left-click top-bar widget: open / close the Omarchy Pilot dropdown menu (PC name, active agents, Pause/Resume, redacted screenshot preview & scrollable history)
Right-click top-bar widget or
Super + Shift + Escape: pause / resume every agent on this desktop (human takeover)Middle-click top-bar widget or Clear button in the dropdown: instantly clear any lingering live overlay boxes and spotlight scrim
Super + <(SUPER + SHIFT + COMMA): open the dropdown and scrub backward through redacted action screenshotsSuper + >(SUPER + SHIFT + PERIOD): open the dropdown and scrub forward through redacted action screenshots
Tests
uv run python tests/test_worker_logic.py # burst rules: park/restore, contended cursor, pause (no desktop needed)
uv run python tests/test_frame_cache.py # the OCR cache never lets a secret through (ground-truth fuzz)
uv run python tests/test_discovery.py # which machines get contacted, and which never do
uv run python tests/test_local_redact.py && uv run python tests/test_layout.py
uv run python tests/live_desktop.py --host desktop-host # real desktop, no model calls: 20 checks read back from the compositorTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Let your AI see your screen, click, type and run commands on your own Windows, Mac or Linux PC.
A cloud Linux desktop for your AI: browse, click, type, read the screen and run commands.
Let AI see and use your own Windows PC with your permission: screen, apps, mouse and keyboard.
Cloud desktops for AI agents: create a Linux computer, see its screen, click, type and run tasks.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables any LLM to fully control an Omarchy Linux desktop, including themes, apps, screenshots, reminders, audio, brightness, and Hyprland window tiling, with safety guards on destructive operations.1081MIT
- AlicenseNot gradedqualityDmaintenanceEnables an AI agent to see and control a Linux desktop via Wayland/Hyprland, providing screenshots, structured desktop state, pointer/keyboard input, semantic window/workspace tools, and a policy engine for safe execution.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to observe and control the user's live desktop by listing apps, reading accessibility trees, and performing clicks, typing, scrolling, dragging, and other input actions with per-action approvals and local audit archives.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to see and control an existing Linux X11 desktop over SSH by taking screenshots and performing mouse, scroll, typing, and keyboard-shortcut actions across browsers, terminals, file managers, and other apps.1MIT