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

When an MCP server is rebuilt and restarted mid-session (e.g., replacing the entire Docker image), Claude Code’s tool cache continues to reflect the old tool names and schemas for the remainder of the session. New tools registered by the replacement server are not visible until the session is restarted. Verify the actual server’s tool list via docker exec or direct HTTP calls rather than trusting Claude Code’s cached tool list.