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: missing await (#17103)
YutaSaito52f1bf1a800b
diff --git a/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py b/litellm/proxy/_experimental/mcp_server/mcp_server_manager.pyindex 54c79fc696c..25b5211464c 100644--- a/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py+++ b/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py@@ -1976,7 +1976,7 @@ class MCPServerManager:verbose_logger.debug(f"Adding server to registry: {server.server_id} ({server.server_name})")- self.add_update_server(server)+ await self.add_update_server(server)verbose_logger.debug(f"Registry now contains {len(self.get_registry())} servers"@@ -2270,7 +2270,7 @@ class MCPServerManager:server.status = "unhealthy"## try adding server to registry to get errortry:- self.add_update_server(server)+ await self.add_update_server(server)except Exception as e:server.health_check_error = str(e)server.health_check_error = "Server is not in in memory registry yet. This could be a temporary sync issue."