agenticweb.wiki

OAuth Client ID Metadata Document

Category: 3 · Permit (permit) · Form: Document format (document-format) · Last checked · 47 primary sources

Not to be confused with OAuth Protected Resource and Authorization Server Metadata (RFC 9728 /.well-known/oauth-protected-resource and RFC 8414 /.well-known/oauth-authorization-server server discovery documents), with the OAuth 2.0 Dynamic Client Registration Protocol (RFC 7591, whose client registration endpoint accepts an HTTP POST and whose authorization server returns a client identifier), with Identity Assertion JWT Authorization Grant (ID-JAG) (an application uses an identity assertion to obtain an access token for a third-party API), or with auth.md (a reference implementation of agentic registration that returns a service-signed identity_assertion). [1][2][3][4][5]

In brief: OAuth Client ID Metadata Document is an IETF OAuth specification—adopted by MCP for URL-based client registration—that lets AI agents and desktop applications authenticate against unfamiliar authorization servers without pre-shared credentials. Rather than requiring manual developer-portal setup or stateful Dynamic Client Registration on every server, the client uses an HTTPS URL for its client_id so the authorization server can fetch a self-hosted JSON metadata document on demand. [6][7]

OAuth Client ID Metadata Document (draft-ietf-oauth-client-id-metadata-document-03) is a Standards Track IETF OAuth Working Group specification originated by Aaron Parecki and Emelia Smith that lets an OAuth 2.0 client identify itself to authorization servers without prior dynamic or manual registration by using an HTTPS URL as its client_id. [6] The client_id URL refers to a JSON Client ID Metadata Document, which the authorization server fetches on demand during an authorization flow. It MUST be served with HTTP 200 OK, the authorization server MUST NOT automatically follow HTTP redirects, and the document's client_id property MUST match the URL used to fetch it. [6] Adopted by the IETF OAuth Working Group on October 8, 2025, draft-ietf-oauth-client-id-metadata-document-03 was published on 2 November 2026 (expiring 6 May 2027) and serves as the default client registration mechanism in the Model Context Protocol (SEP-991). [6][7][8]

Problem and scope

When a client has no relationship with an authorization server, manual registration is impossible. Dynamic Client Registration can establish a client identifier for a previously unknown client, but it is not always practical and creates challenges managing registration data and cleaning up inactive clients. [6] Instead of calling a registration endpoint at each server, the client publishes a self-hosted JSON metadata document at its HTTPS client_id URL. Authorization servers supporting this specification that publish RFC 8414 metadata MUST include the client_id_metadata_document_supported boolean so a client redirects the user only to a server that supports the specification. [6] Clients without a stable public URL, such as a developer's local machine, are less well served. client_secret MUST NOT be used and private key material MUST NOT be included. Servers MUST NOT fetch URLs that resolve to special-use IP addresses. [6]

Client information discovery

Client information discovery
Clients may first read client_id_metadata_document_supported from authorization-server metadata. The authorization request carries the Client Identifier URL as client_id. The authorization server retrieves the Client ID Metadata Document, MUST NOT follow redirects, and client_id MUST match the Client Identifier URL, registering the redirect URLs. [6]

§5.1 non-normative Client ID Metadata Document: private_key_jwt

{
     ...
     "token_endpoint_auth_methods_supported": ["private_key_jwt"],
     "jwks_uri": "https://client.example.com/jwks.json"
     ...
   }

Non-normative fragment: token_endpoint_auth_methods_supported is private_key_jwt and jwks_uri is https://client.example.com/jwks.json. [6]

URL-based client_id resolution, document validation, and security rules

A Client ID Metadata Document reuses the OAuth Dynamic Client Registration metadata registry in a JSON (RFC8259) document hosted at the client's own HTTPS URL, allowing a single metadata document to describe the client across any supporting authorization server. [6]

MCP authorization registration order, SEP-991 transition, and IdP rollouts

The 2025-11-25 and 2026-07-28 Model Context Protocol specifications state that authorization servers advertise Client ID Metadata Document support by including client_id_metadata_document_supported set to true, and that servers and clients SHOULD support those documents while they MAY support Dynamic Client Registration. SEP-991 adopted the documents as MCP's default registration mechanism when client and server have no prior relationship. In the IETF OAuth Working Group, two companion individual Internet-Drafts extend CIMD deployments: draft-mcguinness-oauth-cimd-sw-stmt-01 (2 November 2026) defines a software statement in which a trusted party records its review of the exact octets of a client's CIMD for request-time admission without registration, and draft-gerber-oauth-client-metadata-lookup-00 (21 October 2026) defines an OAuth endpoint returning a public subset of a client's effective server configuration (including applied defaults) chiefly serving CIMD clients. [7][15][16][17][18]

Adoption and ecosystem

Selected verified implementations (24 probed or cited examples across 2 tables; non-exhaustive — see Ecosystem censuses below for ecosystem-wide totals).

Clients & agents publishing Client ID Metadata Documents

ActorRoleStatusBoundary & formatSource
Microsoft, Visual Studio CodeOAuth clientLive (HTTP 200) · checked 2026-10-30HTTP 200; token_endpoint_auth_method none; application_type native.VS Code client metadata [21]
CursorOAuth clientLive (HTTP 200) · checked 2026-10-30HTTP 200; none auth; grant_types are authorization_code and refresh_token.Cursor MCP client metadata [22]
Anthropic, Claude CodeOAuth clientLive (HTTP 200) · checked 2026-10-30HTTP 200; client_name Claude Code; loopback redirect_uris only.Claude Code client metadata [23]
Anthropic, ClaudeOAuth clientLive (HTTP 200) · checked 2026-10-30HTTP 200; client_name Claude; grant includes jwt-bearer.Claude MCP connector client metadata [24]
Block, gooseOAuth clientLive (HTTP 200) · checked 2026-10-30HTTP 200; client_name goose; PKCE S256.goose client metadata [25]
RaycastOAuth clientLive (HTTP 200) · checked 2026-10-30HTTP 200; client_name Raycast; token_endpoint_auth_method none.Raycast client metadata [26]
AmpOAuth clientSupported · checked 2026-10-30Supports CIMD, and falls back to dynamic client registration when CIMD is absent.Amp MCP docs [27]
Bluesky, AT ProtocolOAuth client profileSupported · checked 2026-10-30client_id is a public metadata URL; there is no shared client_secret.AT Protocol OAuth [28] · Bluesky OAuth proposal [29]
MCP Python SDKClient SDKSupported · checked 2026-10-30Passes client_metadata_url; skips /register when the flag is true.MCP Python SDK OAuth clients [30]
MCP C# SDKClient SDKSupported · checked 2026-10-30ClientMetadataDocumentUri is sent as the client identifier when the flag is true.MCP C# ClientOAuthOptions [31]
FastMCPClient SDKSupported · checked 2026-10-30The HTTPS metadata URL becomes client_id; the server fetches that document.FastMCP CIMD authentication [32]

Authorization servers & identity providers

ActorRoleStatusBoundary & formatSource
SentryAuthorization serverLive (HTTP 200) · checked 2026-10-30HTTP 200; client_id_metadata_document_supported true; PKCE S256.Sentry authorization server metadata [33]
ApifyAuthorization serverLive (HTTP 200) · checked 2026-10-30HTTP 200; CIMD flag true; issuer is https://console-backend.apify.com.Apify authorization server metadata [34]
ZuploAuthorization serverLive (HTTP 200) · checked 2026-10-30HTTP 200; flag true; issuer https://auth.zuplo.com/.Zuplo authorization server metadata [35]
StytchIdentity providerSupported · as of 2025-10-17Announced 2025-10-17; discovers clients without pre-registering credentials.Stytch supports CIMD [36]
WorkOSIdentity providerSupported · as of 2025-11-30Connect supports CIMD; dashboard flag is off by default (2025-11-30).WorkOS CIMD changelog [37] · WorkOS AuthKit MCP [38]
ScalekitIdentity providerSupported · checked 2026-10-30Enable CIMD so the server fetches MCP-host metadata; keep DCR enabled too.Scalekit MCP quickstart [39]
Better AuthIdentity providerSupported · as of 2026-07-28client_id is the metadata URL; MCP profile mcp-2026-07-28.Better Auth CIMD plugin [40]
Auth0Identity providerSupported · checked 2026-10-30Manual and dynamic CIMD registration; hosted document stays the source of truth.Auth0 CIMD registration [41]
OktaIdentity providerSupported · checked 2026-10-30API registration of a CIMD client, then that client ID on the token request.Okta CIMD registration [42]
CurityIdentity providerSupported · as of 2026-03-02Admin UI ephemeral clients; one client ID reused across servers (2026-03-02).Curity Client ID Metadata Document [43]
KeycloakIdentity providerSupported · checked 2026-10-30URL client_id needs a profile with the client-id-metadata-document executor.Keycloak MCP authorization server [44]
PingOne Advanced Identity CloudIdentity providerSupported · checked 2026-11-06Fetches the JSON document at the HTTPS client_id and configures the client at runtime, with no prior registration required.PingOne CIMD [45]
Vercel MCPMCP authorization serverSupported · checked 2026-11-06Accepts a CIMD: a JSON file on the client's own domain, with that file's HTTPS URL used as the OAuth client_id.Vercel MCP CIMD changelog [46]

Ecosystem censuses

+ Submit an implementation

See also

References

  1. Michael B. Jones, Phil Hunt, and Aaron Parecki, RFC 9728: OAuth 2.0 Protected Resource Metadata, April 2025 — https://www.rfc-editor.org/rfc/rfc9728.html
  2. Michael B. Jones, Nat Sakimura, and John Bradley, RFC 8414: OAuth 2.0 Authorization Server Metadata, June 2018 — https://www.rfc-editor.org/rfc/rfc8414.html
  3. Justin Richer (ed.), Michael B. Jones, John Bradley, Maciej Machulak, and Phil Hunt, RFC 7591: OAuth 2.0 Dynamic Client Registration Protocol, July 2015 — https://www.rfc-editor.org/rfc/rfc7591.html
  4. A. Parecki (Okta), K. McGuinness (Independent), and B. Campbell (Ping Identity), Identity Assertion JWT Authorization Grant (draft-ietf-oauth-identity-assertion-authz-grant-06), draft-06, 31 October 2026; expires 4 May 2027 — https://www.ietf.org/archive/id/draft-ietf-oauth-identity-assertion-authz-grant-06.txt
  5. WorkOS, auth.md, README — https://raw.githubusercontent.com/workos/auth.md/main/README.md
  6. Aaron Parecki (Okta) and Emelia Smith, OAuth Client ID Metadata Document (draft-ietf-oauth-client-id-metadata-document-03), 2 November 2026; expires 6 May 2027 — https://www.ietf.org/archive/id/draft-ietf-oauth-client-id-metadata-document-03.txt
  7. Paul Carleton and Aaron Parecki, SEP-991: Enable URL-based Client Registration using OAuth Client ID Metadata Documents, created 2025-07-07; status Final — https://github.com/modelcontextprotocol/modelcontextprotocol/blob/02dd8f61/docs/seps/991-enable-url-based-client-registration-using-oauth-c.mdx
  8. Aaron Parecki, Client ID Metadata Document Adopted by the OAuth Working Group, October 8, 2025 — https://aaronparecki.com/2025/10/08/4/cimd
  9. Aaron Parecki (Okta) and Emelia Smith (IETF Web Authorization Protocol Working Group), OAuth Client ID Metadata Document (working-group markdown; docname -latest, date empty), undated main branch (docname draft-ietf-oauth-client-id-metadata-document-latest) — https://raw.githubusercontent.com/oauth-wg/draft-ietf-oauth-client-id-metadata-document/main/draft-ietf-oauth-client-id-metadata-document.md
  10. Aaron Parecki (Okta) and Emelia Smith, OAuth Client ID Metadata Document (draft-parecki-oauth-client-id-metadata-document-00), 2 July 2024; expires 3 January 2025 — https://www.ietf.org/archive/id/draft-parecki-oauth-client-id-metadata-document-00.txt
  11. Aaron Parecki and Emelia Smith (IETF Web Authorization Protocol Working Group), draft-ietf-oauth-client-id-metadata-document — OAuth Client ID Metadata Document (IETF Datatracker), revision -03; last updated 2026-11-02 (expires 2027-05-06) — https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/
  12. IETF, IETF Datatracker document JSON metadata for draft-ietf-oauth-client-id-metadata-document, checked 2026-11-08 — https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/doc.json
  13. IANA, OAuth Parameters, last updated 2026-08-24 — https://www.iana.org/assignments/oauth-parameters
  14. IETF OAuth Working Group, OAuth Client ID Metadata Document (working repository), repository readme — https://github.com/oauth-wg/draft-ietf-oauth-client-id-metadata-document
  15. Model Context Protocol, Authorization, specification 2025-11-25 — https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization
  16. Model Context Protocol, Client Registration, specification 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization/client-registration
  17. K. McGuinness (Independent), Client ID Metadata Document Software Statement (draft-mcguinness-oauth-cimd-sw-stmt-01), 2 November 2026; expires 6 May 2027 — https://www.ietf.org/archive/id/draft-mcguinness-oauth-cimd-sw-stmt-01.txt
  18. M. Gerber (Twilio), OAuth Client Metadata Lookup (draft-gerber-oauth-client-metadata-lookup-00), 21 October 2026; expires 24 April 2027 — https://www.ietf.org/archive/id/draft-gerber-oauth-client-metadata-lookup-00.txt
  19. David Soria Parra and Den Delimarsky, The 2026-07-28 Specification, July 28, 2026 — https://blog.modelcontextprotocol.io/posts/2026-07-28/
  20. Maxime Guerreiro (Cloudflare), Ulas Kirazci (Amazon), and Thibault Meunier (Cloudflare), Registry and Signature Agent card for Web bot auth (draft-meunier-webbotauth-registry-04), 27 October 2026; expires 30 April 2027 — https://www.ietf.org/archive/id/draft-meunier-webbotauth-registry-04.txt
  21. Microsoft Visual Studio Code, OAuth Client ID Metadata Document (vscode.dev), HTTP Date Fri, 30 Oct 2026 — https://vscode.dev/oauth/client-metadata.json
  22. Cursor, OAuth Client ID Metadata Document (cursor.com MCP client), HTTP Date Fri, 30 Oct 2026 — https://cursor.com/oauth/mcp-client.json
  23. Anthropic, Claude Code OAuth Client ID Metadata Document, HTTP Date Fri, 30 Oct 2026 — https://claude.ai/oauth/claude-code-client-metadata
  24. Anthropic, Claude OAuth Client ID Metadata Document, HTTP Date Fri, 30 Oct 2026 — https://claude.ai/oauth/mcp-oauth-client-metadata
  25. Block goose, goose OAuth Client ID Metadata Document, HTTP Date Fri, 30 Oct 2026 — https://goose-docs.ai/oauth/client-metadata.json
  26. Raycast, Raycast OAuth Client ID Metadata Document, HTTP Date Fri, 30 Oct 2026 — https://www.raycast.com/.well-known/oauth-client-metadata/raycast.json
  27. Amp, MCP, Amp docs — https://ampcode.com/docs/customize/mcp
  28. AT Protocol, OAuth, AT Protocol OAuth specification — https://atproto.com/specs/oauth
  29. Bluesky Social, 0004-oauth proposal README, bluesky-social/proposals — https://raw.githubusercontent.com/bluesky-social/proposals/main/0004-oauth/README.md
  30. Model Context Protocol (Python SDK), OAuth clients, Python SDK documentation — https://py.sdk.modelcontextprotocol.io/client/oauth-clients/
  31. Model Context Protocol (C# SDK), Class ClientOAuthOptions, MCP C# SDK v2 — https://csharp.sdk.modelcontextprotocol.io/v2/api/ModelContextProtocol.Authentication.ClientOAuthOptions.html
  32. FastMCP, CIMD Authentication, FastMCP client auth docs — https://gofastmcp.com/clients/auth/cimd
  33. Sentry, Sentry OAuth authorization server metadata, HTTP Date Fri, 30 Oct 2026 — https://mcp.sentry.dev/.well-known/oauth-authorization-server
  34. Apify, Apify MCP OAuth authorization server metadata, checked 2026-10-29 — https://mcp.apify.com/.well-known/oauth-authorization-server
  35. Zuplo, Zuplo OAuth authorization server metadata, checked 2026-10-29 — https://zuplo.com/.well-known/oauth-authorization-server
  36. Stytch, Stytch supports CIMD for OAuth, Oct 17, 2025 — https://stytch.com/blog/stytch-supports-cimd/
  37. WorkOS, Client ID Metadata Support for MCP Auth, November 30, 2025 — https://workos.com/changelog/client-id-metadata-support-for-mcp-auth
  38. WorkOS, Model Context Protocol – AuthKit, AuthKit MCP docs — https://workos.com/docs/authkit/mcp
  39. Scalekit, Add OAuth 2.1 authorization to MCP servers, Scalekit Docs — https://docs.scalekit.com/authenticate/mcp/quickstart/
  40. Better Auth, Client ID Metadata Document (CIMD), Better Auth docs — https://better-auth.com/docs/plugins/cimd
  41. Auth0, Client ID Metadata Document (CIMD) Registration, Auth0 Docs — https://auth0.com/docs/get-started/auth0-overview/create-applications/cimd-overview
  42. Okta, Register AI agents with a Client ID Metadata Document (CIMD), Okta Developer — https://developer.okta.com/docs/guides/ai-agent-cimd-registration/main/
  43. Curity, OAuth Registration with Client ID Metadata Document, Curity Identity Server — https://curity.io/resources/learn/oauth-client-id-metadata-document/
  44. Keycloak, Integrating with Model Context Protocol (MCP), Keycloak securing apps — https://www.keycloak.org/securing-apps/mcp-authz-server
  45. Ping Identity, Client ID metadata document (CIMD) | PingOne Advanced Identity Cloud, undated product doc — https://docs.pingidentity.com/pingone/applications_overview/p1_client_id_metadata_document.html
  46. Josh Souphanthong and Mark Roberts (Vercel), Vercel MCP now supports Client ID Metadata Documents, published 2 Nov 2026 — https://vercel.com/changelog/vercel-mcp-now-supports-client-id-metadata-documents
  47. OAuth Community Site, OAuth Client ID Metadata Document, undated implementation roster — https://oauth.net/2/client-id-metadata-document/

JSON · Markdown · OKF v0.2