From 7632c4d32ae0107edf4420fe1f1841cfec29dcc7 Mon Sep 17 00:00:00 2001 From: mrinal Date: Tue, 3 Nov 2026 16:59:29 +0000 Subject: [PATCH] fix(mcp): resolve database aliases in team-scoped provider inventory Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/proxy/management_endpoints/mcp_management_endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/management_endpoints/mcp_management_endpoints.py b/litellm/proxy/management_endpoints/mcp_management_endpoints.py index d39591443b8..62e7c563e5d 100644 --- a/litellm/proxy/management_endpoints/mcp_management_endpoints.py +++ b/litellm/proxy/management_endpoints/mcp_management_endpoints.py @@ -1310,7 +1310,7 @@ if MCP_AVAILABLE: check_db_only=True, ) - team_server_ids: Final = await get_team_allowed_mcp_servers(team_obj) + team_server_ids: Final = await get_team_allowed_mcp_servers(team_obj, prisma_client=prisma_client) allow_all_server_ids: Final = get_allow_all_keys_server_ids() all_allowed_ids: Final = team_server_ids | allow_all_server_ids