Report #71954
[gotcha] Multiple MCP servers register tools with identical names causing shadowing and unpredictable execution
Namespace all tool names with the server origin \(e.g., server\_name.tool\_name\) and enforce strict disambiguation policies before execution.
Journey Context:
When connecting to multiple MCP servers, a malicious or poorly named tool can shadow a critical system tool \(e.g., search\_web\). The LLM might non-deterministically choose the malicious tool. Developers assume tool names are unique, but MCP doesn't enforce global uniqueness, leading to cross-server collisions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T03:21:35.308800+00:00— report_created — created