> ## Documentation Index
> Fetch the complete documentation index at: https://docs.connectkey.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Hermes Agent remote MCP setup (draft)

> Untested draft for adding ConnectKey to Hermes Agent via config.yaml with Streamable HTTP and OAuth. Setup, sign-in, and compatibility are unverified.

> [!WARNING]
>
> **Not yet verified on staging:** This applies to every step here that needs a signed-in account or a live ConnectKey connection, including setup, workspace consent, tool discovery, calls, and disconnecting or restoring access. No tool is confirmed available in this client.
>
> **Untested in Hermes Agent.** Adding the entry, signing in to ConnectKey, choosing a workspace, allowing access, and listing or calling tools have not been run in Hermes Agent. When probed on 2026-11-25, the staging MCP host returned `200` on `/healthz` and `/readyz` and `404` on `/mcp`, `/.well-known/oauth-protected-resource`, and `/.well-known/oauth-authorization-server`, and the production MCP host did not resolve. This page does not say Hermes is supported or that `/mcp` accepts connections today.

Nous Research's public Hermes Agent documentation describes the `config.yaml` keys, CLI commands, and OAuth flows below. That documentation review did not exercise Hermes Agent. The endpoint results above come from unauthenticated public HTTP and DNS probes.

1. Add `https://mcp.connectkey.ai/mcp` to your client.
2. Sign in to ConnectKey (Untested: requires sign-in and a serving `/mcp` endpoint).
3. Pick a workspace (Untested: requires sign-in and a serving `/mcp` endpoint).
4. Allow access to that workspace (Untested: requires sign-in and a serving `/mcp` endpoint).

```text ConnectKey server URL for Hermes Agent theme={null}
https://mcp.connectkey.ai/mcp
```

## Prerequisites

* Hermes Agent installed.
* A ConnectKey account.

## Steps

1. Nous Research's documented config path (not tested in Hermes Agent): edit `~/.hermes/config.yaml`, which uses an `mcp_servers` mapping keyed by server name.
2. Add an entry named `connectkey` with `url` set to `https://mcp.connectkey.ai/mcp` and `auth` set to `oauth`. Nous documents Streamable HTTP as the default HTTP transport (`transport: sse` opts into SSE) and `auth: oauth` as enabling OAuth 2.1 with PKCE for HTTP servers.
3. Untested (requires sign-in and a serving `/mcp` endpoint): start Hermes (`hermes chat`) or run `hermes mcp login connectkey` from a fresh terminal. Nous documents that for `auth: oauth` in `config.yaml`, the MCP client prints an authorize URL and opens a browser on first connection. Sign in to ConnectKey, pick a workspace, and allow access.
4. If you instead install a Nous catalog entry through a catalog card or ask in chat, Nous documents a setup card that shows the authorization link without opening the browser itself (click Open in browser on desktop, press Enter in the terminal, or follow the SSH callback instructions). That catalog card path does not apply to this `config.yaml` entry.

## What to check

* Untested (requires sign-in and a serving `/mcp` endpoint): Nous documents that Hermes lists the server's tools and registers them after authorization.
* Untested (requires sign-in and a serving `/mcp` endpoint): ask Hermes to list the ConnectKey tools it can see. A list shows the connection only; it is not a tested result.

## If it fails

* For interactive OAuth after editing `config.yaml`, Nous documents running `hermes mcp login connectkey` from a fresh terminal (which waits the default 5-minute OAuth timeout). Nous warns that editing `config.yaml` inside a running session triggers a 30-second auto-reload timeout, and that `/reload-mcp` refreshes config and tools for already-authorized servers without opening a browser.
* For catalog or chat setup-card installs (not this `config.yaml` path), Nous documents an `Authorized. Tools unavailable.` card state when authorization succeeded but tool listing failed, allowing discovery to retry later without re-authorizing.
* Probed 2026-11-25: on the staging MCP host, `/healthz` and `/readyz` returned `200` while `/mcp`, `/.well-known/oauth-protected-resource`, and `/.well-known/oauth-authorization-server` returned `404`, and the production MCP host did not resolve, so connection attempts fail until `/mcp` serves.

## Does a remote server need a Hermes catalogue listing?

No. Nous Research documents an entry in the Hermes profile’s config.yaml for an unlisted remote server. Installing from the catalogue is a different method.

## Which transport does Hermes use by default for an HTTP server?

Hermes documents Streamable HTTP as the default for HTTP connections (transport: sse switches to SSE). That describes the client’s transport choice, not a successful connection to ConnectKey.

## Does a chat prompt take the place of OAuth approval in Hermes?

No. Hermes documents interactive OAuth approval outside chat (a browser PKCE flow, or device-code login where the authorization server advertises it). Asking in chat can open a setup card for a Nous catalog entry, not deliver OAuth approval through chat or configure ConnectKey without confirmation.

## Why can Hermes sign-in need extra network setup over SSH?

The browser needs a way to return the OAuth result to Hermes. With Hermes on a remote host, a working SSH session alone does not establish that callback route.

## Does a successful Hermes installation show that the server responds?

No. Hermes distinguishes installing a server from probing it. A saved entry does not show that the remote server answered, and ConnectKey has not been tested in Hermes.

## Can I count on unattended Hermes access after the first sign-in?

No. Nous documents automatic token refresh while a refresh token remains valid, but when refresh fails in the background (gateway, /reload-mcp, or periodic self-probe), Hermes parks the server without opening a browser until you re-authorize with hermes mcp login. No ConnectKey test has established how long an authorized Hermes session lasts.

## Evidence

* Status: documented
* Vendor documentation retrieved: 2026-11-25
* Real-client result: None recorded for Hermes Agent. Nous Research's public documentation describes the config.yaml keys, CLI commands, and OAuth flows; public probes on 2026-11-25 only checked staging HTTP responses (/healthz and /readyz returned 200; /mcp, /.well-known/oauth-protected-resource, and /.well-known/oauth-authorization-server returned 404) and production hostname resolution (did not resolve). None of these checks verify adding the server, signing in, listing or calling tools, or revoking access in Hermes Agent.
* [Nous Research: MCP in Hermes Agent](https://hermes-agent.nousresearch.com/docs/user-guide/features/mcp)
* [Nous Research: MCP configuration reference](https://hermes-agent.nousresearch.com/docs/reference/mcp-config-reference)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.