OAuth Client ID Metadata Document
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_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"
...
}
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]
- Client Identifier URL rules: A Client Identifier URL MUST use the
httpsscheme and MUST contain a path component other than/. It MUST NOT contain single-dot or double-dot path components or a fragment. Clients SHOULD normalize it; servers MUST NOT normalize it and MUST use simple string comparison. [6] - Metadata document contents:
client_idMUST match the URL used to fetch the document by simple string comparison. Properties includeclient_name,redirect_uris,grant_types,token_endpoint_auth_methods_supported(recommended even for["none"]), andtoken_endpoint_auth_method(NOT RECOMMENDED; defaults tononeif neither is present).client_secretand shared-secret methods (client_secret_post,client_secret_basic,client_secret_jwt) MUST NOT be used, and authorization responses MUST includeiss. [6] - Asymmetric client authentication:
jwksandjwks_uriMUST NOT both be present. A client that can hold a private key SHOULD useprivate_key_jwt(advertisingtoken_endpoint_auth_methods_supported), and the document MUST includejwksorjwks_uri, with the authorization server requiring RFC 7523 Section 2.2 client authentication. If the server lacksprivate_key_jwt, the method must benoneand the client is public. [6] - Fetch, SSRF, and cache defenses: The authorization server MUST NOT automatically follow HTTP redirects and MUST NOT fetch a URL resolving to a special-use IP address. It SHOULD limit bytes read (recommended maximum 5 kilobytes) and SHOULD respect HTTP cache headers. A timeout is a transient failure. [6]
Adoption and ecosystem
Clients & agents publishing Client ID Metadata Documents
| Actor | Role | Status | Boundary & format | Source |
|---|---|---|---|---|
| Microsoft, Visual Studio Code | OAuth client | Live (HTTP 200) · checked 2026-10-30 | HTTP 200; token_endpoint_auth_method none; application_type native. | VS Code client metadata [21] |
| Cursor | OAuth client | Live (HTTP 200) · checked 2026-10-30 | HTTP 200; none auth; grant_types are authorization_code and refresh_token. | Cursor MCP client metadata [22] |
| Anthropic, Claude Code | OAuth client | Live (HTTP 200) · checked 2026-10-30 | HTTP 200; client_name Claude Code; loopback redirect_uris only. | Claude Code client metadata [23] |
| Anthropic, Claude | OAuth client | Live (HTTP 200) · checked 2026-10-30 | HTTP 200; client_name Claude; grant includes jwt-bearer. | Claude MCP connector client metadata [24] |
| Block, goose | OAuth client | Live (HTTP 200) · checked 2026-10-30 | HTTP 200; client_name goose; PKCE S256. | goose client metadata [25] |
| Raycast | OAuth client | Live (HTTP 200) · checked 2026-10-30 | HTTP 200; client_name Raycast; token_endpoint_auth_method none. | Raycast client metadata [26] |
| Amp | OAuth client | Supported · checked 2026-10-30 | Supports CIMD, and falls back to dynamic client registration when CIMD is absent. | Amp MCP docs [27] |
| Bluesky, AT Protocol | OAuth client profile | Supported · checked 2026-10-30 | client_id is a public metadata URL; there is no shared client_secret. | AT Protocol OAuth [28] · Bluesky OAuth proposal [29] |
| MCP Python SDK | Client SDK | Supported · checked 2026-10-30 | Passes client_metadata_url; skips /register when the flag is true. | MCP Python SDK OAuth clients [30] |
| MCP C# SDK | Client SDK | Supported · checked 2026-10-30 | ClientMetadataDocumentUri is sent as the client identifier when the flag is true. | MCP C# ClientOAuthOptions [31] |
| FastMCP | Client SDK | Supported · checked 2026-10-30 | The HTTPS metadata URL becomes client_id; the server fetches that document. | FastMCP CIMD authentication [32] |
Authorization servers & identity providers
| Actor | Role | Status | Boundary & format | Source |
|---|---|---|---|---|
| Sentry | Authorization server | Live (HTTP 200) · checked 2026-10-30 | HTTP 200; client_id_metadata_document_supported true; PKCE S256. | Sentry authorization server metadata [33] |
| Apify | Authorization server | Live (HTTP 200) · checked 2026-10-30 | HTTP 200; CIMD flag true; issuer is https://console-backend.apify.com. | Apify authorization server metadata [34] |
| Zuplo | Authorization server | Live (HTTP 200) · checked 2026-10-30 | HTTP 200; flag true; issuer https://auth.zuplo.com/. | Zuplo authorization server metadata [35] |
| Stytch | Identity provider | Supported · as of 2025-10-17 | Announced 2025-10-17; discovers clients without pre-registering credentials. | Stytch supports CIMD [36] |
| WorkOS | Identity provider | Supported · as of 2025-11-30 | Connect supports CIMD; dashboard flag is off by default (2025-11-30). | WorkOS CIMD changelog [37] · WorkOS AuthKit MCP [38] |
| Scalekit | Identity provider | Supported · checked 2026-10-30 | Enable CIMD so the server fetches MCP-host metadata; keep DCR enabled too. | Scalekit MCP quickstart [39] |
| Better Auth | Identity provider | Supported · as of 2026-07-28 | client_id is the metadata URL; MCP profile mcp-2026-07-28. | Better Auth CIMD plugin [40] |
| Auth0 | Identity provider | Supported · checked 2026-10-30 | Manual and dynamic CIMD registration; hosted document stays the source of truth. | Auth0 CIMD registration [41] |
| Okta | Identity provider | Supported · checked 2026-10-30 | API registration of a CIMD client, then that client ID on the token request. | Okta CIMD registration [42] |
| Curity | Identity provider | Supported · as of 2026-03-02 | Admin UI ephemeral clients; one client ID reused across servers (2026-03-02). | Curity Client ID Metadata Document [43] |
| Keycloak | Identity provider | Supported · checked 2026-10-30 | URL client_id needs a profile with the client-id-metadata-document executor. | Keycloak MCP authorization server [44] |
| PingOne Advanced Identity Cloud | Identity provider | Supported · checked 2026-11-06 | Fetches the JSON document at the HTTPS client_id and configures the client at runtime, with no prior registration required. | PingOne CIMD [45] |
| Vercel MCP | MCP authorization server | Supported · checked 2026-11-06 | Accepts 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
- oauth.net Client ID Metadata Document: The oauth.net Client ID Metadata Document page lists OAuth servers Auth0, Authlete, Authplane, Descope, FusionAuth, Okta, Ping, Scalekit, Stytch, and WorkOS; MCP clients VSCode, MCPJam, Claude.ai, and ChatGPT; other clients IndieLogin and Webmention.io; and the service BlueSky. Another rendering on the same page marks Auth0 as coming soon and omits FusionAuth and Okta. [47]
See also
- Personal Agent Protocol (Depended on by) — A Personal Agent's client_id MUST be an HTTPS URL that returns its Client ID Metadata Document, and company discovery stays at /.well-known/poppy.json.
- LWS 1.0 Authentication Suite: Self-signed Identity using Controlled Identifiers (Peer alternative) — CIMD fetches client metadata from the client_id URL, while this suite fetches a controlled identifier document from the JWT sub and selects the key by kid.
- Permit protocols — Category index for
permitstandards. - OAuth 2.0 Consent & DCR vs CIMD & OAuth Metadata (classic vs agentic) — head-to-head comparison
- OAuth Protected Resource and Authorization Server Metadata (as used for agent authorization) vs OAuth Client ID Metadata Document — head-to-head comparison
References
- 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
- 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
- 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
- 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
- WorkOS, auth.md, README — https://raw.githubusercontent.com/workos/auth.md/main/README.md
- 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
- 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
- Aaron Parecki, Client ID Metadata Document Adopted by the OAuth Working Group, October 8, 2025 — https://aaronparecki.com/2025/10/08/4/cimd
- 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
- 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
- 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/
- 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
- IANA, OAuth Parameters, last updated 2026-08-24 — https://www.iana.org/assignments/oauth-parameters
- 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
- Model Context Protocol, Authorization, specification 2025-11-25 — https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization
- Model Context Protocol, Client Registration, specification 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization/client-registration
- 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
- 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
- David Soria Parra and Den Delimarsky, The 2026-07-28 Specification, July 28, 2026 — https://blog.modelcontextprotocol.io/posts/2026-07-28/
- 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
- Microsoft Visual Studio Code, OAuth Client ID Metadata Document (vscode.dev), HTTP Date Fri, 30 Oct 2026 — https://vscode.dev/oauth/client-metadata.json
- Cursor, OAuth Client ID Metadata Document (cursor.com MCP client), HTTP Date Fri, 30 Oct 2026 — https://cursor.com/oauth/mcp-client.json
- Anthropic, Claude Code OAuth Client ID Metadata Document, HTTP Date Fri, 30 Oct 2026 — https://claude.ai/oauth/claude-code-client-metadata
- Anthropic, Claude OAuth Client ID Metadata Document, HTTP Date Fri, 30 Oct 2026 — https://claude.ai/oauth/mcp-oauth-client-metadata
- Block goose, goose OAuth Client ID Metadata Document, HTTP Date Fri, 30 Oct 2026 — https://goose-docs.ai/oauth/client-metadata.json
- Raycast, Raycast OAuth Client ID Metadata Document, HTTP Date Fri, 30 Oct 2026 — https://www.raycast.com/.well-known/oauth-client-metadata/raycast.json
- Amp, MCP, Amp docs — https://ampcode.com/docs/customize/mcp
- AT Protocol, OAuth, AT Protocol OAuth specification — https://atproto.com/specs/oauth
- Bluesky Social, 0004-oauth proposal README, bluesky-social/proposals — https://raw.githubusercontent.com/bluesky-social/proposals/main/0004-oauth/README.md
- Model Context Protocol (Python SDK), OAuth clients, Python SDK documentation — https://py.sdk.modelcontextprotocol.io/client/oauth-clients/
- Model Context Protocol (C# SDK), Class ClientOAuthOptions, MCP C# SDK v2 — https://csharp.sdk.modelcontextprotocol.io/v2/api/ModelContextProtocol.Authentication.ClientOAuthOptions.html
- FastMCP, CIMD Authentication, FastMCP client auth docs — https://gofastmcp.com/clients/auth/cimd
- Sentry, Sentry OAuth authorization server metadata, HTTP Date Fri, 30 Oct 2026 — https://mcp.sentry.dev/.well-known/oauth-authorization-server
- Apify, Apify MCP OAuth authorization server metadata, checked 2026-10-29 — https://mcp.apify.com/.well-known/oauth-authorization-server
- Zuplo, Zuplo OAuth authorization server metadata, checked 2026-10-29 — https://zuplo.com/.well-known/oauth-authorization-server
- Stytch, Stytch supports CIMD for OAuth, Oct 17, 2025 — https://stytch.com/blog/stytch-supports-cimd/
- WorkOS, Client ID Metadata Support for MCP Auth, November 30, 2025 — https://workos.com/changelog/client-id-metadata-support-for-mcp-auth
- WorkOS, Model Context Protocol – AuthKit, AuthKit MCP docs — https://workos.com/docs/authkit/mcp
- Scalekit, Add OAuth 2.1 authorization to MCP servers, Scalekit Docs — https://docs.scalekit.com/authenticate/mcp/quickstart/
- Better Auth, Client ID Metadata Document (CIMD), Better Auth docs — https://better-auth.com/docs/plugins/cimd
- Auth0, Client ID Metadata Document (CIMD) Registration, Auth0 Docs — https://auth0.com/docs/get-started/auth0-overview/create-applications/cimd-overview
- Okta, Register AI agents with a Client ID Metadata Document (CIMD), Okta Developer — https://developer.okta.com/docs/guides/ai-agent-cimd-registration/main/
- Curity, OAuth Registration with Client ID Metadata Document, Curity Identity Server — https://curity.io/resources/learn/oauth-client-id-metadata-document/
- Keycloak, Integrating with Model Context Protocol (MCP), Keycloak securing apps — https://www.keycloak.org/securing-apps/mcp-authz-server
- 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
- 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
- OAuth Community Site, OAuth Client ID Metadata Document, undated implementation roster — https://oauth.net/2/client-id-metadata-document/