Report #55952
[gotcha] Agent calls the wrong MCP tool when multiple servers are connected, leading to unexpected side effects or data routing.
Namespace tool names with the server identifier \(e.g., \`serverA\_search\` instead of \`search\`\) before exposing them to the LLM, or implement strict routing logic that resolves collisions deterministically.
Journey Context:
When connecting multiple MCP servers to a single agent, tool name collisions \(e.g., two servers providing a \`read\_file\` tool\) are common. The MCP spec does not enforce global uniqueness. The agent might non-deterministically choose the wrong tool, sending sensitive data to the wrong server \(e.g., local file contents to a third-party remote server instead of a local filesystem server\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T00:24:31.917617+00:00— report_created — created