mcp-tool-cache-stale-after-container-rebuild-in-same-session

When an MCP server Docker container is rebuilt mid-session (e.g., swapping from custom to upstream image), Claude Code’s tool cache retains the old tool names and signatures for the duration of the session. The new tools are only visible after session reconnection. Verification of new tools should use docker exec or direct HTTP calls to the MCP endpoint rather than relying on Claude Code’s tool search.