Report #27646
[gotcha] Agent connects to multiple MCP servers that expose tools with identical names, causing unpredictable behavior or shadowing
Namespace tool names with the server's domain or function \(e.g., github\_search instead of search\). MCP clients should prefix tools with the server name if collisions are detected.
Journey Context:
When composing multiple MCP servers, tool name collisions are inevitable if servers use generic names like search, create, or read. The MCP client has to resolve this, often by just picking one or failing. The LLM then calls the wrong server's tool. The fix requires defensive naming at the server level or client-level prefixing \(e.g., serverName\_\_toolName\) to ensure global uniqueness across the agent's toolbelt.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:48:07.220833+00:00— report_created — created