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
ruff check ./litellm --fix
Ishaan Jaffcb4d3a88a181
diff --git a/litellm/proxy/management_endpoints/mcp_management_endpoints.py b/litellm/proxy/management_endpoints/mcp_management_endpoints.pyindex 498b6e05b22..f0f8d48e49b 100644--- a/litellm/proxy/management_endpoints/mcp_management_endpoints.py+++ b/litellm/proxy/management_endpoints/mcp_management_endpoints.py@@ -27,7 +27,6 @@ import litellmfrom litellm._logging import verbose_logger, verbose_proxy_loggerfrom litellm.constants import LITELLM_PROXY_ADMIN_NAMEfrom litellm.proxy._experimental.mcp_server.utils import validate_mcp_server_name-from litellm.proxy.auth.model_checks import get_mcp_server_idsrouter = APIRouter(prefix="/v1/mcp", tags=["mcp"])MCP_AVAILABLE: bool = True@@ -97,7 +96,9 @@ if MCP_AVAILABLE:"""Get all MCP tools available for the current key, including those from access groups"""- from litellm.proxy._experimental.mcp_server.auth.user_api_key_auth_mcp import MCPRequestHandler+ from litellm.proxy._experimental.mcp_server.auth.user_api_key_auth_mcp import (+ MCPRequestHandler,+ )from litellm.proxy._experimental.mcp_server.mcp_server_manager import (global_mcp_server_manager,)