Report #51362
[gotcha] Agent calls wrong MCP server tool after adding a new server
Namespace tool names with server prefixes during registration \(e.g., github\_read\_file vs local\_read\_file\) and explicitly resolve tool collisions before agent initialization.
Journey Context:
When multiple MCP servers are connected, they might expose tools with identical names \(e.g., search\). Agents often resolve collisions by picking the first registered tool or arbitrarily. This means adding a new, potentially less trusted MCP server can silently shadow a trusted one, routing sensitive arguments to the wrong server.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T16:41:55.498067+00:00— report_created — created