iamops.dev Search
Argo on X RSS feed
ENEnglish

News Explainer · 5 min Enterprise

For architects and security leaders deciding whether AI tool clients can skip a registration step.

Client ID Metadata Documents explained: how an MCP client introduces itself without registering first

A Client ID Metadata Document lets an OAuth client use a web address as its client ID, so MCP clients need no registration step. How it works and what to check.

Four steps of an MCP client introducing itself with a web address: it publishes a JSON file, uses the address as its client ID, the server fetches and checks the file, and the user approves.
TL;DRA client identifier (ID) can now be a web address: a Client ID Metadata…
  • A client identifier (ID) can now be a web address: a Client ID Metadata Document (CIMD) lets a client skip registration, including a client for the Model Context Protocol (MCP).
  • The server fetches the client's JavaScript Object Notation file and must check several things: matching ID, no redirects, no internal addresses, exact redirect addresses.
  • It is a draft from the Internet Engineering Task Force, and the MCP specification already prefers it, while Auth0 support is early access with a dynamic and a manual mode.
  • Adopt it now for new clients and choose dynamic or manual mode by risk. Watch the draft and each vendor while support matures.

An MCP (Model Context Protocol) client that wants to use a protected server first has to tell the authorization server who it is. For years the answer was registration: the client calls a registration endpoint and gets a client ID back. That works when you know your clients in advance. It works badly when anyone can ship an agent, an editor plugin or a desktop app that talks to any MCP server. This piece is based on the IETF draft, the current MCP authorization specification and Auth0’s blog post on CIMD.

The registration problem#

OAuth needs the authorization server to recognise the client before it sends a user back to it. DCR lets a client register at run time, and MCP adopted it first. The price is an open registration endpoint. Unknown callers can create records, so the server needs rate limits and clean-up jobs, stores its own copy of every client, and has no easy way to tell whether “Notes Assistant” is the real Notes Assistant.

A CIMD drops the registration call. The client’s ID is a web address that the client controls, and that address returns a small JSON (JavaScript Object Notation) file describing the client. The authorization server reads the file when the client turns up. Think of a business card with a web address on it, instead of filling in a form at every reception desk.

How it works in four steps#

  1. The owner of the client publishes the document at an https address, for example https://app.example.com/oauth/client.json.
  2. The client starts a normal authorization request and puts that address in the client_id field.
  3. The authorization server sees an address instead of an opaque ID, fetches the document and checks that the client_id inside it is the same address it just fetched.
  4. It checks the redirect address of the request against the list in the document, shows the user the client’s name and host name, and carries on with the usual authorization code flow with PKCE (Proof Key for Code Exchange).
Four steps of an MCP client introducing itself with a web address: it publishes a JSON file, uses the address as its client ID, the server fetches and checks the file, and the user approves.
One address, no registration. The client publishes its own description, the server fetches and checks it, and the user approves.

There is no registration call and no stored secret. Trust rests on the DNS and TLS (Transport Layer Security): you are whoever controls that address.

What the document holds#

Three things are required: the client_id, which must equal the address the file is served from, a display name and the allowed redirect addresses. Optional fields cover a description, a logo, the grant and response types, and how the client authenticates at the token endpoint.

Shared secrets are not allowed in the document. A public client, such as a desktop app, uses no client authentication. A confidential client proves itself with a signed token (private_key_jwt) and publishes its public keys, either inside the file or at an address the file points to.

What the server must check#

The server fetches an address chosen by a stranger. Most of the draft’s rules follow from that.

  • Match the identity. The client_id in the file must equal the address it came from. Otherwise a client could borrow another client’s metadata.
  • Do not follow redirects. Anything other than a plain 200 answer is an error, and a redirect could send the fetch somewhere else.
  • Block internal addresses. The server must refuse to fetch special-use and internal IP addresses, or it becomes a tool for SSRF (server-side request forgery). The loopback exception exists for local testing only.
  • Cap the size. The draft suggests reading no more than 5 kilobytes.
  • Match redirect addresses exactly. The redirect address of every authorization request must appear in the document, not only the first one.
  • Show who is asking. Name and logo are claimed by the client, so the consent screen should also show the host name, and logos should be fetched and checked by the server rather than hot-linked.
  • Fail closed. If the document cannot be fetched or is invalid, the flow stops and the user is not sent back to the client.
  • Treat a new address as a new client. Changing the address creates a client with no link to the old one.
Sequence: the client sends an authorization request, the server fetches the metadata document, checks it, and only then shows the user the client name and host name; a failed check stops the flow, and an approval returns an authorization code.
Fetch, check, then consent. A failed check stops the flow before the user is asked.

CIMD compared with dynamic client registration#

Dynamic client registration Client ID Metadata Document
How a client starts Calls a registration endpoint Uses its own web address as client ID
Server state One stored record per registration A record only after the user authorizes, or after an admin imports it
Spam exposure Open endpoint, anyone can call it No open registration endpoint
Trust basis A record in the server’s database DNS and TLS, checked on every fetch
Secrets The server can issue client secrets Forbidden, keys only
Admin control Not built in Possible when the server supports an approval step

Where the standards are#

The Client ID Metadata Document is an Internet-Draft in the IETF (Internet Engineering Task Force) OAuth working group, adopted by the group, with revision 03 dated 2 November 2026. It is a draft, not a finished standard, and it is written by Aaron Parecki of Okta and Emelia Smith.

The MCP authorization specification already points at it. In the current draft of that specification, authorization servers and clients should support CIMD. Dynamic client registration is allowed but marked deprecated and kept for older servers. A client must obtain its client ID through CIMD, pre-registration or dynamic registration, in a stated order of preference.

Auth0 support today#

Auth0 describes its CIMD support as early access in its announcement. It offers two modes. In dynamic mode a client registers itself on its first authorization, and metadata changes apply automatically, which suits high volumes of short-lived clients such as AI agents. In manual mode an administrator imports the client from its address and approves changes first, which suits clients you have vetted.

Public clients work on standard plans. Confidential clients that use private_key_jwt need an Enterprise plan. Only native and regular web applications are supported, and they are always third-party applications. Auth0 also lists limits: an https address with a path, no localhost, no redirects when fetching, a 5 kilobyte size limit for the document, and active Rules break the login flow, so move them to Actions first. The Auth0 limits come from its announcement; a live check on a test tenant is still open, because that is the only way to see how the early access modes behave.

What to do now#

My view, labelled as opinion: publish a document for any new MCP client now. It costs one static file and removes a registration step you would otherwise maintain. Choose dynamic or manual mode per client, because in dynamic mode a client can change its redirect addresses without a review.

Watch the draft itself, since a revision can still change details, and watch how each vendor handles it while support is in early access. Three questions to put to a vendor: how do you protect the fetch against SSRF, what happens to existing tokens when a client’s metadata changes, and does the consent screen show the client’s host name.

Sources#

Discuss this on X or LinkedIn

Follow on X

New posts by email

One email a week with new posts and labs. Unsubscribe anytime.

Your address is stored with Kit, which sends the emails. Details

Related research and labs

Type to search every page. Use the arrow keys to move through the results.

    Open the full search page