Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.30 Home All releases olderv2.1.29 v2.1.31newer
Claude Code v2.1.30

MCP OAuth Configuration Options

What

New CLI flags for configuring OAuth authentication on HTTP/SSE MCP servers.

Usage
claude mcp add --client-id <clientId> --client-secret --callback-port <port> <server-name> <url>
Details
  • --client-id <clientId>: OAuth client ID for HTTP/SSE servers
  • --client-secret: Prompts for OAuth client secret (or reads from MCP_CLIENT_SECRET env var)
  • --callback-port <port>: Fixed port for OAuth callback, for servers requiring pre-registered redirect URIs
  • Warning displayed when these flags are used with stdio transports (only supported for HTTP/SSE)
  • Falls back gracefully: "No TTY available to prompt for client secret. Set MCP_CLIENT_SECRET env var instead."
Evidence

OAuth CLI options (search for "--callback-port" and "MCP_CLIENT_SECRET")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.30 →