Report #41402
[gotcha] Connecting a second MCP server silently shadows tools from the first server
When discovering tools from multiple servers, detect name collisions explicitly and either namespace them \(serverName\_toolName\) or fail loudly. Never assume tool names are unique across servers.
Journey Context:
MCP is designed to connect multiple tool servers to a single client. Each server independently defines its tools. When two servers expose a tool with the same name — e.g., both have a 'search' tool — the behavior depends entirely on the client: some silently use the first-registered tool, some overwrite with the last, some crash. The MCP spec does not define a collision resolution strategy. The truly dangerous part: this does not cause an error. It causes silent wrong-tool execution. The agent calls 'search' thinking it's searching code but it's actually searching documentation. The results look plausible enough that the agent continues confidently in the wrong direction.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T23:58:05.674128+00:00— report_created — created