fix(mcp): resolve database aliases in team-scoped provider inventory

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
mrinal 2026-11-03 16:59:29 +00:00 • committed by Mrinal Chanshetty
parent 9c39e6a8fb
commit 7632c4d32a

View file

@ -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