Report #98860
[gotcha] Multiple MCP servers register tools with identical names
Namespace every tool at the client/host layer before presenting it to the model: '\{server\_name\}\_\_\{tool\_name\}'. Validate uniqueness on registration and fail fast rather than letting the last server win.
Journey Context:
The MCP spec does not globally namespace tools; name collisions are undefined behavior and different hosts handle them differently \(overwrite, prefix, or crash\). This bites you when combining generic utilities like filesystem, github, and gitlab servers that all expose 'read\_file' or 'search'. The cleanest fix is host-side namespacing, not asking every server author to rename tools, because servers are written independently.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-28T04:54:14.528209+00:00— report_created — created