From 911eecac85e333852d1407876cbd8f2402d54b0b Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 15 Feb 2026 18:10:18 -0600 Subject: [PATCH] fix: disabled mcp display issue Co-Authored-By: Dario Ruellan <6965667+druellan@users.noreply.github.com> --- backend/open_webui/routers/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/routers/tools.py b/backend/open_webui/routers/tools.py index 6657b3446..d489f9b64 100644 --- a/backend/open_webui/routers/tools.py +++ b/backend/open_webui/routers/tools.py @@ -107,7 +107,7 @@ async def get_tools( # MCP Tool Servers for server in request.app.state.config.TOOL_SERVER_CONNECTIONS: - if server.get("type", "openapi") == "mcp": + if server.get("type", "openapi") == "mcp" and server.get("config", {}).get("enable"): server_id = server.get("info", {}).get("id") auth_type = server.get("auth_type", "none")