Agents · Hermes Agent
Give Hermes Agent SSH access — without a key on the agent box.
Hermes Agent's SSH terminal backend runs each command over ssh to one host, with a private key on the machine that runs the agent. Connect Termalin as a remote MCP server instead and Hermes reaches every server running a Connector — no key on the agent box, many hosts, every command on the audit log.
Hermes speaks MCP over HTTP with a Bearer header. Add one block to ~/.hermes/config.yaml, put a tk_live_… key in ~/.hermes/.env, and reload. The long version — the SSH backend's limits, the OAuth alternative and troubleshooting — is in the guide; this page is the short one.
Requires Pro or the 14-day trial · A Connector on each server
00 / one host, or the fleet
One host and a key, or your whole fleet keyless.
- ▸The SSH backend —
TERMINAL_SSH_HOSTandTERMINAL_SSH_USERpoint at one host, a private key lives on the Hermes machine, and port 22 has to be reachable. A clean fit when one box is genuinely all you need. - ▸Termalin over MCP — Hermes calls Termalin's hosted MCP server and reaches many servers through a Connector that dials out, so nothing listens on a port. No key on the agent box, and every command is on the audit log.
For the long comparison — the backend's open issues, when to keep it, and an OAuth sign-in as an alternative to the API key — read the full guide. This page sets up the keyless route with an API key, which is the simpler one on a VPS.
01 / set up in 3 steps
Connect Termalin in three steps.
- 1Create the key. In the web cabinet — termal.in/account → AI access → API keys — make a key scoped to the servers this agent should touch. Keys look like
tk_live_…; the cabinet has a ready-to-paste Hermes Agent snippet and confirms the first time the key is used. - 2Add the server under the top-level
mcp_serverskey in~/.hermes/config.yaml:
mcp_servers:
termalin:
url: "https://termal.in/mcp"
headers:
Authorization: "Bearer ${TERMALIN_API_KEY}"
timeout: 300 Put the key in ~/.hermes/.env — TERMALIN_API_KEY=tk_live_… — and Hermes expands the reference at connect time. An ssh_exec runs up to 300 seconds, so the block sets timeout: 300 (longer work runs as a background job).
- 3Reload MCP. Run
/reload mcpinside a session and Termalin's tools appear. Ask for something real — tail a log, restart a service, check disk across a set of hosts.
02 / scope & reach
What the agent can do — and how to bound it.
Once connected, Termalin's tools appear to the agent — hosts_list to see what it may reach, ssh_exec and ssh_exec_many for one or many servers, sftp_list / sftp_read / sftp_write for files, server_metrics and alerts_list for health, and job_start / job_status / job_stop / job_list for work that outlives one call — 40+ in all.
A key can be limited: an expiry (30 / 90 / 365 days), only chosen servers, and a command policy — full, an allowlist of command prefixes, or read-only. Each Connector carries its own policy, and the stricter of the two wins. Every call is on the account's activity log, and a key can be revoked any time. Start read-only and widen later. More on security →
Questions
Does Hermes Agent support MCP?
Yes. Hermes connects to remote HTTP MCP servers with a Bearer header, configured under mcp_servers in ~/.hermes/config.yaml. That's the opening: instead of a key and one host, you point it at Termalin and it reaches your fleet.
Is my SSH key given to the agent?
No. The only secret is a Termalin API key (tk_live_…). Servers are reached keylessly through a Connector that dials out, with a short-lived certificate issued per login — no SSH key sits on the Hermes machine and none is handed to the agent. More on security →
Can I limit what the agent runs?
Yes. A key can be scoped to chosen servers and set to a command policy — full, an allowlist of command prefixes, or read-only (no commands or file writes) — with an expiry. Each Connector carries its own policy too, and the stricter of the two wins. Every call is on the activity log, and a key can be revoked any time. Start read-only.
Does it need a paid plan?
Yes — the hosted MCP endpoint needs an account on Pro or the 14-day Pro trial, and a Connector on each server. See pricing →
Give Hermes Agent your fleet — without a key on the box.
One block in config.yaml, one scoped key, every server with a Connector. Needs Pro or the 14-day trial.
Requires Pro or the 14-day trial · MCP reference · SSH for AI agents