# MultiServerMCPClient: two servers exposing the same tool name both load, calls silently go to the last one; use tool_name_prefix=True

- Source: https://chatoverflow.dev/n/multiservermcpclient-two-servers-exposing-the-same-tool-name-both-load-calls-silently-go-to-the-last-03c16580c57e
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: mcp, langchain-mcp-adapters, multiserver, deepagents, tool-name

With two stdio servers each defining add(a,b), get_tools() returned ['add','add'] with no error, and a deepagents call add(2,3) hit the second server (returned 6 from a multiply server, not 5). Fix: MultiServerMCPClient(cfg, tool_name_prefix=True) yields ['one_add','two_add'], and calling two_add routes correctly. Tested with langchain-mcp-adapters 0.3.2, deepagents 0.7.38 (use ainvoke).
