Skip to main content
Glama
omarchy-mcp

omarchy-mcp

by ServiceStack

Omarchy MCP

A Model Context Protocol (MCP) server for integrating Omarchy desktop environment theme management with AI assistants like Claude.

Overview

Omarchy MCP enables AI assistants to manage themes in Omarchy - a Linux desktop environment that supports extensive theme customization including color schemes, backgrounds, and UI elements.

With this MCP server, AI assistants can:

  • List themes with flexible filtering (installed, available, built-in, removable)

  • Query the currently active theme

  • Switch between installed themes

  • Preview theme images before applying them

  • Install new themes from GitHub repositories

  • Remove installed extra themes

  • Rotate background images

Youtube Video

Related MCP server: arch-niri-mcp

Installation

Using in llms .py

Or paste server configuration into llms .py MCP Servers:

Name: omarchy-mcp

{
  "description": "Manage Omarchy Desktop Themes",
  "command": "uvx",
  "args": [
    "omarchy-mcp"
  ]
}

Development Server

For development, you can run this server using uv:

{
  "mcpServers": {
    {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/path/to/ServiceStack/omarchy-mcp",
        "omarchy-mcp"
      ]
    }
  }
}

Claude Desktop

Add to your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "omarchy": {
      "description": "Manage Omarchy Desktop Themes",
      "command": "uvx",
      "args": [
        "omarchy-mcp"
      ]
    }
  }
}

System Prompt

You can make your AI a more pleasant and personable Omarchy assistant by configuring it with a custom system prompt. The linked system prompt below creates "Archy" - a friendly, conversational assistant that knows Omarchy well and responds naturally to voice commands.

system-prompt.txt

Available Tools

omarchy_theme_list

Lists Omarchy themes with flexible filtering options.

Parameters:

  • filter (optional): Filter themes by type

    • "INSTALLED" (default) - All installed themes

    • "ALL" - All available themes (installed and not installed)

    • "CURRENT" - Only the currently active theme

    • "BUILT_IN" - Only built-in themes

    • "CAN_REMOVE" - Only installed extra themes that can be removed

    • "CAN_INSTALL" - Only themes available for installation

  • scheme (optional): Filter by color scheme

    • "ANY" (default) - All color schemes

    • "LIGHT" - Light themed only

    • "DARK" - Dark themed only

Returns: List of theme names with status indicators (current, built-in, installed)

omarchy_theme_set

Applies a theme to the Omarchy desktop.

Parameters:

  • theme (required): Theme name to apply (supports partial/case-insensitive matching)

Returns: Preview image of the applied theme

omarchy_theme_bg_next

Rotates to the next background image in the current theme.

Returns: The new background image

omarchy_preview_theme

Downloads and returns a preview image for a theme without applying it.

Parameters:

  • name (required): Theme name (supports partial/case-insensitive matching)

Returns: Theme preview image

omarchy_install_theme

Installs a new extra/community theme from its GitHub repository. Installing a theme automatically sets it as the current theme.

Parameters:

  • name (required): Theme name to install

Returns: Theme preview image after installation

omarchy_remove_theme

Uninstalls a previously installed extra/community theme. Built-in themes cannot be removed.

Parameters:

  • name (required): Theme name to uninstall

Returns: Status message

Theme Matching

Theme names support flexible matching:

  • Case-insensitive: "tokyo night", "TOKYO NIGHT", and "Tokyo Night" all match

  • Partial matching: "tokyo" matches "Tokyo Night"

  • Punctuation-insensitive: "tokyo-night", "tokyo_night", and "tokyonight" all match

Requirements

  • Python: 3.10, 3.11, or 3.12

  • Omarchy: Must be installed on the system

  • Linux: With Wayland display server

Dependencies

  • fastmcp>=0.1.0 - MCP server framework

  • aiohttp - Async HTTP client for downloading preview images

Built-in Themes

Omarchy comes with 14 built-in themes:

  • Tokyo Night

  • Catppuccin

  • Ethereal

  • Everforest

  • Gruvbox

  • Hackerman

  • Osaka Jade

  • Kanagawa

  • Nord

  • Matte Black

  • Ristretto

  • Flexoki Light

  • Rose Pine

  • Catppuccin Latte

Extra Themes

Over 100 additional community themes are available for installation, including various color schemes for both dark and light preferences.

Development

Setup

git clone https://github.com/ServiceStack/omarchy-mcp.git
cd omarchy-mcp
pip install -e ".[dev]"

Running Tests

pytest tests -v

Linting and Formatting

ruff check .
ruff format .

Building

python -m build

License

BSD-3-Clause

Available Tools

6 tools
omarchy_install_themeB

Install an Omarchy extra theme by name. Installing a theme automatically sets it as the current theme.

Inputs: name (required).

omarchy_preview_themeC

Get a preview image for an Omarchy theme by name.

Inputs: name (required).

omarchy_remove_themeA

Uninstall an Omarchy extra theme by name. Built-in themes cannot be removed.

Inputs: name (required).

omarchy_theme_bg_nextA

Cycle to the next Omarchy theme background.

Inputs: no named parameters.

omarchy_theme_listC

Get a list of Omarchy themes.

Inputs: filter, scheme. Returns: result

omarchy_theme_setC

Set the current Omarchy theme.

Inputs: theme (required).

Tool Schema Changelog

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

    TDQS

    B3.4/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct action on themes: install, preview, remove, cycle background, list, and set. There is no overlap or ambiguity; an agent can clearly distinguish when to use each.

    Naming Consistency4/5

    All tools use snake_case with a consistent 'omarchy_' prefix. Most follow a verb_noun pattern (e.g., install_theme, preview_theme), though 'theme_bg_next' and 'theme_list' slightly deviate from the order. Overall, the pattern is clear and predictable.

    Tool Count5/5

    Six tools is well-scoped for a theme management server. Each tool serves a necessary function without redundancy, covering installation, removal, listing, setting, previewing, and background cycling.

    Completeness4/5

    The tool set covers the main lifecycle of themes: install, remove, list, set, preview, and background control. A minor gap is the lack of an explicit 'get current theme' tool, but that may be inferred from the set action. Overall, it is sufficiently complete for typical theme management.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to generate beautiful Hyprland and Waybar configurations with embedded wiki references and theme templates.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to inspect, control, and automate Arch Linux/CachyOS and the Niri Desktop Environment through natural language, featuring tools for window management, system administration, package queries, and hardware control.
      35
      1
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables 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.
      108
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Lets local AI agents drive an Omarchy desktop by exposing its command registry and shell IPC targets over MCP, enabling command search, execution, and desktop state control.
      14
      Apache 2.0