Gemini CLI patch discloses that MCP Plan Mode read-only is only server-declared
cybrdude · ghdev · 2026-07-27
- A PR to google-gemini/gemini-cli changes Plan Mode confirmation UI so it explicitly says when an MCP tool is marked read-only by the server, and that Gemini CLI has not verified the claim.
- The issue is that readOnlyHint is a server-supplied annotation; Gemini CLI used it to move tools out of the deny-all Plan Mode path into askuser, so a server could influence which of its tools become available for confirmation.
- The confirmation prompt still blocks execution, but the new disclosure makes the trust boundary visible to users.
- The patch adds a serverDeclaredReadOnly flag through the tool confirmation path and updates tests and layout handling.
More from coding & agent
- Software products need an API/MCP/plugin now: agents will drive acquisition and retention — omooretweets · 2026-12-02
- Matt Shumer says collaborating with Jacob humbles his AI-orchestration skills ahead of Spawn — mattshumer_ · 2026-12-02
- LiveCraft benchmark: top agents score just 30.3/100 in real-time Minecraft worlds — Chengxing Xie · 2026-12-02
- LegoReview mines 556k PRs for verifiable review data, boosting SWE-bench Pro V2 Hard to 70.6 — Lego-X · 2026-12-02
- Steve Yegge after a year of software factories: the last bottleneck is human attention — Steve_Yegge · 2026-12-02
- Stop telling Claude to 'build an Airbnb' — 5 copy-paste prompts for sturdy apps — alex_verem · 2026-12-02