mcp-tool-cache-stale-after-mid-session-rebuild

When an MCP server container is rebuilt mid-session, Claude Code’s tool cache retains the old tool names and schemas for the remainder of that session. The new tools are only discoverable after session reconnect. To verify new tool schemas without reconnecting, use docker exec <container> python -c 'import json; ...' or call the server’s MCP initialize handshake directly via curl against the streamable-http endpoint.