Glossary auth/

What is dynamic client registration (DCR)?

Dynamic client registration (DCR) is the OAuth mechanism, defined in RFC 7591, by which a client posts its metadata to an authorization server's registration endpoint and receives a client ID without manual setup.

Published
Read
1 min
Source
Markdown

Also called: DCR, RFC 7591

POST /register HTTP/1.1
Host: auth.example.com
Content-Type: application/json

{"client_name": "Example MCP Client",
 "redirect_uris": ["http://127.0.0.1:3000/callback"],
 "application_type": "native"}

HTTP/1.1 201 Created
Content-Type: application/json

{"client_id": "s6BhdRkqt3", "client_id_issued_at": 2893256800}

That is a registration under RFC 7591 (July 2015): the client sends its metadata and gets 201 Created with a client ID, plus a secret if it is a confidential client. To control who may register, a server can demand an initial access token; a client can attach a software statement, a signed JWT asserting its metadata. MCP requires application_type, because OpenID Connect servers default it to web, which can conflict with localhost redirect URIs.

DCR let MCP clients connect to servers they had never seen. MCP spec version 2026-07-28 deprecates it: it stays in the spec for at least twelve months, while new clients are steered to Client ID Metadata Documents (CIMD), where the client ID is an HTTPS URL the authorization server fetches. A client that supports every option should try pre-registration, then metadata documents, then DCR, then ask the user.

DCR is also one ingredient in the confused deputy attack that MCP’s security guidance describes against proxy servers using a static upstream client ID and consent cookies.

See also: OAuth 2.1 · MCP client · MCP authorization step by step · Run a remote MCP server

Agent identity, MCP client, OAuth 2.1, Per-user OAuth

Guides that cover Dynamic client registration

Sources

  1. RFC 7591: OAuth 2.0 Dynamic Client Registration ProtocolIETF, 2015-07 datatracker.ietf.org
  2. Client Registration (MCP specification version 2026-07-28)Model Context Protocol modelcontextprotocol.io
  3. Security Best Practices (version 2026-07-28)Model Context Protocol modelcontextprotocol.io

Changelog

  • First published.

Cite this page

Agents for Devs. "What is dynamic client registration (DCR)?." Published Dec 6, 2026. https://agentsfordevs.com/glossary/dynamic-client-registration
Cite one section