# hermes-agent-mcp

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/woonyong-choi/hermes-agent-mcp  
**GitHub Stars:** 0  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/hermes-agent-mcp

## Description
Operate a local Hermes Agent install over stdio: tasks, cron, config, gateway, doctor. No network.

## Tools
Capabilities this server exposes over MCP:

- **hermes_status** — Report how this server is configured and whether the Hermes CLI answers.
- **hermes_ask** — Give the Hermes agent a task and return its reply.

    Runs one non-interactive turn with the agent's own tools, skills and memory.
    Use this for work; use the specific tools below for inspection and config.
    
- **doctor** — Run `hermes doctor` and return its health report.
- **gateway_status** — Show whether the messaging gateway is running and supervised.
- **gateway_restart** — Restart the messaging gateway so configuration changes take effect.
- **cron_list** — List scheduled jobs with their schedules and next run times.
- **cron_create** — Create a scheduled job.

    `schedule` accepts what the Hermes CLI accepts, including natural language
    such as "every day at 23:00".
    
- **cron_edit** — Change a scheduled job in place, keeping its id and run history.
- **cron_run** — Queue a job to run on the next scheduler tick instead of waiting.
- **cron_runs** — Show recorded execution attempts, newest first.
- **config_get** — Read one config.yaml value by dotted key, e.g. `display.show_reasoning`.
- **config_set** — Write one config.yaml value with an explicit type.

    `value_type` is one of str, int, float, bool, null, json. Passing a type
    avoids the YAML trap where "off", "no" and "yes" silently become booleans -
    several Hermes options compare against the string, so an auto-parsed value
    quietly does nothing. A .bak copy is written before the file changes.
    
- **skills_list** — List installed skills with category, source and enabled state.
- **sessions_list** — List recent sessions so you can resume or inspect one.
- **model_info** — Show the configured default model and provider, plus Nous Portal status.
- **shell** — Run a shell command on the Hermes host.

    Disabled unless HERMES_MCP_ALLOW_SHELL=1. Intended for agents that can reach
    this MCP server but have no terminal of their own.
    

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "hermes-agent-mcp": {
    "command": "uvx",
    "args": ["hermes-agent-mcp"],
    "env": {
      "HERMES_HOME": "",
      "HERMES_MCP_BIN": "",
      "HERMES_MCP_ALLOW_WRITE": "",
      "HERMES_MCP_ALLOW_SHELL": "",
      "HERMES_MCP_TIMEOUT": "",
      "HERMES_MCP_ASK_TIMEOUT": "",
      "HERMES_MCP_MAX_OUTPUT": "",
      "HERMES_MCP_CALLER": ""
    }
  }
}
```

**Requires environment variables:** `HERMES_HOME`, `HERMES_MCP_BIN`, `HERMES_MCP_ALLOW_WRITE`, `HERMES_MCP_ALLOW_SHELL`, `HERMES_MCP_TIMEOUT`, `HERMES_MCP_ASK_TIMEOUT`, `HERMES_MCP_MAX_OUTPUT`, `HERMES_MCP_CALLER` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/hermes-agent-mcp/readme_

