part 3The satellite RFCs MCP relies on·lesson 3.6 of 8·3 min read
Client ID Metadata Documents (CIMD)
With Client ID Metadata Documents (CIMD), the client_id stops being an opaque value an authorization server hands you and becomes an HTTPS URL you control. This lesson explains how a client metadata document works, the rules that are not optional, and why MCP authorization prefers it over dynamic client registration.
In this lesson
Explain how a Client ID Metadata Document works end to end.
Apply its mandatory rules.
Argue why it is better than dynamic registration.
The idea: a URL as the client_id
Instead of registering with every authorization server, the client publishes a JSON document once at an HTTPS URL on its own domain and uses that URL as its client_id. When an authorization server receives that client_id, it downloads the JSON and reads the client's name and its allowed redirect_uris.
GET /authorize?client_id=https%3A%2F%2Fapp.example.com%2Foauth%2Fclient-metadata.json&…
2. The authorization server fetches the document
Authorization server → Client's website
It sends a GET to that URL (and may cache the result).
3. The authorization server validates
Is the client_id field in the JSON exactly that URL?
Is the request's redirect_uri listed in redirect_uris?
4. Consent
User → Authorization server
The authorization server can show "Example MCP Client (app.example.com)": the domain is a verifiable hint about who the client is.
5. The normal flow continues
Authorization server → Client
Authorization code, exchange with PKCE, token. No prior registration and no state stored on the authorization server.
Rules that are not optional
The document must live at an https URL with a path (https://app.example.com on its own is not valid).
Its client_id field must be that same URL.
Besides client_id, the document must carry at least client_name and redirect_uris, and the authorization server must check that the JSON is valid and that the redirect_uri of the request is in the list.
Interactive exercise: it loads in your browser.
Use the validator above to try changing the URL, the requested redirect_uri or the document content and see which rule a broken document violates.
Dynamic registration vs. metadata document
Dynamic registration
Metadata document
State on the authorization server
One registration per installation
None (cache only)
Identity
Whatever the client claims
Tied to an HTTPS domain
Changing redirect_uris
Update every registration
Edit one file
Level in MCP
Deprecated (2026-07-28)
Recommended (2025-11-25 onwards)
Summary
client_id = an HTTPS URL (with a path) pointing to a JSON document that describes the client.
The client_id field inside the JSON must equal that URL exactly.
No state on the authorization server and an identity tied to a domain: the recommended option since 2025-11-25.
quiz · 3 questions
1. The client uses client_id=https://app.example.com/meta.json, but the JSON contains "client_id": "https://app.example.com/other.json". What does the authorization server do?
This is a mandatory rule of the spec: the client_id field in the document must match the URL it was fetched from exactly, otherwise anyone could point to a document that claims another identity.
2. Which of these URLs can be used as a Client ID Metadata Document client_id?
The URL must use the https scheme and include a path component; a bare origin or a plain http URL is not valid.
3. What state does the authorization server need to keep per client with metadata documents?
The document is fetched on demand from the client's URL, so the authorization server stores nothing beyond a cache.