Agents
Hermes
Connect Hermes to Cortex over MCP with an API key.
Hermes talks to Cortex over MCP, authenticated with an API key. Create one on the Setup or Keys page of the Cortex web app, then:
CORTEX_API_KEY=YOUR_API_KEYmcp_servers:
cortex:
url: https://mcp.cortexlayer.net/mcp
headers:
Authorization: "Bearer ${CORTEX_API_KEY}"Check the connection:
hermes mcp test cortexWhat Hermes gets
Five tools, all scoped to your account: memory_add, memory_retrieve, memory_update,
memory_delete and memory_relink. The web dashboard is read-only, so adding, editing and
deleting memories happens through Hermes (or another connected agent).
Try it
- Tell Hermes: "Use Cortex to remember that I prefer dark mode."
- In a new conversation, ask: "What do I prefer for my editor theme?"
- Open Memory or Graph in the web app to see what was stored and how memories link together.
Self-hosting Cortex instead of using the hosted server? Swap mcp.cortexlayer.net for your own
server's URL.