Claude, Grok Build (formerly Cursor), VS Code MCP OAuth: no DCR or CIMD, client id required
Without a registration_endpoint or CIMD support, Claude needs an OAuth client entered in its portal and IDE users must paste a client id. Fix it.
To let Claude, Grok Build and VS Code connect without manual setup, expose a registration_endpoint (DCR) or advertise client_id_metadata_document_supported: true together with none in token_endpoint_auth_methods_supported (CIMD). Without either, Claude needs an OAuth client entered in its portal and IDE users must paste a client id.
What you see
- A scan reports
auth.client-registration-claude: "No registration_endpoint and no CIMD support". - A softer warning: CIMD is advertised but
noneis missing fromtoken_endpoint_auth_methods_supported, so Claude will not use it and has no DCR to fall back to. - In Grok Build or VS Code you are asked for a client id. The prompt wording and any "does not support dynamic client registration" error text are common phrasings but are not verified against each client here.
Why it happens
Clients cannot hold a pre-registered client id for every server on the internet. They either register themselves (DCR) or present a URL as their client id (CIMD). The rule's fix text says Claude selects CIMD only when both conditions are present and otherwise falls back to DCR.
Check it yourself
curl -s https://auth.acme.example/.well-known/oauth-authorization-server | jq '{
registration_endpoint,
cimd: .client_id_metadata_document_supported,
methods: .token_endpoint_auth_methods_supported
}'
Fix
CIMD:
{
"client_id_metadata_document_supported": true,
"token_endpoint_auth_methods_supported": ["none", "client_secret_basic"]
}
DCR:
{ "registration_endpoint": "https://auth.acme.example/register" }
If you support both, Claude picks CIMD. The rule also notes that Claude registers a new DCR client on every fresh connection, so rate-limit and clean up DCR clients (see auth.cimd-preferred).
If you cannot add either, the rule's fix text says you must enter an OAuth client in the Claude portal (Anthropic-held credentials), and Grok Build and VS Code users must paste a client id. That is a workaround, not a fix.
Verify
Re-run the jq command: either registration_endpoint is a URL, or cimd is true and methods contains "none". Reconnect from a fresh client session.
Which clients care
The rule lists Claude, Grok Build and VS Code. For ChatGPT, which has no manual option, see auth.client-registration-chatgpt.
Source
Claude authentication docs: https://claude.com/docs/connectors/building/authentication
Run a free scan at https://mcpshipyard.com/scan to check every rule at once.
Check every rule at once
A free scan runs this check and the other 152 against your live URL.
Related fixes
- Add Client ID Metadata Documents (CIMD) next to Dynamic Client Registration
- API key or token in the MCP server URL (?key=): why it fails and how to fix
- ChatGPT MCP: dynamic client registration not supported (CIMD or DCR required)
- Claude says "Couldn't reach the MCP server": missing protected resource metadata