diff --git a/litellm/proxy/_experimental/mcp_server/v2/oauth/types.py b/litellm/proxy/_experimental/mcp_server/v2/oauth/types.py index d4bb076e8a9..44855713e51 100644 --- a/litellm/proxy/_experimental/mcp_server/v2/oauth/types.py +++ b/litellm/proxy/_experimental/mcp_server/v2/oauth/types.py @@ -170,6 +170,7 @@ class UpstreamCredentialProvider: return self._none(subject, server) case AuthSpecKind.aws_sigv4: return self._aws_sigv4(subject, server) + assert_never(server.auth_spec_kind) # --- arms: Phase 0 stubs (errors-as-values, no raise). Filled in Phase 1. ------------- def _authorization_code(