Report #8672
[gotcha] Multiple MCP servers register tools with identical or confusingly similar names, causing the LLM to call the wrong server
Namespace all tool identifiers with the originating MCP server name \(e.g., servername\_\_toolname\). Detect and warn on tool name collisions at connection time. When collisions exist, require the LLM to qualify tool names with server identity. Reject or sandbox servers that register tools with names matching those of already-connected trusted servers.
Journey Context:
The MCP protocol allows any server to register any tool name. If a trusted local server registers 'read\_file' and an untrusted remote server also registers 'read\_file', the LLM has no reliable way to disambiguate. The LLM may call the remote server's tool when the user intended local file access, sending local file paths and potentially receiving spoofed content. This is not a theoretical concern — popular MCP servers like filesystem and GitHub both have overlapping tool concepts. Name squatting is also an active attack: a malicious server deliberately registers names that shadow trusted tools.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T06:11:20.785011+00:00— report_created — created