From 608b9b53c9f01da6e73c615d550550aafc1c57cb Mon Sep 17 00:00:00 2001 From: Max Isbey <224885523+maxisbey@users.noreply.github.com> Date: Mon, 10 Nov 2025 17:59:34 +0000 Subject: [PATCH] Add client_id_metadata_document_supported to OAuthMetadata Add support for the client_id_metadata_document_supported field as specified in draft-parecki-oauth-client-id-metadata-document-00. This boolean field indicates whether the authorization server supports retrieving client metadata from a client_id URL. --- src/mcp/shared/auth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mcp/shared/auth.py b/src/mcp/shared/auth.py index 2debc625e6..73a000fc0a 100644 --- a/src/mcp/shared/auth.py +++ b/src/mcp/shared/auth.py @@ -130,6 +130,7 @@ class OAuthMetadata(BaseModel): introspection_endpoint_auth_methods_supported: list[str] | None = None introspection_endpoint_auth_signing_alg_values_supported: list[str] | None = None code_challenge_methods_supported: list[str] | None = None + client_id_metadata_document_supported: bool | None = None class ProtectedResourceMetadata(BaseModel):