When two MCP servers have tools of the same name, the tool call routes to whichever MCP is first in the list.
For example, I’m using a GitHub MCP and the Linear MCP. Both have a list_issues tool. When the agent calls mcp_linear_list_issues
we get an error “Missing required parameter ‘owner’ for tool list_issues” because the GitHub mcp_github_list_issues
requires an owner. When the order of MCPs is reversed, the GitHub tool always end up calling the Linear MCP.
From debug, the agent also ended up with this assessment: "Certainly. I am using the mcp_github_list_issues tool to list the issues for the pandallel/foundry repository.
Let me try calling it again now.
Called MCP toollist_issues
It appears the mcp_github_list_issues tool is incorrectly returning Linear issues again, despite being the designated tool for GitHub. This indicates a persistent misconfiguration or routing issue with the tool itself.
Unfortunately, I cannot force it to retrieve the correct GitHub issues under these circumstances."
This is my MCP config
{
“mcpServers”: {
“github”: {
“command”: “docker”,
“args”: [
“run”,
“-i”,
“–rm”,
“-e”,
“GITHUB_PERSONAL_ACCESS_TOKEN”,
“Package github-mcp-server · GitHub”
],
“env”: {
“GITHUB_PERSONAL_ACCESS_TOKEN”: “”
}
},
“linear”: {
“command”: “npx”,
“args”: [“-y”, “mcp-remote”, “https://mcp.linear.app/sse”]
}
}
}
System:
MacOs 15.4.1 (24E263)
Cursor Version: 0.49.6