MCP server setup can now skip the discovery cache and connection entirely when a server's tools are already known
When Claude Code connects to an MCP server and discovers its available tools, the setup function can now be given a pre-supplied map of tools. If a server's tools are already known this way and it isn't a live connection, discovery short-circuits straight to building the result, skipping the discovery cache lookup and skipping opening a new connection entirely.
This avoids redundant cache checks and connection attempts when the tool list for a server is already known, which should make repeated MCP setup faster in that case.