Tuesday, November 24, 2026SubscribeMastheadAbout
Cali ReporterCalifornia · National · West Coast · Good News

Advertisement

Technology

OAuth Client ID Metadata Documents Replace Dynamic Client Registration in MCP Servers

A hosted MCP server for Glidely has transitioned from Dynamic Client Registration (DCR) to a new OAuth specification called Client ID Metadata Documents (CIMD) for improved security and management.

Portrait of Benjamin Boyce
Artificial Intelligence & Technology · November 19, 2026
Share

AI-generated editorial illustration from an imagined camera angle.
AI-generated editorial illustration from an imagined camera angle. Source image: dev.to.

The author of a hosted MCP server for Glidely, a kanban board with team chat, has adopted the Client ID Metadata Documents (CIMD) specification in place of Dynamic Client Registration (DCR) for improved security and management. The shift was prompted by a new option in Claude's custom connector dialog, which recommends using "Claude's published identity". This option is based on the CIMD specification, which is now preferred over DCR by the MCP authorization spec (source ID: 1). [1]

With DCR, the app POSTs its name and redirect URIs to /oauth/register and receives a client_id. However, this method has issues, such as the client table growing indefinitely due to repeated client registrations, and the lack of control over the name provided by the app. Anthropic's own documentation recommends CIMD for high-traffic servers for these reasons (source ID: 1). [1]

Instead of registering, the app uses an HTTPS URL as its client_id, which serves a JSON file describing the app. For example, Claude's metadata file is available at https://claude.ai/oauth/mcp-oauth-client-metadata. The authorization server fetches this file and uses it as the registration. This method ensures that only the domain owner can publish the metadata, as the file must name its own URL as client_id (source ID: 1). [1]

The implementation includes steps to validate the client_id, fetch the metadata document securely, and cache the results. Specific rules are applied to ensure that only valid URLs are accepted, and that the document is fetched and validated correctly. The code also includes support for loopback redirects used by Claude Code, which requires special handling of redirect URIs (source ID: 1). [1]

Advertisement

The author of a hosted MCP server for Glidely has implemented the Client ID Metadata Documents (CIMD) specification in place of Dynamic Client Registration (DCR) for improved security and management of OAuth client identities. With DCR, the app POSTs its name and redirect URIs to /oauth/register and receives a client_id. However, this approach leads to issues such as the client table growing indefinitely, as seen with Claude registering a new client on every fresh connection (Dev.to, 2023). [1]

Instead of registering through DCR, the app now uses an HTTPS URL as its client_id, which serves a JSON file describing the app. This JSON file includes details such as the client name, client URI, redirect URIs, and grant types. The authorization server fetches this file and uses it as the registration, ensuring that the identity is backed by the domain rather than relying on self-declared names (Dev.to, 2023). [1]

To safely validate the client_id as a URL, the server performs strict checks to prevent SSRF attacks. These checks include verifying that the URL is in canonical form, does not contain unusual ports or query strings, and that the document served at the URL correctly names its own address. The server also caches valid responses and limits the size and response time of the fetched document (Dev.to, 2023). [1]

The author of a hosted MCP server for Glidely, a kanban board with team chat, has adopted the Client ID Metadata Documents (CIMD) specification in place of Dynamic Client Registration (DCR) for improved security and management. With DCR, the app POSTs its name and redirect URIs to /oauth/register and receives a client_id. Instead of registering, the app uses an HTTPS URL as its client_id, which serves a JSON file describing the app. This change was motivated by the limitations of DCR, including the proliferation of client entries and the lack of reliable identity verification (source ID: 1). [1]

Advertisement

The implementation includes steps to validate the client_id, fetch the metadata document securely, and cache the results. The server performs strict checks to prevent SSRF attacks by validating the URL format and ensuring it is in canonical form. The server fetches the metadata document from the HTTPS URL, verifies that the document names its own address as the client_id, and ensures that the redirect URIs are valid and allowed (source ID: 1). [1]

The server also includes a cache for successful metadata document fetches, with a timeout of 10 minutes, and handles failures by retrying the fetch after a short delay. The implementation ensures that only valid, 200 OK responses are accepted, and that the document size does not exceed 5 KB. These measures help prevent malicious actors from exploiting the system through invalid or oversized metadata documents (source ID: 1). [1]

Sources

Dev.to

Prepared with AI assistance from the cited sources.

The Cali Reporter newsletter

The stories worth your time.

California, the country, and what comes next. Join our free newsletter for reporting that keeps you informed.

By joining, you agree to receive the Cali Reporter newsletter. Unsubscribe at any time. Privacy policy.

More in Technology

  • Modern Web Guidance 1.0 and Browser Compatibility

    Modern Web Guidance 1.0, announced by Chrome for Developers on November 10, introduces browser compatibility data to assist coding agents in building web features. The initiative emphasizes the importance of fallback…

  • Apache mod_http2 Vulnerability Detection with Nmap

    A new Nmap scripting module has been developed to detect the Apache mod_http2 vulnerability (CVE-2026-119618), addressing the challenges of identifying affected systems accurately.

  • Securing Remote Vendor Access in Industrial Networks

    Best practices for managing remote vendor access in operational technology (OT) networks emphasize controlled access points, multifactor authentication, and time-bound sessions to reduce cybersecurity risks.

Advertisement