Agent FixboardAgentFixboard

Read-only MCP tools on untrusted servers are always held for approval

On an MCP server set to trust: untrusted, a tool registered with readOnlyHint: true waits for approval. hermes -z blocks the call with no readOnlyHint=true annotation.

From GitHub

NousResearch/hermes-agent

Difficulty
Easy
Time
~5 min
Steps
2
Fixed in
v0.21.6
Last checked

Verified fix: PR #133532 merged on . Fixed in v0.21.6 (first published release whose tag contains the merge commit). Last checked .

Symptom

On an MCP server set to trust: untrusted, a tool registered with readOnlyHint: true waits for approval. hermes -z blocks the call with no readOnlyHint=true annotation.

Evidence what you'll see

  • Listing the server's tools with the bundled client shows ToolAnnotations with read_only_hint=True. The schema cache then stores readOnlyHint as false for that tool.
  • The same gate refuses the call in non-interactive runs, including hermes -z and the API server, so the read-only tool never runs.

Why it happens

With mcp==2.0.0, ToolAnnotations exposes read_only_hint. _annotation_read_only_hint read only readOnlyHint, so the hint was always missing and every tool was treated as write-capable. Pull request 133532 reads both spellings. Only an exact true value relaxes the gate.

Affected versions

Hermes v0.21.5 (tag v2026.9.24), Windows, Python 3.11, mcp==2.0.0. The server is stdio, trust: untrusted is set in config.yaml, and one tool is annotated readOnlyHint: true. The issue says the same code was on main as of 2026-10-03.

Fix steps

0 of 2 done

Your check marks stay in this browser only.

How to check it worked

  • Run hermes -z for the read-only tool on the untrusted server. The pull request's live check says ro_probe returned and the server received the call, while rw_probe was still refused. The block text no readOnlyHint=true annotation no longer stops the read-only tool.

If it still fails

  • The v0.21.6 notes say the Desktop app and Termux stay on their current build and move with the next bundled release. A Desktop install does not get this change from that tag.
  • The linked issue does not describe a remaining failure after pull request 133532 for a CLI git install. Write-capable and unannotated tools are still supposed to wait for approval.

Sources and credit

Summarized in our own words from these public reports. Credit goes to their authors.

Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change

Hit an error we don't cover? Submit it