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
style: black format mcp_server_manager.py
Ishaan Jafferd8dbb46dcf11
diff --git a/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py b/litellm/proxy/_experimental/mcp_server/mcp_server_manager.pyindex 68b858868ad..bca7aa45207 100644--- a/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py+++ b/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py@@ -191,9 +191,9 @@ class MCPServerManager:) -> None:raw = getattr(client, "_last_initialize_instructions", None)if raw and str(raw).strip():- self._upstream_initialize_instructions_by_server_id[server.server_id] = (- str(raw).strip()- )+ self._upstream_initialize_instructions_by_server_id[server.server_id] = str(+ raw+ ).strip()def get_registry(self) -> Dict[str, MCPServer]:"""