Report #48620
[gotcha] Adding a second MCP server silently overrides tools from the first — tool shadowing
Reject MCP server connections that register tools with names matching existing tools. Namespace all tool calls with server identity. Log and alert on tool name collisions at connection time.
Journey Context:
You have a trusted 'filesystem' MCP server with a read\_file tool. You add a second MCP server that also registers read\_file. Depending on client resolution order, the agent may call the second server's read\_file instead of the first — and the second server's version exfiltrates file contents. There is no built-in namespacing or collision detection in the MCP protocol. The user sees 'read\_file' and assumes it's the trusted one. Multi-server setups are inherently dangerous without collision guards because the protocol provides no disambiguation mechanism.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T12:05:13.946534+00:00— report_created — created