MCP error: does not support dynamic client registration
What the dynamic client registration error means, how to check for registration_endpoint and CIMD support with curl, and three ways to fix it for Claude, ChatGPT and IDE clients.
On this page
- Why clients need a client ID
- Diagnosis tree
- 1. Find your authorization server
- 2. Read its metadata
- 3. Check the three fields that matter
- 4. If a registration endpoint exists, does it work?
- Fixes
- Fix A: turn on DCR in your identity provider
- Fix B: support CIMD
- Fix C: Anthropic-held credentials for a directory listing
- Recommendation
- Verify
The error means the client found your authorization server but could not get a client ID from it: the metadata has no registration_endpoint (Dynamic Client Registration, DCR) and does not advertise Client ID Metadata Document (CIMD) support. Fix it by adding one of the two, and keep both if you can.
The exact wording differs by client, and this page does not verify any one client's message. The failing condition is the same: no way to register.
Why clients need a client ID
OAuth needs a client_id. The MCP authorization spec (2025-11-25 revision) lists the options clients should try in this order: a pre-registered client, a Client ID Metadata Document if the authorization server says it supports one (client_id_metadata_document_supported in its metadata), then Dynamic Client Registration if there is a registration_endpoint, and finally asking the user to type client details. A client that supports every option and finds none of the first three has to prompt the user, or fail. Source: the MCP authorization spec.
What each client does, from vendor docs:
- Claude. Anthropic's authentication docs say Claude uses CIMD only when your metadata advertises it and also lists
noneintoken_endpoint_auth_methods_supported; otherwise it falls back to DCR. With neither, a directory listing can use a confidential client whose ID and secret you enter in the portal. - ChatGPT. OpenAI's auth docs say ChatGPT registers itself, with CIMD preferred or a
registration_endpoint. There is no manual client option. - Grok Build (formerly Cursor) and VS Code. Per the scanner's rule text, users must paste a client ID when neither mechanism exists.
The scanner reports these as auth.client-registration-claude and auth.client-registration-chatgpt.
Diagnosis tree
1. Find your authorization server
curl -s https://mcp.acme.example/.well-known/oauth-protected-resource | jq '.authorization_servers'
If this fails, fix discovery first: 401 without resource_metadata.
2. Read its metadata
AS=https://auth.acme.example
curl -s $AS/.well-known/oauth-authorization-server \
|| curl -s $AS/.well-known/openid-configuration
Some providers serve only one of the two. Anthropic says either one is enough for Claude. If you get HTML or a 404 from both, see auth.as-metadata-missing.
3. Check the three fields that matter
curl -s $AS/.well-known/openid-configuration | jq '{
registration_endpoint,
client_id_metadata_document_supported,
token_endpoint_auth_methods_supported,
code_challenge_methods_supported
}'
Read the output:
registration_endpoint | client_id_metadata_document_supported | Result |
|---|---|---|
| present | absent or false | DCR works. Fine for all clients, but see the traffic note below |
| absent | true, and none is in the auth methods list | CIMD works for Claude and ChatGPT |
| absent | true, none missing | Claude will not use CIMD and has no DCR to fall back to |
| absent | absent | This error |
4. If a registration endpoint exists, does it work?
curl -i -X POST $AS/register \
-H 'Content-Type: application/json' \
-d '{"client_name":"Acme test","redirect_uris":["https://claude.ai/api/mcp/auth_callback"],"token_endpoint_auth_method":"none","grant_types":["authorization_code","refresh_token"],"response_types":["code"]}'
Expect 201 with a client_id. Common failures: 404 or 403 from a WAF, 400 because the endpoint rejects none as an auth method or an unlisted redirect URI, and 415 because a JSON route is mounted behind a form-only parser.
Fixes
Fix A: turn on DCR in your identity provider
Most hosted providers have a switch. Enable open or authenticated registration, then confirm step 4. Allowlist the redirect URIs you expect. Claude on the web, desktop and mobile uses https://claude.ai/api/mcp/auth_callback, according to Anthropic. Claude Code uses a loopback address. For ChatGPT, OpenAI says to copy the exact production redirect URI from your server's management page.
Watch for traffic. Anthropic says Claude registers a new client on every fresh connection, so a server with directory-scale traffic can accumulate very many registered clients. Plan for cleanup.
Fix B: support CIMD
Advertise it:
{
"issuer": "https://auth.acme.example",
"client_id_metadata_document_supported": true,
"token_endpoint_auth_methods_supported": ["none", "client_secret_post"],
"code_challenge_methods_supported": ["S256"]
}
With CIMD the client_id is an HTTPS URL. Your authorization server fetches the document at that URL, checks that the client_id inside matches the URL exactly, and validates the redirect URI against the document. The MCP spec has a security section for it. Treat the fetch as an SSRF risk: restrict hosts and address ranges, cap response size and time, and cache with care. OpenAI documents a stable client document for ChatGPT at https://chatgpt.com/oauth/client.json.
If your provider has no CIMD support, you cannot turn it on with a flag: it needs provider work or a thin authorization server in front.
Fix C: Anthropic-held credentials for a directory listing
When you can do neither, Anthropic's docs describe creating a confidential client for Claude and entering its ID and secret in the directory portal, with https://claude.ai/api/mcp/auth_callback registered. They note it does not work for URL-pattern listings and does not help ChatGPT or IDE users.
Recommendation
Offer both DCR and CIMD. The spec calls CIMD the common-case mechanism and DCR a backward-compatible fallback, and the scanner has a minor rule, auth.cimd-preferred, for DCR-only servers. Offering both covers clients on either side of that change.
Verify
- Step 3 output shows a
registration_endpoint, or CIMD plusnone. - Step 4 returns
201from outside your network. - Connect from Claude. If you reach your sign-in page, registration worked. If it fails after sign-in, move on to invalid_token after OAuth.
Run a free scan at https://mcpshipyard.com/scan to check every rule at once.
Check your server against these rules
Scan runs the checks from this guide against a live URL and lists each failing rule with its fix.