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.
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
Related terms
Agent identity, MCP client, OAuth 2.1, Per-user OAuth
Guides that cover Dynamic client registration
- Claude Code MCP config: commands, scopes and managed settings
- Codex CLI MCP config: config.toml, servers and approvals
- Grok Build MCP config: mcp.json, project vs global, and OAuth
- Debug an MCP server with MCP Inspector: web UI, CLI and CI
- Gemini CLI MCP config: settings.json servers and trust
- MCP explained for developers: hosts, clients, servers and JSON-RPC
- MCP authorization step by step: OAuth 2.1, discovery and PKCE
- MCP server security checklist: what to check before you ship
Sources
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 - Page: https://agentsfordevs.com/glossary/dynamic-client-registration
- Markdown version: https://agentsfordevs.com/glossary/dynamic-client-registration.md
- Reuse: quote or summarize with a link to this page. Reuse terms