Skip to content

Anthropic

Testing CIMD across Anthropic’s clients against a self-hosted server

Written by an AI model from the linked sources and checked against them by a second model. How we work

Image: leduccc.medium.com

Anthropic only documents Client ID Metadata Document (CIMD) support for Claude Code. For Desktop, Web, and Cowork, the docs just note that they share infrastructure, with no client_id and no registration mechanism spelled out. A researcher going by Leduccc ran each product through his own authorization server and captured the responses straight off the traffic.

All four clients picked CIMD over Dynamic Client Registration. Code hits claude.ai/oauth/claude-code-client-metadata, while Web, Desktop, and Cowork use claude.ai/oauth/mcp-oauth-client-metadata.

Because Cowork runs on Anthropic’s servers, Leduccc pushed the flow all the way to a tool call. The tools/call request carried the same bearer token issued in the original CIMD exchange. The testing ran on May 15, 2026, against Claude Code CLI 2.1.142 and Claude.app v1.7196.0.

No comments yet. Be the first.

Join the conversation

Sign in to leave a comment. It appears after moderation.