Skip to main content
Glama
omarchy-mcp

omarchy-mcp

by hlsitechio

omarchy-mcp

omarchy-mcp

Give any MCP-compatible LLM full control of an Omarchy Linux desktop.

omarchy-mcp turns AI coding agents into genuine desktop operators. Through one MCP server, an agent can manage themes and appearance, launch apps, take screenshots and recordings, control audio and networking, read system state, drive Hyprland windows and tiling layouts, and orchestrate entire multi-agent workspaces — 108 tools across 15 modules.

The project is built around one rule: a desktop mutation is not successful merely because a command ran. Every action is confirmed against measured desktop state — geometry, focus, service status — so agents can act autonomously without silently failing.

Status

Current state

MCP tools

466 registered tools across 17 modules (110 hand-crafted + 356 generated from omarchy commands)

Live verification

83 of 110 hand-crafted paths recorded with measured desktop evidence; generated 356 via catalog-validated omarchy_exec

Transport

Local stdio MCP server

Runtime

Node.js 20+ and TypeScript

Desktop

Omarchy with the Hyprland Lua configuration bridge

Tiling

Native lua:omarchy-grid grid/master layout

Safety

Destructive tools disabled by default; host-window self-guard

Verification

Unit tests, MCP smoke test, and live-desktop evidence ledger

See COMMANDS.md for tool-by-tool verification status and ROADMAP.md for planned milestones.

Related MCP server: hyprland-mcp-server

Why this exists

Desktop-control tools often report that an action was dispatched without checking whether it worked. That is particularly unreliable for tiling window managers, where focus, floating rules, fullscreen state, workspace rules, and the mouse can change the target.

This server adds the missing feedback loop:

  • Window mutations report measured before/after state and a clear verdict.

  • Explicit address and match selectors reduce focus-related mistakes.

  • A PID-ancestry guard prevents the agent from closing its own host window.

  • Destructive system operations require an explicit configuration opt-in.

  • health_check diagnoses missing commands, layout installation, and desktop connectivity.

  • agent_grid turns an entire multi-agent workspace request into one verified MCP operation.

Quick start

Requirements

  • An installed Omarchy desktop

  • Hyprland with Omarchy's Lua configuration bridge

  • Node.js 20 or newer

  • npm

Individual features may also use wtype, nmcli, bluetoothctl, wpctl, grim, and wl-copy. health_check reports which optional commands are available.

Build

git clone https://github.com/hlsitechio/Omarchy-MCP.git
cd Omarchy-MCP
npm ci
npm run build
npm test

The MCP entry point is:

node /absolute/path/to/Omarchy-MCP/build/index.js

Install the native grid layout

The regular desktop tools can run without the custom layout, but deterministic grid/master tiling and agent_grid require it.

install -Dm644 hypr/layouts.lua ~/.config/hypr/layouts.lua

Make sure the user Hyprland configuration loads it:

require("hypr.layouts")

Then reload and check the configuration:

hyprctl reload
hyprctl configerrors

Omarchy package files under /usr/share/omarchy should remain untouched; the layout belongs in the user configuration under ~/.config/hypr.

Connect an MCP client

Any client that supports local stdio MCP servers can launch build/index.js.

OpenCode

Add this to ~/.config/opencode/opencode.json, replacing the path with the repository's absolute path:

{
  "mcp": {
    "omarchy": {
      "type": "local",
      "command": [
        "node",
        "/absolute/path/to/Omarchy-MCP/build/index.js"
      ],
      "enabled": true
    }
  }
}

Claude Desktop

{
  "mcpServers": {
    "omarchy": {
      "command": "node",
      "args": ["/absolute/path/to/Omarchy-MCP/build/index.js"]
    }
  }
}

Restart or reconnect an existing MCP client after rebuilding so it reloads the tool schema.

First prompts to try

  • “Check whether my Omarchy MCP is healthy.”

  • “Show every window with its workspace and geometry.”

  • “Open a 2x2 grid of OpenCode on the next empty workspace.”

  • “Put Claude top-right and Codex bottom-right.”

  • “Move Firefox to workspace 4 and confirm where it ended up.”

  • “Snap this window to the top-left and tell me its final size.”

  • “List nearby Wi-Fi networks, but do not connect to anything.”

One-command coding-agent workspaces

agent_grid launches independent Omarchy TUI windows, applies the native grid layout, assigns exact or sparse cells, and verifies each window's application class, workspace, floating state, and observed geometry.

For four applications, ask for a 2x2 grid. A literal 4x4 grid contains 16 cells and launches 16 applications when fully populated.

Homogeneous grid

Prompt:

Open a 2x2 grid of OpenCode in this repository.

Equivalent arguments:

{
  "agent": "opencode",
  "cols": 2,
  "rows": 2,
  "workspace": "next_empty",
  "cwd": "/path/to/project"
}

Mixed sparse grid

Prompt:

Open Claude in the top-right and Codex in the bottom-right.

Equivalent arguments:

{
  "cols": 2,
  "rows": 2,
  "placements": [
    { "agent": "claude", "position": "top_right" },
    { "agent": "codex", "position": "bottom_right" }
  ]
}

Supported agents are OpenCode, Claude, Codex, Gemini, Copilot, Crush, Grok, Oh My Pi (omp), and Pi. Use dry_run: true to validate a complete plan without opening windows.

Named corner assignments and explicit row/column assignments persist when the user changes workspaces. Existing tiled windows are counted before launch, and the request is rejected if it would exceed the grid capacity.

Tool groups

Domain

Tools

Examples

Window and layout control

24

focus, type, keys, snap, resize, close, workspaces, grid/master

Desktop essentials

11

launch, screenshots, reminders, audio, brightness, system status

Shell and local UI

13

notifications, DND, OSD, bar state/configuration, plugin inspection

Local plugin lifecycle

4

bounded detail, enable, disable, and packaged local clone workflows

Device and audio controls

7

audio inventory/defaults, media source, keyboard and input devices

Local launchers

3

Files/About, validated config files, and allow-listed terminal tools

Network and power

11

Wi-Fi, Bluetooth, battery, power profiles

Theme and appearance

11

themes, local backgrounds, thumbnail cache, fonts

Capture and local media

7

recording, OCR/QR selectors, transcoding, ASCII conversion

Local system state

6

versions, resources, monitor state, toggles, hardware readiness

Gated system operations

5

shutdown, packages, update, configuration refresh

Defaults and display

3

application defaults and coordinated text sizing

Health and discovery

2

readiness diagnostics, installed command search

Coding-agent orchestration

1

homogeneous and mixed agent grids

The complete list and its live-test status are maintained in COMMANDS.md.

Safety model

No shell interpolation

Commands are executed with argument arrays through Node's execFile or spawn; user input is not concatenated into shell commands.

Destructive operations are opt-in

Shutdown, reboot, package installation, system updates, and configuration refreshes are disabled by default. Enable them with:

mkdir -p ~/.config/omarchy-mcp
printf '%s\n' '{"enableDangerous": true}' > ~/.config/omarchy-mcp/config.json

Or set the process-level override:

OMARCHY_MCP_ENABLE_DANGEROUS=1 node build/index.js

Use this setting only for a client and session you trust.

Host-window protection

Window-closing and other high-risk operations resolve the MCP host process's PID ancestry and refuse to target its own terminal window. Explicit window addresses are preferred for mutations because Hyprland focus can follow the mouse.

Verified outcomes

Mutating window tools return statuses such as confirmed, split_confirmed, opened_but_not_split, or not_detected, together with the measured state and a recovery hint where appropriate.

Architecture

MCP client
    │  JSON-RPC over stdio
    ▼
MCP tool + Zod input validation
    │
    ├── Omarchy CLI ───────────── themes, capture, power, applications
    ├── Hyprland Lua dispatcher ─ windows, workspaces, native layout
    └── System CLIs ───────────── nmcli, bluetoothctl, wpctl, upower
    │
    ▼
State reread + geometry/verdict engine
    │
    ▼
Structured MCP result with STATUS, evidence, and HINT

Source layout:

src/index.ts              server and tool registration
src/exec.ts               shell-free process execution
src/hypr.ts               desktop introspection and verification helpers
src/result.ts             consistent MCP success/error results
src/config.ts             safety configuration
src/tools/                 tool domains
hypr/layouts.lua          native deterministic grid/master layout
test/                      automated and manual live tests

Hyprland window dispatches use the Omarchy Lua API, for example:

hl.dsp.window.resize({ window = "address:0x...", x = 900, y = 700, relative = false })

The native layout supports grid and master modes plus runtime messages for forced dimensions, ordering, swaps, sparse cells, and per-workspace state.

Development and verification

npm run build      # TypeScript compilation
npm test           # compilation + deterministic planner tests
npm run smoke      # live local MCP/Omarchy smoke test

The smoke test is intentionally desktop-aware. It checks tool registration, the health report, read-only Omarchy/Hyprland access, the destructive-operation gate, and an agent_grid dry run. Visual mutations are verified manually on a real Omarchy session and recorded in COMMANDS.md.

For a live agent-grid exercise:

node test/live-agent-grid.mjs

This command opens real windows and changes the active workspace; it is not part of npm test.

Troubleshooting

The new tool does not appear

Run npm run build, then restart or reconnect the MCP client. MCP clients normally cache the tool list for the life of the server process.

health_check says the grid layout is not fully installed

Confirm that ~/.config/hypr/layouts.lua exists, that the user Hyprland config contains require("hypr.layouts"), and that hyprctl configerrors is empty.

A window command selected the wrong target

Call window_list, then retry with the returned address instead of relying on the focused window. This avoids input:follow_mouse focus changes.

A dangerous tool says it is disabled

That is the safe default. Enable it explicitly only after reviewing the safety model.

A layout command reports a Hyprland warning

Some compositor no-ops are expected—for example, swapping a fullscreen window or swapping toward an empty cell. The MCP result distinguishes these warnings from confirmed mutations.

Contributing

Contributions are welcome across implementation, live verification, documentation, testing, accessibility, and release engineering. The repository provides structured issue forms for bugs, tool proposals, and verification reports, plus a pull-request checklist aligned with the project safety model.

Start with CONTRIBUTING.md, then choose a contribution lane from ROADMAP.md. Broad or high-risk changes should begin with an issue so scope, evidence, and recovery behavior can be agreed before coding.

Project documents

License

MIT

Available Tools

108 tools
agent_gridLaunch and place a grid of coding agentsA

ONE-CALL agent workspace orchestration. For 'open a 2x2 OpenCode grid', pass agent=opencode, cols=2, rows=2 (count defaults to all cells). For mixed layouts, pass placements such as Claude position=top_right and Codex position=bottom_right. Launches independent Omarchy TUI windows, assigns sparse/exact cells in lua:omarchy-grid, and verifies each final class/workspace/geometry. Defaults to the next empty workspace so an existing task is not displaced.

Inputs: cwd, cols, rows, agent, +5 more.

audio_devicesEnumerate local audio devicesA

List PipeWire/PulseAudio output sinks and real input sources with stable node IDs, availability, active ports, mute state, and current defaults. Read-only.

Inputs: no named parameters.

audio_device_set_defaultSelect a default audio deviceA

Select an exactly enumerated local output sink or input source, move active streams through Omarchy, verify the default, and roll back on mismatch. Supports dry-run.

Inputs: kind (required), name (required), dryRun.

audio_output_switchCycle audio outputB

Cycle to Omarchy's next available output while preserving mute state, then report the measured default before and after. Supports dry-run.

Inputs: dryRun.

audio_sink_availabilityAudio sink availabilityA

List local PulseAudio/PipeWire sinks and whether their ports are available, respecting Omarchy speaker-tuning exclusions. Read-only.

Inputs: no named parameters.

audio_volumeAdjust output volume (measured)A

Raise, lower or toggle mute and report the PipeWire sink state before and after.

Inputs: action (required), step.

background_current_detailsCurrent background detailsA

Report the current background's canonical local path, source, MIME, dimensions and size. Read-only.

Inputs: no named parameters.

background_set_localSet a local background (verified)A

Set one strictly validated absolute local image as the background and confirm the Omarchy state symlink. Never downloads or copies files.

Inputs: path (required).

background_thumbnail_cache_buildBuild background thumbnail cache (verified)A

Build current-theme thumbnails locally through Omarchy and verify its signature, rows and output files afterwards.

Inputs: no named parameters.

background_thumbnail_cache_statusBackground thumbnail cache statusA

Verify the current theme's local background thumbnail rows, source signature and generated files. Read-only.

Inputs: no named parameters.

bar_position_setSet Omarchy bar position (verified)B

Move the bar to an exact screen edge and verify shell.json afterwards.

Inputs: position (required).

bar_stateRead Omarchy bar stateA

Read visibility, position, transparency, active bar, and widget layout without changing anything.

Inputs: no named parameters.

bar_transparency_setSet Omarchy bar transparency (verified)A

Set bar transparency explicitly (never toggle blindly), then verify shell.json.

Inputs: transparent (required).

bar_visibility_setSet Omarchy bar visibility (verified)A

Explicitly show or hide the bar, then verify the on-disk visibility flag.

Inputs: visible (required).

bar_widget_moveMove an Omarchy bar widget (verified)B

Move an existing widget to an exact bar section/index and verify its final location.

Inputs: id (required), index (required), section (required).

battery_statusBattery statusA

Return Omarchy's formatted battery status. An empty result means no battery is installed.

Inputs: no named parameters.

bluetooth_connectConnect/disconnect a Bluetooth device (verified)A

Connect to or disconnect a known device by MAC address using Omarchy's wrapper, then verify BlueZ state.

Inputs: action (required), address (required).

bluetooth_devicesList known Bluetooth devicesB

List known Bluetooth devices. Read-only.

Inputs: no named parameters.

bluetooth_statusBluetooth adapter statusA

Report whether the default Bluetooth adapter is powered. Read-only.

Inputs: no named parameters.

bluetooth_togglePower Bluetooth on/offB

Use Omarchy's persistent rfkill-aware Bluetooth power command and verify the adapter state.

Inputs: state (required).

brightness_displayRead or adjust display brightnessB

Read or adjust brightness on the focused display and report the measured value afterwards.

Inputs: change.

capture_region_clipboardCapture text or QR code to clipboardA

Launch Omarchy's interactive region selector without blocking the MCP request. OCR text or the sensitive QR value is copied locally to the clipboard and is not returned to the model.

Inputs: kind (required).

capture_screenshotTake a screenshotC

Take a screenshot. region/windows require an interactive selection. save returns and verifies a PNG path; copy writes only to the clipboard.

Inputs: mode, action.

desktop_statusDesktop statusA

Read-only snapshot of the desktop: monitors, workspaces and the currently focused window. Call this before/after window operations to see actual state.

Inputs: no named parameters.

display_text_sizeRead or set desktop text sizeA

Read, preview, set, or reset Omarchy's coordinated shell/GTK/terminal text size. Set/reset supports dry-run and verifies every queryable post-state.

Inputs: no named parameters.

font_listList monospace fontsA

List monospace fonts available for the terminal/UI in Omarchy.

Inputs: no named parameters.

font_setSet the UI font (verified)A

Change Omarchy's font using a value from font_list, then verify font_current.

Inputs: name (required).

hardware_readinessLocal hardware readinessA

Read battery/power, external-monitor, backlight, hybrid-GPU, and hibernation readiness using only local Omarchy predicates and kernel state.

Inputs: no named parameters.

health_checkCheck Omarchy MCP readinessA

Diagnose local dependencies, Omarchy/Hyprland runtime access, custom grid-layout installation, and the destructive-tool gate. Use this first when tools are failing.

Inputs: live.

hypr_dispatchRaw Hyprland dispatch (Lua API)A

Run any Hyprland dispatcher via the Omarchy Lua API. Expression must start with 'hl.' and only use the safe allow-listed charset, e.g. "dsp.focus({ monitor = '+1' })". For power users / creative layouts.

Inputs: expression (required).

hypr_statusHyprland statusB

Get current Hyprland workspaces and the focused window.

Inputs: no named parameters.

image_to_asciiConvert a local image to ASCII artB

Convert an absolute local PNG or SVG to a new .txt file. Paths and numeric arguments are bounded; existing outputs are never overwritten.

Inputs: input (required), output (required), mode, trim, +4 more.

input_device_controlTouchpad or touchscreen controlA

Read or explicitly enable/disable the locally detected touchpad or touchscreen using Omarchy's persistent Hyprland state, with verification and rollback. Supports dry-run.

Inputs: no named parameters.

keyboard_backlightKeyboard backlightA

Read or adjust a detected keyboard-backlight LED using Omarchy's bounded actions. Mutations are measured and rolled back if the expected level is not observed. Supports dry-run.

Inputs: no named parameters.

launch_appLaunch an applicationA

Launch a supported desktop app via Omarchy. A URL is accepted only for browser.

Inputs: app (required), url.

layout_gridConfigure omarchy-grid dimensionsA

Force an explicit C x R cell grid on the active workspace (e.g. 4x4). Omit both to return to aspect-aware auto sizing.

Inputs: cols, rows.

layout_modeSet omarchy-grid layout modeA

Switch the active workspace between layout modes of the native Lua grid: "grid" (deterministic row-major cells) or "master" (first window = full-height left column, rest stacked right). Returns the layout's own confirmation.

Inputs: mode (required).

layout_orderShow omarchy-grid window orderA

Debug view: the placement order (and titles) of tiled windows on the active workspace. Position 1 becomes the master slot in master mode; position 1 is top-left in grid mode.

Inputs: no named parameters.

layout_preselectPreselect split directionA

Choose which side of the focused tile the NEXT opened window will occupy. Chain with open_window for split layouts, e.g. preselect 'r' then open a terminal to get a right-hand split.

Inputs: direction (required).

layout_swap_windowsSwap two windows' placement slotsC

Exchange the grid/master placement order of two windows by their positions in layout_order (1-based). Verified with fresh geometry afterwards.

Inputs: a (required), b (required).

layout_togglesplitToggle split orientationA

Flip the split orientation of the active workspace (horizontal <-> vertical).

Inputs: no named parameters.

layout_tomasterPromote a window to the master slotA

In master mode, move the Nth window (see layout_order) into the full-height left column; the remaining windows stack in the right column.

Inputs: index (required).

local_config_openOpen a validated local config fileB

Open one existing readable local file through Omarchy's configured editor. No URLs, shell commands, file creation, or installer fallbacks.

Inputs: path (required).

local_tui_launchLaunch or focus a bounded local TUIC

Launch a supported local TUI in Omarchy's terminal with an argv array and exact app ID, or focus an existing matching window. No shell strings or URLs.

Inputs: command (required), cwd, args, reuse.

local_utility_openOpen or focus a local Omarchy utilityB

Open About or Files using local installed commands, or focus an exact existing class. An optional Files directory is validated and always opens a new window.

Inputs: target (required), reuse, directory.

media_source_switchCycle active media sourceA

Cycle the active local MPRIS media source forward/backward, optionally transferring playback, with before/after shell status evidence. Supports dry-run.

Inputs: dryRun, direction.

media_transcodeTranscode a local picture or videoA

Deterministically transcode one absolute local media path using Omarchy. Refuses output overwrite and interactive menus.

Inputs: input (required), format (required), resolution (required).

mic_mute_toggleToggle microphone mute (measured)A

Toggle microphone mute and report the PipeWire source state before and after.

Inputs: no named parameters.

monitor_panel_stateMonitor panel stateA

Read Omarchy's monitor panel protocol as structured JSON: brightness, internal/external/focused displays, mirroring, scaling, and enabled monitor geometry.

Inputs: no named parameters.

notification_dismissDismiss matching Omarchy notificationsA

Dismiss visible notifications whose headline contains the supplied substring.

Inputs: summary (required).

notification_dnd_setSet notification do-not-disturb state (verified)B

Set Omarchy notification silencing explicitly and verify the resulting state.

Inputs: enabled (required).

notification_dnd_statusRead notification do-not-disturb stateA

Read the Omarchy shell notification-silencing state without changing it.

Inputs: no named parameters.

notification_sendSend a safe Omarchy notificationA

Send a local desktop notification and return the daemon-assigned ID. Click commands, remote images, and arbitrary notify-send options are intentionally unsupported.

Inputs: headline (required), glyph, urgency, description.

notification_timeShow the current time notificationA

Show Omarchy's local current time and date notification. Does not use weather or network services.

Inputs: no named parameters.

omarchy_commandsSearch installed Omarchy commandsA

Search the machine-readable command catalog from the installed Omarchy version. Useful for discovering the correct current route and arguments before adding or troubleshooting a wrapper.

Inputs: group, limit, query.

omarchy_defaultsOmarchy application defaultsA

Read the current browser, editor, terminal, and coding-agent defaults plus locally available supported choices. No selectors or applications are launched.

Inputs: no named parameters.

omarchy_default_setSet an Omarchy application defaultA

Set a locally available browser, editor, terminal, or coding-agent default with before/after verification. Agent state is updated without invoking Omarchy's install-and-launch setter. Supports dry-run.

Inputs: no named parameters.

omarchy_toggle_statusOmarchy feature statusA

Read normalized enabled/disabled state for an allow-listed Omarchy feature without changing it. Idle enabled means normal idle behavior is allowed.

Inputs: feature (required).

omarchy_version_infoOmarchy version and channel informationA

Read the installed Omarchy version, active channel, configured mirror/package channel, and timestamp of the last package upgrade. Fully local; does not check remote updates.

Inputs: no named parameters.

open_window_splitOpen an app into a chosen split (verified)A

Preselect a split direction and launch a command, then VERIFY on-screen that the new window actually tiled into that split. Returns the landed window's geometry and a verdict with correction hints. Example: direction='d', app='terminal' opens a terminal below the focused one.

Inputs: direction (required), args, command, refocus.

osd_showShow a safe Omarchy OSD (verified)C

Display a local Omarchy on-screen message or 0-100 progress value and verify that the OSD opened.

Inputs: icon, message, progress, durationMs.

pkg_addInstall Arch packages (gated and verified)C

Install packages through Omarchy, then verify that all are present. Requires enableDangerous.

Inputs: packages (required).

pkg_add_aurInstall AUR packages (gated and verified)A

Install AUR packages through Omarchy, then verify that all are present. Requires enableDangerous.

Inputs: packages (required).

plugin_listList Omarchy shell pluginsA

List locally discovered plugins and their state. This performs no install, update, or network access.

Inputs: no named parameters.

plugin_local_cloneClone a packaged Omarchy UI plugin locally (verified)A

Clone a stock non-service UI plugin from packaged files into the user's plugin directory, refusing collisions and verifying discovery/activation. Defaults to dry-run.

Inputs: sourceId (required), dryRun.

plugin_local_detailInspect a local Omarchy pluginA

Inspect one already-discovered local plugin, its sanitized manifest, runtime state, and bar location. No URLs or network access are used.

Inputs: id (required).

plugin_local_disableDisable a discovered local plugin (verified)C

Disable a reversible local plugin and verify catalog/bar state. Critical first-party services and active bars are refused. Defaults to dry-run.

Inputs: id (required), dryRun.

plugin_local_enableEnable a discovered local plugin (verified)A

Enable an already-discovered plugin. Bar widgets require an exact section/index; bar replacements are refused. Defaults to dry-run.

Inputs: id (required), dryRun, placement.

plugin_validateValidate a local Omarchy shell pluginA

Validate a local plugin folder against Omarchy's manifest schema. Symlink roots are rejected; nothing is installed or downloaded.

Inputs: folder (required).

powerprofiles_listList power profilesA

List profiles and mark the active one. Read-only.

Inputs: no named parameters.

powerprofiles_setSet power profile (verified)B

Set and remember a profile for the detected, AC, or battery power source; verify the active profile afterwards.

Inputs: profile (required), source.

refresh_configRefresh a config to defaults (gated)B

Reset one known Omarchy configuration target to packaged defaults. Omarchy creates its normal backup. Requires enableDangerous.

Inputs: target (required).

reminder_clearClear reminders (verified)A

Clear all pending reminders and verify the store is empty.

Inputs: no named parameters.

reminder_setSet a reminder (verified)A

Set a notification reminder after N minutes and verify it appears in the reminder store.

Inputs: message (required), minutes (required).

reminder_showShow remindersA

List pending desktop reminders as structured JSON.

Inputs: no named parameters.

screenrecording_startStart full-screen recording (verified)A

Start a non-interactive full-screen recording and verify the recorder process. Never opens a region picker.

Inputs: webcam, resolution, webcam_size, desktop_audio, +2 more.

screenrecording_statusScreen recording statusA

Report whether gpu-screen-recorder is active and measure the current output file. Read-only.

Inputs: no named parameters.

screenrecording_stopStop screen recording (verified)A

Stop the active recording gracefully and verify that the recorder exited and its MP4 exists.

Inputs: no named parameters.

self_window_infoIdentify this agent's own window (PID lock)A

Resolve and report the terminal window this agent is running in, by walking PID ancestry — like Windows' 'which window am I'. This locks our identity for tools that move/resize us.

Inputs: no named parameters.

self_window_snapSnap this agent's own window to a cornerA

Float + pin + resize + position OUR OWN host window (found via PID lock) to a corner of a monitor, then verify the result. corner: tl=tr/bl=br or center. No focus stealing; targets by address.

Inputs: corner (required), pin, width, height, +1 more.

speaker_tuning_statusSpeaker tuning statusA

Read Omarchy speaker-tuning installation, service, virtual-sink, default-sink, and hardware-match state. Read-only.

Inputs: no named parameters.

system_infoOmarchy debug infoB

Print Omarchy debug/system information using safe non-sudo flags.

Inputs: no named parameters.

system_powerLock, reboot, or shut downA

Lock is always available. Reboot and shutdown require enableDangerous because they terminate the desktop session.

Inputs: action (required).

system_resource_statsLocal CPU and memory statisticsA

Read Omarchy CPU/memory statistics plus local load averages and uptime. Read-only and offline.

Inputs: no named parameters.

theme_bg_nextNext wallpaper (verified)A

Switch to the next background for the current theme and report the resulting path.

Inputs: no named parameters.

theme_currentShow current Omarchy themeA

Show the name of the currently applied Omarchy theme.

Inputs: no named parameters.

theme_directory_lookupResolve an installed theme directoryB

Resolve and verify a local installed theme directory. Slugs only; no URLs, installation, or downloads.

Inputs: name (required).

theme_listList Omarchy themesA

List all available Omarchy themes.

Inputs: no named parameters.

theme_setApply an Omarchy theme (verified)A

Apply a theme from theme_list and verify the current theme afterwards.

Inputs: name (required).

toggle_featureSet an Omarchy feature (verified)A

Toggle or explicitly enable/disable nightlight, screensaver availability, or suspend availability. Handles Omarchy 4's specialized toggle routes and verifies final state.

Inputs: feature (required), state.

update_systemUpdate the system (gated)B

Run the full Omarchy update workflow. It can take many minutes and requires enableDangerous.

Inputs: no named parameters.

webcam_overlay_resizeResize webcam overlay (measured)A

Resize the active screen-recording webcam overlay and report its geometry before and after.

Inputs: action (required).

wifi_connectActivate a saved Wi-Fi connectionA

Activate a saved NetworkManager Wi-Fi connection by its connection name and verify it becomes active. Does not accept or create passwords.

Inputs: ssid (required).

wifi_listList visible Wi-Fi networksA

Scan visible networks, de-duplicate SSIDs, and show strongest signal/security. Read-only.

Inputs: no named parameters.

wifi_statusWi-Fi radio statusA

Report Wi-Fi radio state and active Wi-Fi connection names. Read-only.

Inputs: no named parameters.

wifi_toggleEnable/disable Wi-Fi radioA

Turn Wi-Fi on or off and verify the radio state afterwards. Turning it off may disconnect the MCP client.

Inputs: state (required).

window_closeClose a window (self-guarded)A

Close a window by explicit address/match, or the currently focused window if omitted. REFUSES to close this agent's own host terminal either way. Check window_list/desktop_status to pick a target first.

Inputs: match, address.

window_float_toggleToggle floatingB

Toggle a window between floating and tiling. Defaults to the focused window; pass address/match for an explicit target.

Inputs: match, address.

window_focusFocus a windowA

Move focus to the neighboring window in a direction.

Inputs: direction (required).

window_fullscreenFullscreen/maximize toggleA

Toggle fullscreen (real) or maximized (fake). Defaults to the focused window; pass address/match for an explicit target.

Inputs: mode, match, address.

window_keysFocus a window and send key sequences (verified)A

One-shot keyboard shortcuts to ANY window: resolve + verify-focus target, then inject keys via wtype. Each step is a keysym with optional modifiers joined by "+": "Return", "Escape", "Tab", "ctrl+p", "alt+shift+e". For menus and TUI navigation (e.g. ctrl+p in opencode).

Inputs: keys (required), match, address.

window_listList windowsA

List all mapped windows with class, title, pid, workspace and geometry. Use to identify targets before acting.

Inputs: no named parameters.

window_resizeResize the focused windowA

Resize by pixel deltas, e.g. x=100 grows right side, x=-100 shrinks. relative=true is implied. Optionally pass address/match to resize an explicit window instead of the focused one (safer with follow_mouse=1).

Inputs: x, y, match, address.

window_snapSnap any window to a corner (verified)A

Float + pin + resize + position ANY window to a corner of the focused monitor, then verify on-screen. Target by exact address or by class/title substring match (e.g. match="chrome"). Defaults to the SUPER+O standard size 1300x900. Example: "open chrome bottom right" = launch_app(browser) then window_snap(match="chrome", corner="br").

Inputs: corner (required), pin, match, width, +4 more.

window_swapSwap/move a tiled windowC

Swap a tiled window with its neighbor using a locked address target, then verify geometry changed.

Inputs: direction (required), match, address.

window_to_workspaceSend window to workspaceA

Move a window to another workspace, optionally following focus. Defaults to the focused window; pass address/match for an explicit target.

Inputs: workspace (required), match, follow, address.

window_typeFocus a window and type into it (verified)A

One-shot text input to ANY window: resolve target (match/address), focus it with measured verification, then type via wtype. Defaults to the currently focused window if no target given. submit=true presses Return afterwards. Example: window_type(match="opencode", text="hi", submit=true) — talk to another agent.

Inputs: text (required), match, submit, address.

workspace_layoutSet a workspace tiling engine (verified)A

Switch a workspace between the MCP grid, Hyprland dwindle, master, or scrolling tiling engine and verify tiledLayout. Use dwindle before layout_preselect/open_window_split; use omarchy-grid for deterministic grids.

Inputs: layout (required), workspace.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 108 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes with detailed descriptions, but the sheer number creates some overlaps such as window_snap vs self_window_snap and layout_swap_windows vs window_swap. While these are functionally different, an agent may struggle to pick the right one in ambiguous situations.

    Naming Consistency4/5

    The majority of tools follow a consistent verb_noun pattern (e.g., wifi_toggle, theme_set, window_close). Minor deviations exist, such as noun-based names like system_info and omarchy_version_info, but the style remains predictable and clear throughout the set.

    Tool Count1/5

    With 108 tools, this server vastly exceeds any reasonable tool count for an MCP server. Even for a broad desktop environment, the number is overwhelming and will likely lead to tool-selection errors and increased latency. The scope is far beyond the typical 3-15 tools that are considered well-scoped.

    Completeness4/5

    The tool set covers an impressive range of desktop operations: themes, backgrounds, windows, audio, wifi, bluetooth, notifications, plugins, and more. There are minor gaps like explicit workspace creation, but hypr_dispatch offers flexibility. Overall, the surface is quite complete for the domain, with only a few missing lifecycle operations.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables full Linux desktop control including windows, mouse, keyboard, clipboard, audio, screenshots, OCR, accessibility, and system management through MCP-compatible AI agents.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables controlling your own Linux desktop machines from any MCP-capable LLM client, with opt-in agent capabilities for shell, filesystem, processes, screenshots, system info, and input injection.
      1
      MIT