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 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
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"
]
}
}
}
{
"command": "uv",
"args": [
"run",
"--directory",
"/home/mythz/src/ServiceStack/omarchy-mcp",
"omarchy-mcp"
]
}
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 frameworkaiohttp- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omarchy_mcp-0.0.5.tar.gz.
File metadata
- Download URL: omarchy_mcp-0.0.5.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bea4a8405c89ad0c0f0fd43c3654211aaee5effb562ef7885e43b9443df0e4ee
|
|
| MD5 |
18d5972025aa51bcb72ba74bd5df21ed
|
|
| BLAKE2b-256 |
415a52c39b822776c9796fe0e37cfd6d26af1819d773f7efd58f84415ea295e0
|
Provenance
The following attestation bundles were made for omarchy_mcp-0.0.5.tar.gz:
Publisher:
python-publish.yml on ServiceStack/omarchy-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omarchy_mcp-0.0.5.tar.gz -
Subject digest:
bea4a8405c89ad0c0f0fd43c3654211aaee5effb562ef7885e43b9443df0e4ee - Sigstore transparency entry: 844679024
- Sigstore integration time:
-
Permalink:
ServiceStack/omarchy-mcp@af69bba90c4e77d5796c2dbfd602761d6ba12a12 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/ServiceStack
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@af69bba90c4e77d5796c2dbfd602761d6ba12a12 -
Trigger Event:
release
-
Statement type:
File details
Details for the file omarchy_mcp-0.0.5-py3-none-any.whl.
File metadata
- Download URL: omarchy_mcp-0.0.5-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b59d484b82358b2a9434942062154429928ace21ff7f57ba37f7e4772b39c6a
|
|
| MD5 |
dacb71ff9cb36099a71026e73063569a
|
|
| BLAKE2b-256 |
a8ecfcf01b467f86d3330ba37af448482e354e42f64623ade077a80125cf6cac
|
Provenance
The following attestation bundles were made for omarchy_mcp-0.0.5-py3-none-any.whl:
Publisher:
python-publish.yml on ServiceStack/omarchy-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omarchy_mcp-0.0.5-py3-none-any.whl -
Subject digest:
6b59d484b82358b2a9434942062154429928ace21ff7f57ba37f7e4772b39c6a - Sigstore transparency entry: 844679028
- Sigstore integration time:
-
Permalink:
ServiceStack/omarchy-mcp@af69bba90c4e77d5796c2dbfd602761d6ba12a12 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/ServiceStack
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@af69bba90c4e77d5796c2dbfd602761d6ba12a12 -
Trigger Event:
release
-
Statement type: