Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.269 ·

ToolSearchTool rebuilt as a per-turn factory with isolated MCP client state

ToolSearchTool now builds a fresh instance per turn with its own isolated MCP client state

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaElsewherewhat it touches
KindInternal Changesin v2.1.269,
Under the hood

ToolSearchTool now builds a fresh instance per turn with its own isolated MCP client state

What

The internal ToolSearchTool (used to find and load tool definitions on demand) is now built by a create factory that returns a fresh, self-contained copy for each tool instantiation, instead of sharing one call method across the board. It also reads MCP (Model Context Protocol, the standard Claude Code uses to talk to external tool servers) clients through a new turnMcpClients accessor scoped to the current turn's options, rather than through a shared option passed in directly.

Why

This is an internal restructuring that isolates MCP client state per turn, reducing the chance that state from one turn or tool instance leaks into another.

See this entry in the whole of v2.1.269 →