Skip to main content
When a person signs in to a system, Mono needs a client ID there. Instead of an app an admin creates at the vendor, Mono uses the address of its own client document as the client ID: a Client ID Metadata Document (CIMD), as described by the MCP authorization specification of 25 November 2025.

The document

Every server with a public address publishes it at /.well-known/mono-client.json – public, cached for an hour, CORS *:
  • client_id is the document’s own address.
  • A public client: no secret, every sign-in with PKCE (S256).
  • One redirect URI for all systems of this server.
  • No tenant, no person, no key.

When a server publishes it

Even with a document, Mono uses the address as client ID only while the check of “Custom address” measures that exactly this server is reachable from the internet (at most five minutes old). There is no second fetch of its own document.

The order at sign-in

1

Stored client ID

If the system already has a client ID (for example from the tenant’s app), Mono uses it.
2

Client document

If your authorization server says client_id_metadata_document_supported: true in its metadata (or the known system names cimd) and the document is reachable, Mono signs the person in with it. Nothing is registered.
3

Dynamic registration

Otherwise Mono registers itself as a public client (RFC 7591).
4

The tenant's app

If neither works, Mono names the way through the tenant’s own app, with the reason auth.cimd_unreachable (document accepted but not reachable) or auth.no_dcr (no registration).

What your authorization server needs

  • client_id_metadata_document_supported: true in its metadata (RFC 8414).
  • It fetches the document over https from the address in client_id and checks that the request’s redirect_uri is listed in redirect_uris.
  • PKCE with S256 and the resource parameter on every grant.
The sign-in always runs for the person who signs in: tokens are kept in the key store under their name, and every call runs with their own token. More in Connect a system to Mono by its address.
Last modified on November 13, 2026