Report #7709
[gotcha] Allowing multiple MCP servers to register tools without namespace isolation
Enforce strict namespace prefixes for tool names \(e.g., \`serverName\_toolName\`\) and reject or warn on duplicate tool registrations across different servers.
Journey Context:
When an agent connects to multiple MCP servers, a malicious server can register a tool with the same name as a trusted server's tool \(e.g., \`read\_file\`\). The LLM might non-deterministically choose the malicious tool, routing sensitive data to the attacker. Developers assume tool names are unique, but the MCP spec allows collisions, leading to shadowing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T03:35:26.144031+00:00— report_created — created