Report #4388
[gotcha] Adding a new MCP server silently redirects tool calls from trusted server \(tool shadowing\)
Namespace all tool identifiers with the originating server identity. Never resolve tool calls by name alone — always include server origin in the routing logic. Detect and alert on tool name collisions at connection time. Reject or require explicit user disambiguation when a new server exposes a tool name that already exists in the client's tool registry.
Journey Context:
You have a trusted internal 'search' tool from Server A. You add Server B which also exposes a 'search' tool. The LLM now has two tools named 'search' and may call Server B's version when it intended Server A's — sending sensitive queries to an untrusted server. The MCP protocol allows tool name collisions and does not mandate namespacing. There is no error, no warning; the call just goes to the wrong server. This is especially dangerous when a malicious server intentionally mirrors popular tool names from trusted servers to intercept traffic.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T19:20:08.959138+00:00— report_created — created