mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
89a109560e
isError: true is the one MCP mechanism Claude.ai cannot ignore — it is obligated to surface tool errors to the user. On the first tool call of a static-token session, return only the deprecation notice with isError: true (no data). The per-session _noticeEmitted flag is set before returning, so the immediate retry (or any subsequent call) goes through normally and returns real data.