-
Notifications
You must be signed in to change notification settings - Fork 54.5k
Open
Labels
Description
Bug Description
Ai Agent is unable to call multiple MCP's when they have identical names. This error is seen:
"You have multiple tools with the same name: 'list_tools', please rename them to avoid conflicts"
A lot of libraries have fixed this issue by doing the following:
Prefixes tool names with server name: Tool names are prefixed with {server_name}_{tool_name} format (e.g., serverA_run, serverB_run).
To Reproduce
create an agent workflow that calls two tools with identical list_tools commands
Expected behavior
the Agent builder should prefix the commands internally by prefixing tool with node name
Debug Info
- n8nVersion: 2.3.5
- platform: docker (self-hosted)
- nodeJsVersion: 22.21.1
- nodeEnv: production
- database: sqlite
- executionMode: regular
- concurrency: -1
- license: enterprise (production)
Operating System
n.a
n8n Version
2.3.5
Node.js Version
22.21.1
Database
SQLite (default)
Execution mode
main (default)
Hosting
self hosted