diff --git a/litellm/proxy/auth/route_checks.py b/litellm/proxy/auth/route_checks.py index 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 logic pass - elif route.startswith("/v1/mcp/"): + elif route.startswith("/v1/mcp/") or route.startswith("/mcp-rest/"): pass # authN/authZ handled by api itself else: user_role = "unknown"