Omarchy MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Omarchy MCP ServerRun claude to refactor the auth module in /home/user/project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Omarchy MCP Server
A purpose-built Model Context Protocol server that runs on a Linux VM and exposes local AI agents and system tools as MCP tools — consumable by Hermes Agent or any MCP client.
Replaces SSH-based dispatch (fragile heredocs, ANSI scraping, plaintext passwords) with authenticated, structured MCP tool calls over Streamable HTTP.
Tools
Tool | Description |
| Run Claude Code |
| Run OpenAI Codex CLI |
| Run Hermes Agent |
| Run xAI Grok CLI |
| Read files on the remote VM |
| Write files on the remote VM |
| List directories |
| Run whitelisted shell commands |
| VM health (uptime, memory, load, tool availability) |
Each AI tool only appears in the tool list if its CLI binary is installed and on $PATH.
Related MCP server: AI Commander
Requirements
A Linux VM — tested on Arch / Omarchy. Works on any distro with Python 3.11+
Python 3.11+ with
mcp>=2.0.0,psutil,uvicornOptional — AI agent CLIs on the VM (install at least one):
Deployment
1. Clone & Install Dependencies
git clone https://github.com/JPeetz/omarchy-mcp.git
cd omarchy-mcp
pip install -r requirements.txt2. Configure
cp .env.example .env
# Generate a strong bearer token:
openssl rand -hex 32
# Edit .env — set OMARCHY_MCP_TOKEN to the generated value.
# Optionally set OMARCHY_USER_HOME if your home dir differs.
# For LAN access: set BIND=0.0.0.0 and configure TLS (see .env.example).3. Start the Server
python3 server.pyThe server starts on http://127.0.0.1:8911/mcp (loopback only) by default.
4. Verify Locally
curl -s -X POST http://127.0.0.1:8911/mcp \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <your-token>' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2026-07-28","capabilities":{},"cientInfo":{"name":"test","version":"0.1"}}}'Expected response starts with event: message followed by data: {"jsonrpc":...,"result":...}.
5. Systemd Service (Production)
# Edit omarchy-mcp.service to match your user/paths, then:
sudo cp omarchy-mcp.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now omarchy-mcp.serviceThe ExecStart, WorkingDirectory, User, and EnvironmentFile must match your system.
6. Connect Hermes Agent
On your desktop / control plane, add the server as an MCP connection:
hermes config set mcp_servers.omarchy.url "http://<vm-ip>:8911/mcp"
hermes config set mcp_servers.omarchy.headers.Authorization "Bearer <your-token>"Replace <vm-ip> with the VM's LAN IP and <your-token> with your token.
Test:
hermes mcp test omarchyExpected: ✓ Connected and ✓ Tools discovered: 9.
Call tools:
hermes -c "Cal the omarchy status tool and show me the result"Environment Variables
Variable | Required | Default | Description |
| Yes | — | Bearer token for MCP auth |
| No |
| Server HTTP port |
| No |
| Bind address. |
| No | — | Path to TLS certificate (enables HTTPS) |
| No | — | Path to TLS key file |
| No |
| User home for default working directory |
| No |
| Colon-separated allowedpaths for file tools |
Security
Bearer token auth — every request requires
Authorization: Bearer <token>. Constant-time comparison.Loopback by default — server binds to
127.0.0.1; network exposure is opt-in.TLS ready — set
TLS_CERT/TLS_KEYfor encrypted transport.Command whitelist —
system_runonly allows pre-approved commands.Path restriction — file tools only access user home and
/tmp.Cancellation — request cancellation kills the entire subprocess group.
Troubleshooting
Symptom | Likely Cause | Fix |
| Server not running or wrong IP | Check |
| Token mismatch | Regenerate token, update both sides |
| Claude Code not on VM |
|
| Agent took longer than timeout | Increase |
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP server exposing SMI Aware tools, resources, and skills over Streamable HTTP.
Query, browse, and automate OmegaAI workspaces from any MCP client. Streamable HTTP with OAuth 2.0.
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Remote MCP server for AI.TV creators — delegate account operations to your AI agent over MCP.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables MCP-compatible AI clients to invoke CLI-driven agent tools over Streamable HTTP, including shell execution, file operations, patching, image viewing, web search, and nested agent tasks, with permission modes and real-time progress streaming.-
- AlicenseAqualityAmaintenanceOutbound-only remote shell, detached long-running jobs, and temporary file courier for AI agents. Hosted Streamable HTTP plus stdio via npx -y @aicommander/mcp.11MIT
- AlicenseNot gradedqualityAmaintenanceTurns any Linux server into an AI-agent-accessible machine over HTTPS, allowing MCP clients like ChatGPT, Claude, and Grok to securely control files, run shell commands, inspect system state, query SQLite, and work with git behind a bearer token.1,013 npm4MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI chat clients to securely access and manage local files, run terminal commands, work with Git repositories, and read AGENTS.md instructions and skills via a stateless Streamable HTTP MCP server.MIT