fix: disabled mcp display issue

Co-Authored-By: Dario Ruellan <6965667+druellan@users.noreply.github.com>
This commit is contained in:
Timothy Jaeryang Baek
2026-02-15 18:10:18 -06:00
co-authored by Dario Ruellan
parent 319d3e8856
commit 911eecac85
+1 -1
View File
@@ -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")