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
[MCP Gateway] Added route check for internal users (#13350)
Jugal D. Bhattb7325f4765df
diff --git a/litellm/proxy/auth/route_checks.py b/litellm/proxy/auth/route_checks.pyindex e4d4f321159..f6b088d15a6 100644--- a/litellm/proxy/auth/route_checks.py+++ b/litellm/proxy/auth/route_checks.py@@ -210,7 +210,7 @@ class RouteChecks:route=route, allowed_routes=LiteLLMRoutes.self_managed_routes.value): # routes that manage their own allowed/disallowed logicpass- elif route.startswith("/v1/mcp/"):+ elif route.startswith("/v1/mcp/") or route.startswith("/mcp-rest/"):pass # authN/authZ handled by api itselfelse:user_role = "unknown"