When a tool call throws an MCP permission-denied/auth error, the code now marks the client as needing auth through session.mcpSessionWiring.connections()?.markNeedsAuth(...) instead of dynamically importing a helper module. This is an internal refactor of how MCP auth-needed state propagates, with no behavior change expected.
Permission-denied MCP tool errors now mark the MCP client as needing auth via session wiring
MCP auth-needed marking on permission errors was refactored, no behavior change expected.
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
MCPArea: what it touches
Internal ChangesKind: in v2.1.260,
Internal ChangesSection of the release