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
ToolAnnotationswithread_only_hint=True. The schema cache then storesreadOnlyHintas false for that tool. - The same gate refuses the call in non-interactive runs, including
hermes -zand 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 -zfor the read-only tool on the untrusted server. The pull request's live check saysro_probereturned and the server received the call, whilerw_probewas still refused. The block textno readOnlyHint=true annotationno longer stops the read-only tool.
If it still fails
- The
v0.21.6notes 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