Skip to Content
AgentsConnect Hermes

Connect Gavana to Hermes

Hermes Agent — Nous Research’s agent — connects to Gavana over remote MCP with browser OAuth. It handles discovery, dynamic client registration, and PKCE on its own, so there is no client ID, secret, or token to manage.

Before you start

  • Hermes Desktop v2026.8.16 or newer, or the Hermes terminal 0.11 or newer.
  • The same steps, with the button and copy buttons, are in Gavana under Settings → Connect an agent → Hermes (open them ).

Hermes Desktop

Open in Hermes

With Hermes Desktop installed, open this link:

Open in Hermes

It asks Hermes to add a server called gavana with this configuration. In the Add MCP server? dialog, check it and click Add server:

{"url":"https://app.gavana.ai/mcp","auth":"oauth"}

Click Authenticate on gavana

Your browser opens for sign-in.

Click Connect on the Gavana page

Gavana’s approval page names the app asking for access and shows Connecting as with your email. If that is the right account, review the permissions and click Connect.

Hermes in the terminal

Add the MCP server

hermes mcp add gavana --url https://app.gavana.ai/mcp --auth oauth

The browser opens by itself. Answer Y to enable tools. After you approve, start a new session or run /reload-mcp.

If the browser did not open

hermes mcp login gavana

Only run this if sign-in did not start. Do not run it after a successful add: it signs you out first.

Click Connect on the Gavana page

Review the permissions and click Connect.

You can also let Hermes do it: in Settings → Connect an agent, click Copy message under Let your agent set it up and paste it into Hermes.

Or by hand in config.yaml

Hermes reads MCP servers from the top-level mcp_servers key in its config.yaml. The same connection, written by hand:

mcp_servers: gavana: url: "https://app.gavana.ai/mcp" auth: oauth

auth: oauth is what tells Hermes to run the OAuth flow rather than send the request unauthenticated.

The key is mcp_servers at the top level of the file — not mcp: with a nested servers:. Hermes reads manual MCP definitions from mcp_servers only, so an entry in the wrong place is silently ignored rather than reported as an error.

Verify

Confirm the tools actually arrived:

Tell me which MCP-backed tools are available right now.

Then ask for something read-only:

Using Gavana, list my canvases and read the most recently updated one. Report its handle, revision, node count, and connection count. Do not change anything.

Narrowing what Hermes sees

Hermes supports per-server filtering, so you can expose only the tools you want:

FieldWhat it does
tools.includeAllowlist specific tools
tools.excludeBlocklist specific tools
tools.resourcesToggle resource utilities
tools.promptsToggle prompt utilities

hermes mcp configure gavana lets you review the discovered tools and opt into destructive operations deliberately. Keep guide_get and canvas_validate enabled whatever else you cut — they are read-only, and they are how the agent learns the rules and checks its own work.

Filtering is ergonomics rather than a safety boundary — the connection you approved is the boundary. A full connection with the generation tools excluded is still a full connection.

Resulting permission surface

Normal connection

The consent screen groups the request under Canvases and images, Elements and saved references, and Image and video generation. It asks for eight permissions: canvas:read, canvas:write, asset:read, element:read, element:write, image:generate, video:generate, and job:manage. There is no partial approval on this path, and the connection stays active until you revoke it.

Hermes lists 17 core tools — canvas reads and writes, task canvas creation, image import and generation, video, Elements, model discovery, and Run status — and can call every other hosted tool by exact name. generate_image_in_canvas and generate_video can charge among the listed tools; edit_image_in_canvas, generate_product_photoshoot_in_canvas, run_canvas_workflow, recipe_run, and work_execute can charge when called by name. Full table: hosted MCP tools.

Cost exposure: real.

Read-only connection

Turn on Read-only access in Gavana’s Hermes steps before you click the button or copy the command. You get a separate server named gavana-readonly, and its consent screen asks only for canvas:read and element:read.

CanCannot
List and read canvases and ElementsCreate, update, move, or delete anything
Validate a canvas graphView image assets, or save an image
Read stored Work and Recipe detailsCreate or run a workflow, a Recipe, or Work
Read Gavana’s own agent guidanceGenerate an image or a video, or observe a Run
Spend a single credit

It serves the tools marked read-only in the hosted tools reference. Cost exposure: none.

The local stdio server

Hermes runs local stdio servers and remote HTTP servers from the same config, so Gavana’s local server is an alternative rather than a different setup. It exposes the full local tool catalog and signs in with your Gavana CLI login or a Personal Access Token rather than OAuth. Use command, args, and env in place of url and auth:

mcp_servers: gavana: command: npx args: ["-y", "@gavana.ai/mcp@0.5.1"] env: GAVANA_BASE_URL: "https://app.gavana.ai" GAVANA_AGENT_TOKEN: "${GAVANA_AGENT_TOKEN}" tools: resources: true prompts: false

Store GAVANA_AGENT_TOKEN in ~/.hermes/.env with mode 0600, then start a new Hermes session or run /reload-mcp. If you have run gavana auth login on this machine, you can leave out env and the server reads that login instead.

Needs Node.js 20 or newer. The real permission surface here is the credential’s scopes, not the tool list — a tool called outside them fails with a permission error. Add GAVANA_MCP_READ_ONLY: "true" for a hard read-only server, or GAVANA_MCP_TOOLSETS to narrow the catalog; scoping the token is still the stronger control.

Keep the token in ~/.hermes/.env, not in config.yaml, and keep both out of any repository and out of backups you share. If it leaks, revoke that token immediately and create a new one — see the safety contract.

Elicitation

Hermes supports MCP elicitation, where a server asks the agent to generate text on its behalf, with a configurable timeout that defaults to 300 seconds. Gavana’s hosted tools do not use it — every Gavana tool takes its input from the caller — so the default is fine and there is nothing to configure.

Disconnect

Remove the gavana entry from mcp_servers and run /reload-mcp. Then revoke the connection in Gavana under Settings → Connect an agent → Connected — revocation takes effect immediately. If you used the local stdio path with a token, revoke that token in the same list.

Troubleshooting

SymptomCauseFix
Entry ignored entirelyWritten under mcp: servers: instead of top-level mcp_servers:Move it to mcp_servers:
Tools do not appear after an edit or approvalConfig not reloadedStart a new session or run /reload-mcp
Sign-in never startedThe browser did not open after hermes mcp addRun hermes mcp login gavana once
Every call is unauthorizedauth: oauth missingAdd it and reload
Fewer tools than expectedtools.include or tools.exclude is filtering themCheck the filter on the entry
Generation is refusedRead-only connection, or a token without image:generate or video:generateReconnect without Read-only access, or use a token with the generation scopes

More: MCP troubleshooting.

Security notes

  • The hosted server accepts OAuth bearer tokens only. Do not attempt to use a cba_… Personal Access Token there — that is the local MCP and API path.
  • Webhooks are not available through MCP by design: a signing secret must never enter model-visible tool arguments or tool logs. Use the CLI or the API when you need callbacks.
  • Generation is billed through your Gavana account — your own saved provider key, a key your workspace owner shares, or Gavana credit — never through Nous Research.
Last updated on