Hermes Agent MCP logo

Hermes Agent MCP

Operate a local Hermes Agent installation over stdio with tools for tasks, configuration, cron, gateway, diagnostics, and more.

Install Hermes Agent MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "hermes-agent-mcp": {
      "command": "uvx",
      "args": [
        "hermes-agent-mcp"
      ],
      "env": {
        "HERMES_HOME": "YOUR_VALUE_HERE",
        "HERMES_MCP_BIN": "YOUR_VALUE_HERE",
        "HERMES_MCP_ALLOW_WRITE": "YOUR_VALUE_HERE",
        "HERMES_MCP_ALLOW_SHELL": "YOUR_VALUE_HERE",
        "HERMES_MCP_TIMEOUT": "YOUR_VALUE_HERE",
        "HERMES_MCP_ASK_TIMEOUT": "YOUR_VALUE_HERE",
        "HERMES_MCP_MAX_OUTPUT": "YOUR_VALUE_HERE",
        "HERMES_MCP_CALLER": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 16 tools correctly ().

Overview

The hermes-agent-mcp MCP server operates a local Hermes Agent installation by invoking its CLI over stdio. It provides tools for one-shot tasks, health checks, typed configuration changes, scheduled jobs, gateway control, sessions, skills, models, and optional shell commands. Bridge tools can send prompts through the gateway and mirror exchanges to a Telegram chat by default. Use it when an MCP client on the same machine needs to manage Hermes without opening a network listener or handling credentials directly.

Use cases

  • Run one-shot Hermes tasks from an MCP client
  • Inspect and update Hermes configuration without a terminal
  • Manage scheduled Hermes jobs and gateway state
  • Send gateway-backed prompts to a Telegram chat
  • Diagnose a local Hermes installation

Key features

  • Local stdio transport with no network listener
  • Typed config.yaml reads and writes
  • Cron, gateway, doctor, session, and skill tools
  • Optional gateway-to-chat bridge
  • Opt-in host shell execution
  • Credential redaction in returned output

Tools16

What Hermes Agent MCP lets your agent do. Expand a tool for its parameters.

Verified live~1.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

Not checked yetLast checked

We have not completed a health check for this listing yet.

0/96 checks healthy over the last 25d

What it can do

From the 16 tools this server returned when we ran it.

Runs commands · 1Read-only tools · 15
Network at startup2 connections
Files written at startup10

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · hermes-agent-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit2mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed16Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Hermes Agent MCP works

What hermes-agent-mcp does

The hermes-agent-mcp MCP server exposes the operational interface of a local Hermes Agent installation to MCP clients. It runs as a child process and communicates over standard input and output, so it does not require a port, tunnel, OAuth flow, or network-facing service. The client and Hermes must be available on the same machine, or in an environment where the relevant Hermes data directory is mounted.

The task interface includes hermes_ask for one non-interactive CLI turn. Operational tools cover status, diagnostics, installed skills, recent sessions, model and provider information, scheduled jobs, configuration, and gateway state. State-changing operations can be disabled with read-only mode. Shell execution exists, but it is separately disabled by default.

How it works

Each request is translated into an argument list for the local hermes executable rather than passed through a shell. The server restricts reachable CLI areas and excludes credential-handling commands such as authentication. Returned content is redacted for several credential formats, and .env files are not read.

The bridge workflow is separate from a direct hermes_ask call. bridge_setup creates loopback-only, HMAC-signed webhook routes and selects a chat, using Telegram by default. bridge_ask submits the prompt through the gateway, places the prompt and reply in that chat, and also returns the reply to the MCP caller. Bridged turns use separate webhook session keys, while memory, skills, and the visible chat transcript remain available.

Setup and configuration

Install and run the package with:

text
uvx hermes-agent-mcp

Claude Code can register it with claude mcp add hermes -- uvx hermes-agent-mcp. Other clients can use an MCP server entry whose command is uvx and whose argument is hermes-agent-mcp. A cloned checkout can be installed as an editable tool with uv tool install -e ..

HERMES_HOME selects the Hermes data directory, while HERMES_MCP_BIN selects the CLI executable. HERMES_MCP_ALLOW_WRITE=0 blocks state-changing operations. HERMES_MCP_ALLOW_SHELL=1 enables the shell tool and should only be used where the model is trusted. Timeout and output limits are configurable through HERMES_MCP_TIMEOUT, HERMES_MCP_ASK_TIMEOUT, and HERMES_MCP_MAX_OUTPUT. Bridge labels can be customized with HERMES_MCP_CALLER and HERMES_MCP_LABEL_FORMAT.

Tools and capabilities

The hermes-agent-mcp MCP server includes tools for:

  • Checking server configuration, CLI availability, enabled tools, health, model details, sessions, and installed skills.
  • Asking Hermes for a single task response.
  • Listing, creating, editing, running, and inspecting cron jobs.
  • Reading and writing typed values in config.yaml.
  • Checking or restarting the messaging gateway.
  • Setting up and checking a chat bridge, then asking through the gateway.
  • Running host shell commands only when explicitly enabled.

Configuration writes accept an explicit type such as string, integer, float, Boolean, null, or JSON. A backup is created before the file is changed, and the resulting section is returned.

Limitations and notes

The project was built against Hermes Agent 0.21.x. If upstream CLI flags or subcommands change, the server returns the CLI error rather than adapting the request. It is intended for local MCP clients, not hosted clients that need remote access.

Shell access is an additional trust boundary because it gives the model host command execution. Even without that tool, the server can operate an agent with its own terminal-capable behavior, so read-only mode may be appropriate for inspection-focused deployments. Hermes credentials remain managed by the local CLI rather than by this MCP server.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Hermes Agent MCP

hermes-agent-mcp is an MCP server that connects MCP clients to a local Hermes Agent installation through its CLI over stdio. Its main tools handle one-shot tasks, diagnostics, configuration, cron jobs, gateway control, sessions, skills, model details, and optional shell commands without exposing Hermes to the network.

Install it with `uvx hermes-agent-mcp` and register that command in your MCP client. Claude Code uses `claude mcp add hermes -- uvx hermes-agent-mcp`; clients with JSON configuration can specify `uvx` as the command and `hermes-agent-mcp` as its argument.

Yes, hermes-agent-mcp works with Cursor through a standard MCP server configuration. Set the server command to `uvx` and pass `hermes-agent-mcp` as the argument, then run it on the same machine as the Hermes installation.

Set `HERMES_MCP_ALLOW_SHELL=1` before starting the server. The `shell` tool is disabled by default and runs commands on the host, so enable it only for an agent and machine you trust.

Yes, it can read and write typed values in `config.yaml` through `config_get` and `config_set`. Set `HERMES_MCP_ALLOW_WRITE=0` to block state-changing tools; writes create a `.bak` file before modifying the configuration.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHermes Agent MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hermes-agent-mcp?style=directory)](https://allmcps.com/mcp/hermes-agent-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/hermes-agent-mcp"><img src="https://allmcps.com/api/badge/hermes-agent-mcp?style=directory" alt="Hermes Agent MCP on AllMCPs" /></a>