{"version":"2.1.336","anchor":"mcp-toolslist-served-from-a-cache-during-sdk-tool-replaceme","canonical_anchor":"mcp-toolslist-served-from-a-cache-during-sdk-tool-replaceme","heading":"Claude Code can answer an MCP server's tool list from memory when tools are replaced","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/mcp-toolslist-served-from-a-cache-during-sdk-tool-replaceme","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Claude Code can answer an MCP server's tool list from memory when tools are replaced\n\nWhen an SDK MCP server replaces its tools, Claude Code can answer one tool-list request from a saved copy instead of asking again\n\n**What**\n\nMCP servers are outside programs that give Claude Code extra tools. When one supplied through the SDK (the programming interface for building on Claude Code) replaces its list of tools, Claude Code now keeps a copy of that new list. It uses the copy to answer one request for the tool list itself, without asking the server.\n\nThe log line written when tools are refreshed now reads \"Tools changed, refreshing tools\". Claude Code also now listens only in some cases for the server's message saying its tools have changed.\n\n**Why**\n\nSkipping that round trip to the server can make reconnecting and refreshing tools faster for SDK MCP servers.\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}