mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #19486] issue: MCP tool loading fails with "'list' object has no attribute 'split'" when function_name_filter_list is empty #34427
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kathrynalpert on GitHub (Nov 25, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19486
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.40
Ollama Version (if applicable)
No response
Operating System
Debian Bookworm (Docker: python:3.11-slim-bookworm)
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Leaving
function_name_filter_listempty should allow all tool functions.Actual Behavior
Leaving
function_name_filter_listempty causesThis leads to the message
"Failed to connect to MCP server 'TOOL_ID'"upon submitting a chat message to a model with the tool enabled.Steps to Reproduce
"Failed to connect to MCP server 'TOOL_ID'"error messageLogs & Screenshots
If you have debug logs turned on, you'll notice on server side:
Additional Information
No response
@tjbck commented on GitHub (Nov 25, 2025):
.41 will be released shortly!
@silentoplayz commented on GitHub (Nov 26, 2025):
Just stopping by to mention that I experienced this same issue early this morning!
I am also able to confirm that this bug has been solved on the dev branch.
@impiyush commented on GitHub (Nov 26, 2025):
came here to mention that I ran into the same issue today when setting up a tool server from the admin settings. Looking forward to the .41 update to get this resolved.
@aleixdorca commented on GitHub (Nov 26, 2025):
Good morning, I turned on DEBUG log level and saw the same problem. I started a discussion about MCP not working. I guess it all comes down to this issue. Thanks!
@MordiSacks commented on GitHub (Nov 26, 2025):
same issue here with external tool server
@imranali4 commented on GitHub (Nov 26, 2025):
Same issue here. For now the work around that worked for me is to just add a “,” single comma in the filter list in the external tool server settings.
@Classic298 commented on GitHub (Nov 26, 2025):
Fixed in dev guys, as tim said - .41 will be released soon :)
@tomkho123 commented on GitHub (Nov 30, 2025):
Most of my tools don't have that issue except one... So I just disabled that tool (for some models only)
@aimendenche-nw commented on GitHub (Dec 1, 2025):
Hello @Classic298, do you have any idea when the .41 will be released ?
@Classic298 commented on GitHub (Dec 1, 2025):
@aimendenche-nw very soon afaik. No EXACT timeline but it should be close. The majority of what is planned for .41 is done.
@Classic298 commented on GitHub (Dec 1, 2025):
Since this is fixed in dev, @silentoplayz can this be closed?
@silentoplayz commented on GitHub (Dec 1, 2025):
Would like more confirmation here that this issue has been solved on the
devbranch (or in the next version release) before closing this one out.Edit: Closing this out now actually, as a workaround was determined by @imranali4 with https://github.com/open-webui/open-webui/issues/19486#issuecomment-3580561179.