Skip to main content
Hermes Agent has first-class MCP support. Add SAN to the mcp_servers section of your Hermes config and its tools are discovered automatically at startup.

Prerequisites

Quick Start

1

Add SAN to your Hermes config

Edit ~/.hermes/config.yaml and register SAN as a remote MCP server. Reference the key from an environment variable so it stays out of the config file.
# ~/.hermes/config.yaml
mcp_servers:
  san:
    url: "https://gateway.sanfoundation.com/mcp"
    headers:
      x-api-key: "${SAN_API_KEY}"
2

Store your API key

Add the key to ~/.hermes/.env:
SAN_API_KEY=sk_...
3

Load SAN's tools

Start Hermes (or run /reload-mcp in a live session). Hermes registers SAN’s tools, namespaced as mcp_san_<tool>, and your agent can use them right away.
hermes chat
Hermes evolves quickly — pin a version in your setup, since the CLI and config surface may change between releases.