The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix: fix linting error
Ishaan Jaff310d97c982a9
diff --git a/litellm/proxy/_experimental/mcp_server/db.py b/litellm/proxy/_experimental/mcp_server/db.pyindex 6087458f9f4..605b1b6792d 100644--- a/litellm/proxy/_experimental/mcp_server/db.py+++ b/litellm/proxy/_experimental/mcp_server/db.py@@ -73,13 +73,13 @@ async def get_mcp_servers_by_verificationtoken())- mcp_servers = []+ mcp_servers: Optional[List[str]] = []if (verification_token_record is not Noneand verification_token_record.object_permission is not None):mcp_servers = verification_token_record.object_permission.mcp_servers- return mcp_servers+ return mcp_servers or []async def get_mcp_servers_by_team(@@ -99,10 +99,10 @@ async def get_mcp_servers_by_team())- mcp_servers = []+ mcp_servers: Optional[List[str]] = []if team_record is not None and team_record.object_permission is not None:mcp_servers = team_record.object_permission.mcp_servers- return mcp_servers+ return mcp_servers or []async def get_all_mcp_servers_for_user(