Skip to content
Naditu
Get started

CIMD vs DCR in MCP registration: what floods still remain

Client ID Metadata Documents (CIMD) end RFC 7591 DCR table bloat in MCP 2026-07-28, yet shift floods to outbound HTTPS fetches, PAR, and localhost callbacks.

Naditu3 min read

Every security team evaluating CIMD vs DCR in MCP registration runs into a seductive vendor claim: replacing OAuth Dynamic Client Registration (DCR, RFC 7591) with Client ID Metadata Documents (CIMD) removes the registration desk and therefore eliminates registration flooding. That claim is half right and half dangerously incomplete. In the MCP 2026-07-28 specification, deprecating DCR genuinely stops attackers from filling your database with permanent client rows, yet it does not stop strangers from forcing your authorization server to do expensive network work.

What CIMD actually removes when /register disappears

Under traditional RFC 7591 DCR, unknown AI clients onboard themselves by sending an unauthenticated HTTP POST /register payload containing self-asserted metadata. Three concrete headaches vanish when you switch to CIMD, where the client's client_id is simply an HTTPS URL hosting its own JSON metadata file:

  • No permanent database bloat or SaaS tenant quota exhaustion: in DCR, a script sending a million registration requests writes a million rows into your client table and exhausts identity-provider application caps. Worse, you cannot safely LRU-evict a registration table without breaking real issued client_id values. Under CIMD, no client table is required and an HTTP cache can evict entries freely because a cache miss simply re-fetches the URL.
  • One identifier per application instead of per laptop: instead of minting a brand-new database row every time an employee opens a CLI or desktop harness (such as the client runtimes we covered in Claude Cowork VM, DXT extensions, and MCP tool cache limits), every copy of that application shares one domain-hosted metadata URL.
  • Domain-anchored display names on remote callbacks: a phisher at an unrelated domain cannot host a valid redirect callback claiming to belong to app.example.com.
CIMD removes permanent client-table inserts, shifting the attack surface from inbound database writes to outbound HTTPS fetches.

Four reasons CIMD shifts flooding rather than solving it

Saying "there is no write endpoint" is not the same as saying "there is no flood vector." When you read the IETF draft alongside our MCP security checklist for enterprise IT, four operational risks remain wide open unless your team hardens the server:

  1. One cheap wildcard domain generates millions of distinct client_id URLs: an attacker does not need to buy thousands of domains. Because a CIMD client_id is a full HTTPS URL, a five-line wildcard responder on a single domain can serve /clients/1.json through /clients/1000000.json, forcing your authorization server to run outbound DNS resolution, TCP, TLS handshakes, and HTTP GET calls on every unseen URL, or reflecting traffic onto a third-party victim.
  2. The 5 KiB cap bounds payload size, not fetch volume: enforcing the IETF draft's recommended 5 KiB response limit and short socket timeouts caps the cost of one fetch while doing nothing to cap ten thousand concurrent fetches across unique paths.
  3. Post-login fetch deferral breaks on Pushed Authorization Requests (PAR): waiting until a human signs in before fetching client_id metadata stops anonymous floods on /authorize, except on servers using RFC 9126 PAR where metadata validation happens before user authentication.
  4. Localhost callback impersonation still works: because legitimate CLI and desktop MCP tools declare http://127.0.0.1 redirect URIs inside their public CIMD JSON, a rogue local process on an employee's laptop can pass a trusted vendor's real client_id URL so the consent screen shows the genuine vendor domain while the local attacker port captures the authorization code.

How enterprise IT should deploy CIMD and MCP authorization

  • Enforce domain allowlists, RFC 6890 SSRF blocks, and per-host rate limits: reject private, loopback, and cloud metadata IPs (169.254.169.254), refuse HTTP 3xx redirects on metadata fetches, rate-limit unseen root domains, and for internal enterprise servers restrict client_id hosts to an explicit allowlist.
  • Govern data and actions behind an enterprise ontology: OAuth client metadata identifies the software binary, not what business records a user may see or mutate. Place an enterprise business ontology behind your MCP endpoint so caller-scoped row permissions, column masking, and human write approvals hold regardless of which client connected.
Pair domain-allowlisted CIMD and SSRF guards at the OAuth edge with user-level RBAC and human write approvals inside the ontology.

Sources

  1. Model Context Protocol Specification (2026-07-28): Authorization and Client Registration, Model Context Protocol Project
  2. OAuth 2.0 Client ID Metadata Document (draft-ietf-oauth-client-id-metadata-document), IETF OAuth Working Group
  3. CIMD vs DCR: MCP Client Registration, Auth0 Blog
  4. NSA MCP Security Advisory (CSI_MCP_SECURITY), CVE-2025-49596 & OAuth CIMD vs. DCR Analysis, Open Enterprise Ontology Handbook (Ontoloji.org)

More on AI agent governance: Permissions, approval, audit and security for AI agents that read and act on company systems, including agents that work through MCP.

Keep reading

Follow what we ship.

New connectors, product updates and what we learn rolling AI out in enterprises, sent to your inbox.

Book a demo

Tell us where to reach you and we will reply with times.