Skip to main content

MCP Server for Omarchy

Project description

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 available themes (built-in and custom/extra themes)
  • Switch between installed themes
  • Preview theme images before applying them
  • Install new themes from GitHub repositories
  • Uninstall themes
  • Rotate background images
  • Query the currently active theme

Installation

From PyPI

pip install omarchy-mcp

From Source

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

Configuration

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"
      ]
    }
  }
}

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"
      ]
    }
  }
}

Available Tools

omarchy_theme_list

Lists installed Omarchy themes.

Parameters:

  • filter (optional): Filter themes by type
    • "ALL" (default) - All installed themes
    • "BUILT_IN" - Only built-in themes
    • "EXTRA" - Only custom/extra themes

Returns: List of theme names, one per line

omarchy_theme_current

Gets the currently active theme.

Returns: Current theme name

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_extra_themes_to_install

Lists available extra themes that can be installed from GitHub.

Parameters:

  • scheme (optional): Filter by color scheme
    • "DARK" (default) - Dark themed extras
    • "LIGHT" - Light themed extras

Returns: List of installable theme names

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_extra_theme

Installs a new extra/community theme from its GitHub repository.

Parameters:

  • name (required): Theme name to install

Returns: Theme preview image after installation

omarchy_uninstall_extra_theme

Uninstalls a previously installed extra/community theme.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omarchy_mcp-0.0.2.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omarchy_mcp-0.0.2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file omarchy_mcp-0.0.2.tar.gz.

File metadata

  • Download URL: omarchy_mcp-0.0.2.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for omarchy_mcp-0.0.2.tar.gz
Algorithm Hash digest
SHA256 65089d2b958a6cc92c54bcc7816d9b13251d0404d4459d51bc24d9013391e7e4
MD5 ed0e17d8cb2491da085b70c8d143b9d7
BLAKE2b-256 cc7c6ae49e2864b4a849fa01e90995dee8bbabd4a8d15fbf60543e6a0eb4a37d

See more details on using hashes here.

Provenance

The following attestation bundles were made for omarchy_mcp-0.0.2.tar.gz:

Publisher: python-publish.yml on ServiceStack/omarchy-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file omarchy_mcp-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: omarchy_mcp-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for omarchy_mcp-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a64a396a677c210e9e1057c45cdbebaaf21fe5cff8ebfbbd6d6493b9cde5539a
MD5 e071e47fed73607913d2a4fa93ae6cc3
BLAKE2b-256 9917c3b7f88ead464e99f8d0772dd781bc712aea86dd334c4d9281c5b5f7c27c

See more details on using hashes here.

Provenance

The following attestation bundles were made for omarchy_mcp-0.0.2-py3-none-any.whl:

Publisher: python-publish.yml on ServiceStack/omarchy-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page