mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-26 22:49:41 -05:00
issue: MCP tool calls are sent to wrong server when multiple streamable-http MCP servers are enabled, causing 'MCP error -32602: Tool not found' #6520
Reference in New Issue
Block a user
Originally created by @eric2788 on GitHub (Sep 27, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.31
Ollama Version (if applicable)
No response
Operating System
Debian 11
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When multiple streamable-http MCP servers are enabled at the same time in Open WebUI, each tool call should be correctly routed to the MCP server that actually provides the tool. There should never be a situation where the tool call is sent to the wrong MCP server, resulting in an error.
Actual Behavior
When two (or more) streamable-http MCP servers are enabled concurrently, tool calls are sometimes routed to the wrong MCP server. This leads to errors like
MCP error -32602: Tool xxxxxxxx not foundbecause the selected MCP server does not provide the tool being called. The tool routing appears to be random or incorrect, instead of being strictly matched by server/tool availability.Steps to Reproduce
MCP error -32602: Tool xxxxxxxx not found.Logs & Screenshots
with 2 mcp servers:
with 1 mcp server:
Additional Information
@tjbck commented on GitHub (Sep 28, 2025):
Should be addressed with
742e2ff193