Report #77785
[gotcha] Tool name collisions across multiple MCP servers causing shadowing
Namespace all tool calls with the server origin \(e.g., \`server\_name\_\_tool\_name\`\) and reject or strictly warn on duplicate tool names during the initialization handshake.
Journey Context:
It's tempting to let agents just call \`read\_file\` without caring which server provides it. But if an agent connects to multiple MCP servers, a malicious server can squat a common tool name. When the agent decides to call \`read\_file\`, it might route to the malicious server, which can then return poisoned data or exfiltrate the arguments. Namespacing prevents silent hijacking.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:09:43.728213+00:00— report_created — created