---
title: "authentication.oauth support in MCP clients"
description: "Which MCP clients support authentication.oauth, and how each claim is known. The protocol introduced it in 2025-03-26."
canonical: https://canimcp.io/capabilities/authentication-oauth
last-updated: 2026-11-27
---

> **Alpha: work in progress. canimcp is an alpha, built by one person and changing often. Statuses, notes and probe results may be incomplete or inaccurate, and pages, data and the API can change without notice. Check the cited source before relying on a claim, and send corrections through the [contact page](https://canimcp.io/contact).**

# `authentication.oauth` support in MCP clients

Which MCP clients support `authentication.oauth`, and how each claim is known. The protocol introduced it in `2025-03-26`.

Has [`authentication.oauth.clientIdMetadataDocument`](/capabilities/authentication-oauth-clientIdMetadataDocument.md), [`authentication.oauth.dynamicRegistration`](/capabilities/authentication-oauth-dynamicRegistration.md), [`authentication.oauth.resourceIndicators`](/capabilities/authentication-oauth-resourceIndicators.md), [`authentication.oauth.protectedResourceMetadata`](/capabilities/authentication-oauth-protectedResourceMetadata.md), [`authentication.oauth.openIdConnectDiscovery`](/capabilities/authentication-oauth-openIdConnectDiscovery.md), [`authentication.oauth.issuerIdentification`](/capabilities/authentication-oauth-issuerIdentification.md).

## Support

| Client | Kind | Status | Known from | Revisions | Notes |
|---|---|---|---|---|---|
| [Codex CLI](/clients/openai-codex.md) | host | ● full | read | `2025-06-18` | Prefers CIMD over DCR when the authorization server advertises it, using a ChatGPT-hosted client identifier. When the server also advertises authorization_response_iss_parameter_supported and names an issuer, the identifier is one shared document, https://chatgpt.com/oauth/codex/client.json. A per-server oauth.client_id and client_secret can be configured instead. PKCE and the token exchange are rmcp's AuthorizationManager and were not read at this commit. |
| [opencode](/clients/opencode.md) | host | ● full | read | `2025-11-25` | A configured client_id wins. Otherwise opencode uses a Client ID Metadata Document at https://opencode.ai/oauth/opencode/client.json when the authorization server advertises client_id_metadata_document_supported and the none token auth method and no redirect_uri is configured, and falls back to Dynamic Client Registration. token_endpoint_auth_method is none unless a client_secret is configured, then client_secret_post. The callback is a loopback server on 127.0.0.1 at callback_port, else the redirect_uri port, else the port the earlier login's client was registered with, else an ephemeral port. A reused port that another process holds falls back to an ephemeral port and a new registration. A connection never starts a login; it refreshes a stored token 30 seconds before expiry or after a 401. oauth: false turns OAuth off for a server. |
| [Cline](/clients/cline.md) * | host | ● full | read | `2025-11-25` | One flow shared by both surfaces: the extension delegates to @cline/core's authorizeMcpServerOAuth, the same call the CLI makes. Tokens live in the shared settings file under each server's oauth key, so an authorization completed in the CLI is picked up by an open extension window. token_endpoint_auth_method is none unless a clientSecret is configured. The callback binds a loopback server on the first free port, 1456-1461 from the extension and 1456-1458 from the CLI. Discovery, PKCE and protected-resource metadata are the SDK's auth() and were not read. |
| [fast-agent](/clients/fast-agent.md) | framework | ● full | read, verified | `2026-07-28` | Escalated rather than assumed: a remote server is tried unauthenticated first, and OAuth is only enabled on a second attempt after a 401. auth.oauth: true forces it, auth.oauth: false and a configured Authorization header both suppress it. Tokens persist in the OS keyring under service fast-agent-mcp, with an in-memory fallback and a printed warning when no keyring backend is available. The callback is a local loopback server, with a paste fallback. |
| [OpenClaw](/clients/openclaw.md) * | host | ● full | read | `2025-11-25` | Full SDK OAuth provider with a persisted per-identity store, now in the shared SQLite state database. Both registration paths are available: Dynamic Client Registration through saveClientInformation, and a Client ID Metadata Document through a per-server oauth.clientMetadataUrl. Credentials can be invalidated by scope (all, client, tokens, verifier, discovery). The node host skips any server configured for OAuth. |
| [Hermes Agent](/clients/hermes-agent.md) | host | ● full | read | `2025-11-25` | Opt-in through auth: oauth on the server entry, on the SDK's OAuthClientProvider. By default the client_id is Hermes' Client ID Metadata Document URL when the server supports CIMD, else RFC 7591 dynamic registration with application_type native. Tokens persist per server, are reloaded when another process refreshes them, and are bound to the issuer. An RFC 8628 device flow runs only on request, through hermes mcp login --flow device or oauth.flow: device. The web dashboard can receive the browser callback in place of a loopback listener. |
| [Kilo Code](/clients/kilocode.md) * | host | ● full | read | `2025-11-25` | CIMD is Kilo's addition: clientMetadataUrl is https://kilo.ai/docs/oauth/kilo/client.json, offered only when no clientId or clientSecret is configured and the redirect URI is the default. The SDK uses it when the authorization server supports URL-based client ids and falls back to DCR otherwise. A stored token that has expired is refreshed before connecting, bounded by the connect timeout, because some servers answer an expired token with 403 and the SDK only retries 401. The callback is a loopback server on 127.0.0.1. |
| [Mastra](/clients/mastra.md) | framework | ◇ opt-in | read, verified | `2026-07-28` | Opt-in: a url entry takes an authProvider, any SDK OAuthClientProvider. With none, a 401 fails the connect. The shipped MCPOAuthClientProvider takes either pre-registered client information or a Client ID Metadata Document URL. It has no saveClientInformation, so the SDK cannot register dynamically through it, and it returns the CIMD URL as client_id without the SDK's check of client_id_metadata_document_supported. MCPClient.authenticate() runs the code flow on a loopback callback server and passes the RFC 9207 iss to the SDK for validation. Tokens are keyed by issuer and held in memory unless a storage is passed. PKCE, resource indicators and metadata discovery are the SDK's. |
| [fx (native engine)](/clients/fx.md) | host | ● full | read | `2026-07-28` | Discovery reads the WWW-Authenticate challenge, then RFC 9728 resource metadata, then authorization server metadata with OpenID Connect discovery as a fallback. The server must list S256. Registration tries a configured oauth.client_id, then a client ID metadata document when the server supports them and the entry sets oauth.client_metadata_url, then Dynamic Client Registration as a native public client named fx. fx hosts no metadata document, so a default install registers dynamically and clientIdMetadataDocument is recorded false. The redirect is a loopback listener on 127.0.0.1. A 403 insufficient_scope challenge starts a step-up sign-in. A missing iss is refused when the server advertised it. Sign-out revokes the token. |
| [libfx (fx JavaScript adapter)](/clients/libfx.md) * | framework | · untested | read | `2025-11-25` | libfx takes no part in authentication. The README says the application creates the client and handles its auth. What OAuth support an application gets depends on the SDK version it installs, which was not read. |
| [eve](/clients/eve.md) | framework | ◐ partial | read | `2026-07-28` | eve runs none of the MCP authorization flow itself. It passes no authProvider to the SDK, so the SDK's metadata discovery, registration and PKCE code is never reached, and eve does not read WWW-Authenticate. A connection's auth is a token provider whose token is sent as a bearer. A provider with startAuthorization and completeAuthorization adds interactive sign-in, and the documented one is connect() from @vercel/connect/eve, which gets tokens from Vercel Connect. When the provider has no token yet, eve connects anonymously and asks for sign-in on an HTTP 401 or on an error result carrying _meta["mcp/www_authenticate"]. The three flags below describe eve's own code. What Vercel Connect does towards the authorization server was not read. |
| [pi](/clients/pi.md) * | host | ● full | read | `2025-11-25` | Applies to a url server with no Authorization header and no auth block. A connection never opens a browser: it sends the stored access token, refreshes it 30 s before expiry or after a 401, and otherwise marks the server as needing sign-in until the user runs /mcp or pi mcp login. A 403 with insufficient_scope also asks for sign-in, with the challenged scopes added to the granted ones. Without a clientId pi offers its Client ID Metadata Document on pi.dev when the authorization server advertises client_id_metadata_document_supported and the none token auth method, and registers dynamically otherwise. The callback is a loopback server on 127.0.0.1, or a redirect URL the user pastes. Tokens are stored in mcp-auth.json in the agent directory, keyed by server name and URL, and refreshes are serialized across pi processes with a lock file. The flow code is adapted from typescript-sdk v1.29.0 src/client/auth.ts. |
| [Strands Agents](/clients/strands.md) | framework | ◐ partial | read | `2026-07-28` | Built in for the client_credentials grant only. The auth option takes a client id, a client secret and optional scopes, and Strands builds the SDK's ClientCredentialsOAuthProvider with in-memory token storage. The repo has no browser flow, callback server or token persistence. An application that wants the authorization code flow passes its own httpx.Auth as auth_provider, which Strands adapts to httpx2 on mcp 2.x. Strands passes no issuer to the provider, which mcp 2.3.0 documents as deprecated. Streamable HTTP only. TypeScript: the same two options, auth and authProvider. |
| [crewAI](/clients/crewai.md) * | framework | ○ unsupported | read | `2025-11-25` | No OAuth code. HTTPTransport and SSETransport pass a url and headers to the SDK and never pass auth, and the SDK's OAuthClientProvider is not imported anywhere under lib/. A 401 or 403 becomes MCPAuthenticationError, whose message says to check the headers. For an AMP slug the config, with its url and headers, comes from the CrewAI+ API. On the adapter route the params dict reaches the SDK transport as keyword arguments, so an application can pass its own httpx auth object there. |
| [deepagents](/clients/deepagents.md) * | framework | ● full | read | `2025-11-25` | A subclass of the SDK's OAuthClientProvider. It is attached when the entry sets auth: oauth, or when tokens from an earlier login are stored and no Authorization header is configured. Loading tools never opens a browser: a server with no usable tokens, or one that answers 401 with an RFC 9728 Bearer challenge, is listed as unauthenticated and the user runs dcode mcp login <server>. Login uses a loopback callback on localhost, reusing the port of an earlier registration, with a paste-back prompt as the fallback. Tokens are stored per server in a file under the state directory, and refreshes are serialized across processes with a file lock. No client_metadata_url is passed, so the SDK registers dynamically and never uses a Client ID Metadata Document. GitHub's hosted server uses the device flow with a built-in public client id, and Slack's uses a built-in client id with a fixed callback port 3118. |
| [Google ADK (Python)](/clients/adk-python.md) | framework | ◐ partial | read | `2025-11-25` | The flow is ADK's generic tool-auth framework, and the SDK's OAuth client is not used. The application passes an auth_scheme and an auth_credential with a registered client id. ADK builds the authorization URL, hands it to the application in an adk_request_credential function call, exchanges the code, refreshes the token and sends it as a Bearer header. Nothing reads a 401 challenge. Protected resource metadata discovery is defined and has no caller under src. Authorization server metadata is fetched only for an ExtendedOAuth2 scheme that carries an issuer_url. There is no dynamic registration, no client ID metadata document and no resource parameter. PKCE S256 is used when the credential has no client secret or asks for it. |
| [Microsoft Agent Framework](/clients/agent-framework.md) | framework | ○ unsupported | read | `2026-07-28` | MCPStreamableHTTPTool has no auth parameter, and no file under python/packages imports mcp.client.auth. An application can pass its own httpx2.AsyncClient through http_client and attach the SDK's OAuth provider to it. The framework does not set that up. FoundryToolbox authenticates with a bearer token from an Azure credential. .NET: neither client the framework builds sets HttpClientTransportOptions.OAuth. The Agent_MCP_Server_Auth sample sets it on a transport the application builds, which is the C# SDK's feature. |
| [Hugging Face Chat UI](/clients/huggingface-chat-ui.md) | host | ● full | read | `2026-07-28` | Chat UI runs discovery itself when a user adds a server: a hand-written initialize at 2025-11-25 under the name chat-ui-mcp-probe looks for a 401 or 403, then RFC 9728 and RFC 8414 metadata through SDK helpers. The authorization server must advertise PKCE S256. The client is a CIMD document the app serves at /api/mcp/oauth/client-metadata when the server advertises client_id_metadata_document_supported and the app's origin is HTTPS, else DCR, else a client the user types in. The callback checks state and the RFC 9207 iss parameter. Tokens live in MongoDB, encrypted when MCP_OAUTH_ENCRYPTION_KEY is set, and are refreshed before a send. An insufficient_scope challenge on any MCP response records the scope and asks the user to authorize again, at most three times. |
| [Visual Studio Code](/clients/vscode.md) * | host | ● full | read | `2025-11-25` | On a 401 or 403 the client reads resource_metadata from WWW-Authenticate, falls back to the well-known protected resource paths, then to authorization server metadata, then to default endpoints derived from the URL. A stored client id wins. Without one, CIMD is used when the server advertises client_id_metadata_document_supported and the product sets authClientIdMetadataUrl; the Code - OSS product.json does not set it, and the Microsoft builds' product.json is not in the repo. Otherwise DCR, and if DCR fails the user is prompted for a client id and secret. The DCR request lists device_code among its grant types, and no device flow was found in the dynamic provider. Enterprise-managed servers can use cross-app access through a configured IdP. |
| [n8n](/clients/n8n.md) * | host | ● full | read | `2025-11-25` | OAuth runs in n8n's credential layer, not the SDK auth provider: the user connects an MCP OAuth2 credential in the editor, and the node sends its token as a bearer header. A 401 on any request refreshes the token and retries once. It never starts a new authorization. Discovery reads protected resource metadata from the credential's server URL, path first then root, then authorization server metadata (RFC 8414 and OIDC, issuer checked). Automatic registration is on by default for the MCP OAuth2 credential. CIMD is opt-in through N8N_OAUTH_CIMD_ENABLED (default false) and needs an HTTPS metadata URL; otherwise DCR. The callback checks iss (RFC 9207). A generic OAuth2 credential is also offered. |
| [Langflow](/clients/langflow.md) * | host | ○ unsupported | read | `2025-11-25` | No OAuth code on the client path. The SDK's OAuthClientProvider is not imported, and the httpx factory is never given an auth object. A 401 surfaces as a connection error naming the server and the status. The OAuth code elsewhere in Langflow belongs to its own MCP server and MCP Composer. |
| [mcp-use](/clients/mcp-use.md) | framework | ● full | read | `2025-11-25`, `2026-07-28` | On by default. MCPClient attaches an OAuth provider to every HTTP server whose entry has no authProvider, no authToken and no Authorization header, unless oauth is false. A connect or later request that needs authorization runs the flow and retries once. The Node provider listens on 127.0.0.1:33418 (walking up 10 ports, then an ephemeral port), opens the browser, and persists client registrations and tokens under ~/.mcp-use/oauth with mode 0600. Client metadata is a public client with authorization_code and refresh_token grants. DCR, PKCE, RFC 9728 discovery, the resource parameter and the RFC 9207 iss check run in the SDK. A Client ID Metadata Document is used only when the clientMetadataUrl option is set. After an anonymous connection, RFC 9728 metadata is probed for 2 seconds to mark mixed-auth servers. The browser entry uses a popup or redirect. Python: the default auth {} also builds an OAuth helper, written by mcp-use on authlib, with a callback on localhost:8080, DCR, PKCE S256, CIMD when client_metadata_url is set and tokens under ~/.mcp_use/tokens. A server with no discoverable OAuth metadata connects without auth. |
| [Zed](/clients/zed.md) * | host | ● full | read | `2025-11-25` | Starts on a 401 at initialize or later, unless a static Authorization header is configured. Discovers protected resource metadata, then authorization server metadata by RFC 8414 and OIDC URLs, and requires S256 PKCE. Uses CIMD (https://zed.dev/oauth/client-metadata.json) when the server advertises it, DCR otherwise, or a pre-registered client_id and secret from settings. Sends resource on the authorization, token and refresh requests. The callback is a loopback server, the session is stored in the system keychain, and a 401 triggers one refresh and retry. The callback's iss parameter is not checked. |
| [TypeScript SDK Client](/clients/ts-sdk-client.md) | sdk | ◇ opt-in | read, verified | `2025-11-25` | Off until the application passes an OAuthClientProvider as the transport authProvider. Then the auth() flow discovers protected resource metadata, then authorization server metadata through RFC 8414 and OpenID Connect paths. It uses a CIMD URL as the client_id when the provider sets clientMetadataUrl and the server advertises client_id_metadata_document_supported, and registers dynamically otherwise. PKCE is S256. The resource parameter goes on the authorize and token requests. The RFC 9207 iss parameter is checked. A 403 insufficient_scope triggers one step-up reauthorization by default. ClientCredentialsProvider and PrivateKeyJwtProvider cover client_credentials. 2.4.0 always adds prompt=consent when the scope includes offline_access; HEAD adds skipOfflineAccessConsentPrompt. |
| [Warp](/clients/warp.md) | host | ● full | read | `2026-07-28` | On by default (mcp_oauth). A 401 starts OAuth unless the challenge lacks resource_metadata and the config set an Authorization, X-Api-Key or Api-Key header. Uses rmcp's AuthorizationManager. Issuers in the build's channel config, such as GitHub, use a pre-registered client; any other issuer gets DCR with client_name Warp. No client_metadata_url is set, so CIMD is never used. The GUI redirects to warp://mcp/oauth2callback, the TUI to a 127.0.0.1 loopback. Tokens are kept in secure storage and a refresh token is carried forward when a refresh response omits one. Headless and cloud agent runs refuse interactive OAuth. |
| [Reachy Mini conversation app](/clients/reachy-mini-conversation-app.md) | host | ○ unsupported | read | `2026-07-28` | The httpx2 client gets headers and no auth flow, and the SDK's OAuth provider is never constructed. A 401 surfaces as a discovery or invocation error. |

Not recorded for [goose](/clients/goose.md), [Google Antigravity](/clients/antigravity.md), [Claude Code](/clients/claude-code.md), [Claude.ai](/clients/claude-ai.md), [ChatGPT](/clients/chatgpt.md), [Codex Desktop](/clients/codex-desktop.md), [Cursor](/clients/cursor.md). A missing record is not the same as unsupported.

Rows describe each client on `2026-07-28`. A row marked * is for the newest revision the client speaks, because it cannot negotiate `2026-07-28`: `2025-11-25` for 11 clients.

Tiers are not ranked. `read` is a source read at a pinned commit, `verified` is a probe run, `observed` is telemetry, and `declared` is what the client or a curated list says. "Through" names the parent capability whose evidence a row rests on when it has none of its own.

## By protocol revision

No client records a different row on `2025-11-25`, so the rows above hold there too.

[Hermes Agent](/clients/hermes-agent.md), [Warp](/clients/warp.md), [Reachy Mini conversation app](/clients/reachy-mini-conversation-app.md) have one set of rows for every revision they speak, not yet split by revision.

The [matrix on `2025-11-25`](/capabilities/revision/2025-11-25.md) shows every capability on that revision.

## Conformance suite results

The [MCP conformance suite](https://github.com/modelcontextprotocol/conformance) ran its client scenarios for this capability against each client, through the probe's adapter and mock model. A scenario counts as full when every check passed and the client exited cleanly, partial when some checks passed and one failed, and failed when no check passed. "Absence only" means the only checks that passed are ones a client that ignores the feature also passes.

Each row is one client configuration. A name other than `default` is followed by its kind: `setting` for a switch the client documents, `harness` for probe-written code that uses an API the client leaves to the application, such as an elicitation callback. A `harness` row says what an application built on the client can do. A configuration named `default` with a kind after it is not the client's stock setup.

| Client | Kind | Configuration | Version | Revision | Scenarios | Checks passed |
|---|---|---|---|---|---|---|
| [fast-agent](/clients/fast-agent.md) | framework | `default` | `0.10.53` | `2025-11-25` | 1 partial | 1 of 3 |
| [fast-agent](/clients/fast-agent.md) | framework | `default` | `0.10.53` | `2026-07-28` | 1 partial | 1 of 3 |
| [Mastra](/clients/mastra.md) | framework | `default` | `mcp-2.9.0-alpha.1+core-1.83.0-alpha.1` | `2025-03-26` | 2 failed | 0 of 5 |
| [Mastra](/clients/mastra.md) | framework | `default` | `mcp-2.9.0-alpha.1+core-1.83.0-alpha.1` | `2025-06-18` | 3 failed | 0 of 3 |
| [Mastra](/clients/mastra.md) | framework | `default` | `mcp-2.9.0-alpha.1+core-1.83.0-alpha.1` | `2025-11-25` | 8 failed | 0 of 16 |
| [Mastra](/clients/mastra.md) | framework | `default` | `mcp-2.9.0-alpha.1+core-1.83.0-alpha.1` | `2026-07-28` | 8 failed | 0 of 16 |
| [TypeScript SDK Client](/clients/ts-sdk-client.md) | sdk | `default` (harness) | `2.4.0` | `2025-03-26` | 2 full | 19 of 19 |
| [TypeScript SDK Client](/clients/ts-sdk-client.md) | sdk | `default` (harness) | `2.4.0` | `2025-06-18` | 3 full | 39 of 39 |
| [TypeScript SDK Client](/clients/ts-sdk-client.md) | sdk | `default` (harness) | `2.4.0` | `2025-11-25` | 19 full | 200 of 200 |
| [TypeScript SDK Client](/clients/ts-sdk-client.md) | sdk | `default` (harness) | `2.4.0` | `2026-07-28` | 30 full | 250 of 250 |

The checks behind each row, with their messages, are in the client's record file under `/data/verified/`.

## Evidence

[Codex CLI](/clients/openai-codex.md):

- *read* at `2025-06-18`: openai/codex at `18c09f20` `codex-rs/rmcp-client/src/oauth_client_registration.rs:start_authorization`, 2026-11-27
- *read* at `2025-06-18`: openai/codex at `18c09f20` `codex-rs/rmcp-client/src/oauth/issuer_binding.rs:validate_authorization_server_endpoints`, 2026-11-27. issuerIdentification: rejects an authorization endpoint that cannot be bound to its issuer, honouring authorization_response_iss_parameter_supported. Two hardcoded compatibility exceptions, for Mercado Pago and Robinhood.
- *read* at `2025-06-18`: openai/codex at `18c09f20` `codex-rs/rmcp-client/src/perform_oauth_login.rs:OauthLoginFlow`, 2026-11-27. resourceIndicators: a resource parameter is appended to the authorization URL. Whether it also reaches the token endpoint is rmcp's, not read.
- *read* at `2025-06-18`: openai/codex at `18c09f20` `codex-rs/rmcp-client/src/auth_status.rs:discover_streamable_http_oauth_with_headers_and_http_client,has_configured_headers,discover_streamable_http_oauth_with_manager`, 2026-11-27. protectedResourceMetadata: discovery goes through rmcp's AuthorizationManager. Codex's own test drives a WWW-Authenticate resource_metadata challenge end to end, so the behaviour holds, but the implementation was not read.
- *read* at `2025-06-18`: openai/codex at `18c09f20` `codex-rs/rmcp-client/src/oauth_client_credentials.rs:OAuthClientCredentials,OAuthClientCredentials.resolve`, 2026-11-27. The pre-registered client from per-server oauth.client_id and client_secret.

[opencode](/clients/opencode.md):

- *read* at `2025-11-25`: anomalyco/opencode at `5d1f7884` `packages/core/src/mcp/oauth.ts:CLIENT_METADATA_URL,provider,authorize`, 2026-11-27
- *read* at `2025-11-25`: anomalyco/opencode at `5d1f7884` `packages/core/src/mcp/oauth.ts:REFRESH_AHEAD`, 2026-11-27. Token refresh ahead of expiry and after a 401.

[Cline](/clients/cline.md):

- *read* at `2025-11-25`: cline/cline at `cbc7d141` `sdk/packages/core/src/extensions/mcp/oauth.ts:createOAuthClientMetadata`, 2026-11-27
- *read* at `2025-11-25`: cline/cline at `cbc7d141` `apps/vscode/src/services/mcp/McpOAuthManager.ts:ClineOAuthClientProvider.clientMetadata,McpOAuthManager.startOAuthFlow`, 2026-11-27

[fast-agent](/clients/fast-agent.md):

- *read* at `2026-07-28`: evalstate/fast-agent at `16f8bb65` `src/fast_agent/mcp/client_gateway.py:resolve_oauth_mode,open_request_scoped_client,capture_response`, 2026-11-27
- *read* at `2026-07-28`: evalstate/fast-agent at `16f8bb65` `src/fast_agent/mcp/oauth_client.py:_ProtectedResourceDiscoveryOAuthClientProvider._client_registration_request_if_needed`, 2026-11-27. CIMD is preferred over DCR when a client metadata URL is set and the authorization server accepts one.
- *read* at `2026-07-28`: evalstate/fast-agent at `16f8bb65` `src/fast_agent/mcp/oauth_client.py:_print_authorization_link,KeyringTokenStorage`, 2026-11-27. Keyring-backed token storage and the no-backend warning.
- *read* at `2026-07-28`: modelcontextprotocol/python-sdk `mcp/client/auth/oauth2.py`, 2026-11-20. mcp 2.3.0. PKCE S256 and the RFC 8707 resource indicator on authorize, token and refresh are the SDK's, not fast-agent's.

[OpenClaw](/clients/openclaw.md):

- *read* at `2025-11-25`: openclaw/openclaw at `b607eb7b` `src/agents/mcp-oauth-provider.ts:createMcpOAuthClientProvider`, 2026-11-27
- *read* at `2025-11-25`: openclaw/openclaw at `b607eb7b` `src/agents/mcp-oauth-provider.ts:redirectUrl`, 2026-11-27. clientMetadataUrl is plumbed to the SDK provider.
- *read* at `2025-11-25`: openclaw/openclaw at `b607eb7b` `src/config/zod-schema.mcp-server.ts:McpServerSchema`, 2026-11-27. Per-server oauth.clientMetadataUrl config field.
- *read* at `2025-11-25`: openclaw/openclaw at `b607eb7b` `src/agents/mcp-oauth-provider.ts:invalidateCredentials`, 2026-11-27
- *read* at `2025-11-25`: openclaw/openclaw at `b607eb7b` `src/node-host/mcp.ts:startNodeHostMcpManager`, 2026-11-27. Node host skips OAuth servers.

[Hermes Agent](/clients/hermes-agent.md):

- *read* at `2025-11-25`: NousResearch/hermes-agent at `77236c4a` `tools/mcp_oauth.py:HermesTokenStorage._make_callback_waiter,HermesTokenStorage.login_connect_timeout`, 2026-11-27
- *read* at `2025-11-25`: NousResearch/hermes-agent at `77236c4a` `tools/mcp_oauth_manager.py:MCPOAuthManager.get_or_build_provider`, 2026-11-27
- *read* at `2025-11-25`: NousResearch/hermes-agent at `77236c4a` `tools/mcp_oauth_device.py`, 2026-11-27
- *read* at `2025-11-25`: NousResearch/hermes-agent at `77236c4a` `tools/mcp_dashboard_oauth.py:DashboardOAuthFlow`, 2026-11-27

[Kilo Code](/clients/kilocode.md):

- *read* at `2025-11-25`: Kilo-Org/kilocode at `3c7f2659` `packages/opencode/src/mcp/oauth-provider.ts:McpOAuthProvider`, 2026-11-27
- *read* at `2025-11-25`: Kilo-Org/kilocode at `3c7f2659` `packages/opencode/src/kilocode/mcp/client-metadata.ts`, 2026-11-27
- *read* at `2025-11-25`: [@modelcontextprotocol/sdk](https://www.npmjs.com/package/@modelcontextprotocol/sdk/v/1.32.1) `dist/esm/client/auth.js`, 2026-11-10
- *read* at `2025-11-25`: Kilo-Org/kilocode at `3c7f2659` `packages/opencode/src/mcp/index.ts:connectRemote`, 2026-11-27
- *read* at `2025-11-25`: Kilo-Org/kilocode at `3c7f2659` `packages/opencode/src/kilocode/mcp/refresh.ts`, 2026-11-27

[Mastra](/clients/mastra.md):

- *read* at `2026-07-28`: mastra-ai/mastra at `0a31d4d0` `packages/mcp/src/client/types.ts:HttpServerDefinition`, 2026-11-27
- *read* at `2026-07-28`: mastra-ai/mastra at `0a31d4d0` `packages/mcp/src/client/oauth-provider.ts:MCPOAuthClientProvider`, 2026-11-27
- *read* at `2026-07-28`: mastra-ai/mastra at `0a31d4d0` `packages/mcp/src/client/configuration.ts:MCPClient.authenticate,MCPClient.runAuthorizationFlow`, 2026-11-27
- *read* at `2026-07-28`: mastra-ai/mastra at `0a31d4d0` `packages/mcp/src/client/client.ts:InternalMastraMCPClient.connectHttp,InternalMastraMCPClient.finishAuth`, 2026-11-27
- *read* at `2026-07-28`: [@modelcontextprotocol/client](https://www.npmjs.com/package/@modelcontextprotocol/client/v/2.4.0) `dist/public-CvV4ZHkX.mjs`, 2026-11-16. @modelcontextprotocol/client 2.4.0, read from the npm tarball. auth() asks the provider for client information first. The CIMD capability check and registerClient() run only when the provider returns none.
- *read* at `2026-07-28`: [@modelcontextprotocol/client](https://www.npmjs.com/package/@modelcontextprotocol/client/v/2.4.0) `dist/public-CvV4ZHkX.mjs`, 2026-11-16. @modelcontextprotocol/client 2.4.0, read from the npm tarball. Issuer validation, protected-resource metadata, OpenID configuration discovery, the S256 challenge and the resource parameter on the authorize and token requests.

[fx (native engine)](/clients/fx.md):

- *read* at `2026-07-28`: vercel-labs/fx at `b4502b01` `src/mcp/auth/client.zig:Options,Auth`, 2026-11-27. Options, register and authorize. The client_metadata_url comment reads "None until fx hosts one."
- *read* at `2026-07-28`: vercel-labs/fx at `b4502b01` `src/mcp/auth/discovery.zig:resourceMetadataUrls,serverMetadataUrls,parseServerMetadata`, 2026-11-27. Resource metadata and authorization server metadata URLs, and the S256 requirement.
- *read* at `2026-07-28`: vercel-labs/fx at `b4502b01` `src/mcp/auth/oauth.zig:writeAuthorizationUrl,checkResponse,writeRegistration,writeTokenRequest`, 2026-11-27. Authorization URL with resource, the state and iss check, the registration body, and the token request.
- *read* at `2026-07-28`: vercel-labs/fx at `b4502b01` `src/mcp/core/auth.zig:step`, 2026-11-27. iss by RFC 9207.
- *read* at `2026-07-28`: vercel-labs/fx at `b4502b01` `src/core/mcp_host/login.zig`, 2026-11-27. Loopback redirect.

[libfx (fx JavaScript adapter)](/clients/libfx.md):

- *read* at `2025-11-25`: vercel-labs/fx at `b4502b01` `sdk/README.md:MCP and skills`, 2026-11-27
- *read* at `2025-11-25`: vercel-labs/fx at `b4502b01` `sdk/types/mcp.d.ts`, 2026-11-27

[eve](/clients/eve.md):

- *read* at `2026-07-28`: vercel/eve at `4545806d` `packages/eve/src/runtime/connections/mcp-client.ts:checkAuthorizationResponse,McpConnectionClient`, 2026-11-27. No authProvider on the transport. A 401 is checked by status only.
- *read* at `2026-07-28`: [@ai-sdk/mcp](https://www.npmjs.com/package/@ai-sdk/mcp/v/2.0.99) `dist/index.js`, 2026-11-16. @ai-sdk/mcp 2.0.99, the npm artifact before eve applies its build patches. The OAuth branch of the transport runs only when authProvider is set.
- *read* at `2026-07-28`: vercel/eve at `4545806d` `packages/eve/src/shared/connection-types.ts`, 2026-11-27
- *read* at `2026-07-28`: vercel/eve at `4545806d` `docs/connections/mcp.mdx:Use Vercel Connect for OAuth,When eve asks for sign-in`, 2026-11-27

[pi](/clients/pi.md):

- *read* at `2025-11-25`: earendil-works/pi at `cdf74062` `packages/coding-agent/src/extensions/mcp/runtime.ts:usesOAuth,McpServerConnection`, 2026-11-27. Which servers use OAuth, and when a connection is marked needs-auth.
- *read* at `2025-11-25`: earendil-works/pi at `cdf74062` `packages/mcp/src/oauth/flow.ts:pkce,startAuthorization`, 2026-11-27. pkce and resourceIndicators: S256 only, refused when the server lists challenge methods without S256. The resource parameter goes on the authorization URL, and on token requests at line 222.
- *read* at `2025-11-25`: earendil-works/pi at `cdf74062` `packages/mcp/src/oauth/flow.ts:registerClient`, 2026-11-27. dynamicRegistration, with application_type native for loopback redirect URIs.
- *read* at `2025-11-25`: earendil-works/pi at `cdf74062` `packages/mcp/src/oauth/flow.ts:runFlow`, 2026-11-27. issuerIdentification: the iss parameter of the authorization response is compared with the metadata issuer before the code is exchanged, and is required when the server advertises authorization_response_iss_parameter_supported.
- *read* at `2025-11-25`: earendil-works/pi at `cdf74062` `packages/mcp/src/oauth/discovery.ts`, 2026-11-27. protectedResourceMetadata and openIdConnectDiscovery: path-suffixed then root oauth-protected-resource, then oauth-authorization-server and two openid-configuration locations, with the issuer checked against the URL it was found through.
- *read* at `2025-11-25`: earendil-works/pi at `cdf74062` `packages/mcp/src/oauth/discovery.ts:selectResource`, 2026-11-27. The resource value is the one in the protected resource metadata, and is sent only when that metadata was found.
- *read* at `2025-11-25`: earendil-works/pi at `cdf74062` `packages/mcp/src/oauth/client-settings.ts:offersClientMetadataDocument,clientMetadataDocument`, 2026-11-27. clientIdMetadataDocument: when it is offered and which document is used.
- *read* at `2025-11-25`: earendil-works/pi at `cdf74062` `packages/coding-agent/src/extensions/mcp/oauth.ts:PI_CLIENT_METADATA_DOCUMENTS,PI_CLIENT,piSettings`, 2026-11-27. The documents live under https://pi.dev/oauth. A rebranded build registers dynamically.
- *read* at `2025-11-25`: earendil-works/pi at `cdf74062` `packages/mcp/src/oauth/auth-provider.ts:createMcpAuthProvider`, 2026-11-27. Refresh before expiry and after 401, shared between requests and locked across processes.
- *read* at `2025-11-25`: earendil-works/pi at `cdf74062` `packages/mcp/src/oauth/provider.ts:McpOAuthProvider`, 2026-11-27. grantTypes as registered: authorization_code and refresh_token.

[Strands Agents](/clients/strands.md):

- *read* at `2026-07-28`: strands-agents/harness-sdk at `78855cad` `strands-py/src/strands/tools/mcp/mcp_client.py`, 2026-11-27
- *read* at `2026-07-28`: strands-agents/harness-sdk at `78855cad` `strands-py/src/strands/tools/mcp/_compat.py:client_credentials_auth`, 2026-11-27. No issuer argument on either SDK line.
- *read* at `2026-07-28`: strands-agents/harness-sdk at `78855cad` `strands-py/src/strands/tools/mcp/_compat.py:_wrap_auth_for_httpx2`, 2026-11-27. The httpx.Auth to httpx2.Auth adapter for auth_provider.
- *read* at `2026-07-28`: strands-agents/harness-sdk at `78855cad` `strands-py/src/strands/tools/mcp/mcp_client.py:_resolve_transport_callable,_config_transport_callable`, 2026-11-27
- *read* at `2026-07-28`: [modelcontextprotocol/python-sdk](https://pypi.org/project/mcp/2.3.0/) `mcp/client/auth/extensions/client_credentials.py`, 2026-11-16. mcp 2.3.0. The provider sets client_info directly and skips dynamic registration. Omitting issuer is deprecated and whichever authorization server discovery yields is used. The resource parameter is added to the token request.
- *read* at `2026-07-28`: [modelcontextprotocol/python-sdk](https://pypi.org/project/mcp/2.3.0/) `mcp/client/auth/oauth2.py`, 2026-11-16. mcp 2.3.0. Protected resource metadata discovery and the resource-parameter rule are in the base provider flow.
- *read* at `2026-07-28`: strands-agents/harness-sdk at `78855cad` `strands-ts/src/mcp/client.ts:McpClient._resolveTransport`, 2026-11-27. TypeScript binding: ClientCredentialsProvider or a caller-supplied OAuthClientProvider.

[crewAI](/clients/crewai.md):

- *read* at `2025-11-25`: crewAIInc/crewAI at `77237aec` `lib/crewai/src/crewai/mcp/transports/http.py:HTTPTransport.connect`, 2026-11-27
- *read* at `2025-11-25`: crewAIInc/crewAI at `77237aec` `lib/crewai/src/crewai/mcp/transports/sse.py:SSETransport.connect`, 2026-11-27
- *read* at `2025-11-25`: crewAIInc/crewAI at `77237aec` `lib/crewai/src/crewai/mcp/exceptions.py:AUTH_STATUS_CODES,MCPAuthenticationError`, 2026-11-27
- *read* at `2025-11-25`: crewAIInc/crewAI at `77237aec` `lib/crewai/src/crewai/mcp/tool_resolver.py:MCPToolResolver._fetch_amp_mcp_configs`, 2026-11-27. The AMP config fetch; the docstring says CrewAI+ proxies to crewai-oauth.
- *read* at `2025-11-25`: [grll/mcpadapt](https://pypi.org/project/mcpadapt/0.1.20/) `mcpadapt/core.py`, 2026-11-16. mcpadapt 0.1.20 wheel; 0.1.19 has the same core.py. client_params are splatted into the SDK transport function.

[deepagents](/clients/deepagents.md):

- *read* at `2025-11-25`: langchain-ai/deepagents at `c84eb7f1` `libs/code/deepagents_code/mcp_tools.py:_prepare_transport`, 2026-11-27. When the provider is attached, and the unauthenticated status when auth: oauth has no stored tokens.
- *read* at `2025-11-25`: langchain-ai/deepagents at `c84eb7f1` `libs/code/deepagents_code/mcp_tools.py:_classify_connect_failure`, 2026-11-27. A failed token refresh or a 401 Bearer challenge becomes status unauthenticated with the login command.
- *read* at `2025-11-25`: langchain-ai/deepagents at `c84eb7f1` `libs/code/deepagents_code/mcp_auth.py:build_oauth_provider`, 2026-11-27. build_oauth_provider. The provider is built from server_url, client_metadata, storage and the two handlers. client_metadata_url is not passed.
- *read* at `2025-11-25`: langchain-ai/deepagents at `c84eb7f1` `libs/code/deepagents_code/mcp_providers/base.py:OAuthProvider.client_metadata`, 2026-11-27. Default client metadata: client_name deepagents-code, grant types authorization_code and refresh_token.
- *read* at `2025-11-25`: langchain-ai/deepagents at `c84eb7f1` `libs/code/deepagents_code/mcp_auth.py:_LoopbackOAuthCallbackServer._handle_get,_parse_callback_url`, 2026-11-27. The callback result carries code, state and the RFC 9207 iss parameter to the SDK.
- *read* at `2025-11-25`: langchain-ai/deepagents at `c84eb7f1` `libs/code/deepagents_code/mcp_auth.py:_ExpiryAwareOAuthClientProvider.async_auth_flow`, 2026-11-27. Metadata discovery before a refresh, and the cross-process refresh lock.
- *read* at `2025-11-25`: langchain-ai/deepagents at `c84eb7f1` `libs/code/deepagents_code/mcp_auth.py:_run_device_flow`, 2026-11-27. RFC 8628 device flow.
- *read* at `2025-11-25`: langchain-ai/deepagents at `c84eb7f1` `libs/code/deepagents_code/mcp_providers/github.py:_is_github_mcp_url,_preseed_github_auth`, 2026-11-27. GitHub hosted MCP: device flow with a public client id.
- *read* at `2025-11-25`: langchain-ai/deepagents at `c84eb7f1` `libs/code/deepagents_code/mcp_providers/slack.py`, 2026-11-27. Slack hosted MCP: public client id and port 3118.
- *read* at `2025-11-25`: langchain-ai/deepagents at `c84eb7f1` `libs/code/deepagents_code/mcp_auth.py:login`, 2026-11-27. login, behind dcode mcp login.
- *read* at `2025-11-25`: modelcontextprotocol/python-sdk `mcp/client/auth/oauth2.py`, 2026-11-16. mcp 2.3.0, from the PyPI wheel. PKCE S256, the RFC 8707 resource parameter, the RFC 9207 issuer check, and CIMD only when a client_metadata_url is set, else dynamic registration.
- *read* at `2025-11-25`: modelcontextprotocol/python-sdk `mcp/client/auth/utils.py`, 2026-11-16. mcp 2.3.0, from the PyPI wheel. OpenID Connect discovery URLs are among the authorization server metadata candidates.

[Google ADK (Python)](/clients/adk-python.md):

- *read* at `2025-11-25`: google/adk-python at `03725e8c` `src/google/adk/flows/llm_flows/tools/_toolset_auth.py:resolve_toolset_auth`, 2026-11-27. Toolset credentials are resolved before tools/list. A missing credential yields an auth request event.
- *read* at `2025-11-25`: google/adk-python at `03725e8c` `src/google/adk/utils/_function_call_names.py:REQUEST_EUC_FUNCTION_CALL_NAME`, 2026-11-27. The credential request function call is named adk_request_credential.
- *read* at `2025-11-25`: google/adk-python at `03725e8c` `src/google/adk/tools/base_authenticated_tool.py:BaseAuthenticatedTool`, 2026-11-27
- *read* at `2025-11-25`: google/adk-python at `03725e8c` `src/google/adk/auth/auth_handler.py:AuthHandler.generate_auth_uri`, 2026-11-27. PKCE S256 and the authorization URL.
- *read* at `2025-11-25`: google/adk-python at `03725e8c` `src/google/adk/auth/exchanger/oauth2_credential_exchanger.py:OAuth2CredentialExchanger.exchange`, 2026-11-27. client_credentials and authorization_code are the two grant branches.
- *read* at `2025-11-25`: google/adk-python at `03725e8c` `src/google/adk/auth/refresher/oauth2_credential_refresher.py:OAuth2CredentialRefresher.refresh`, 2026-11-27
- *read* at `2025-11-25`: google/adk-python at `03725e8c` `src/google/adk/auth/credential_manager.py:CredentialManager._populate_auth_scheme`, 2026-11-27. Authorization server metadata discovery runs only from an ExtendedOAuth2 issuer_url.
- *read* at `2025-11-25`: google/adk-python at `03725e8c` `src/google/adk/auth/oauth2_discovery.py:OAuth2DiscoveryManager.discover_resource_metadata`, 2026-11-27. discover_resource_metadata. A search of src finds no caller. registration_endpoint is parsed at line 51 and not used.
- *read* at `2025-11-25`: google/adk-python at `03725e8c` `src/google/adk/tools/mcp_tool/mcp_tool.py:McpTool._get_headers`, 2026-11-27. The exchanged access token becomes an Authorization: Bearer header.

[Microsoft Agent Framework](/clients/agent-framework.md):

- *read* at `2026-07-28`: microsoft/agent-framework at `f8ade3e9` `python/packages/core/agent_framework/_mcp.py:MCPStreamableHTTPTool.__init__`, 2026-11-27. The constructor signature has no auth parameter.
- *read* at `2026-07-28`: microsoft/agent-framework at `f8ade3e9` `python/packages/core/agent_framework/_mcp.py:MCPStreamableHTTPTool.__init__`, 2026-11-27. http_client is the only route to custom HTTP auth.
- *read* at `2026-07-28`: microsoft/agent-framework at `f8ade3e9` `python/packages/foundry_hosting/agent_framework_foundry_hosting/_toolbox.py:FoundryToolbox.__init__`, 2026-11-27
- *read* at `2026-07-28`: microsoft/agent-framework at `f8ade3e9` `dotnet/src/Microsoft.Agents.AI.Workflows.Declarative.Mcp/DefaultMcpToolHandler.cs`, 2026-11-27
- *read* at `2026-07-28`: microsoft/agent-framework at `f8ade3e9` `dotnet/samples/02-agents/ModelContextProtocol/Agent_MCP_Server_Auth/Program.cs:transport`, 2026-11-27. Sample code, not framework code.

[Hugging Face Chat UI](/clients/huggingface-chat-ui.md):

- *read* at `2026-07-28`: huggingface/chat-ui at `7fc0f672` `src/lib/server/mcp/oauth/discover.ts:discoverServerOAuth,buildClientMetadataDocumentClient,probeMcpServer,probeBody`, 2026-11-27
- *read* at `2026-07-28`: huggingface/chat-ui at `7fc0f672` `src/routes/api/mcp/oauth/client-metadata/+server.ts:GET`, 2026-11-27
- *read* at `2026-07-28`: huggingface/chat-ui at `7fc0f672` `src/routes/api/mcp/oauth/callback/+server.ts:GET`, 2026-11-27
- *read* at `2026-07-28`: huggingface/chat-ui at `7fc0f672` `src/lib/server/mcp/oauth/validation.ts:assertPkceS256Supported,assertAuthorizationResponseIssuer,assertProtectedResourceMatches`, 2026-11-27
- *read* at `2026-07-28`: huggingface/chat-ui at `7fc0f672` `src/lib/server/mcp/oauth/exchange.ts:buildAuthorizationUrl,exchangeCodeForTokens`, 2026-11-27
- *read* at `2026-07-28`: huggingface/chat-ui at `7fc0f672` `src/lib/server/mcp/oauth/connections.ts:refreshConnection,recordInsufficientScope,resolveOAuthAccessToken`, 2026-11-27
- *read* at `2026-07-28`: [modelcontextprotocol/typescript-sdk](https://www.npmjs.com/package/@modelcontextprotocol/client/v/2.0.0) `dist/index.mjs:buildDiscoveryUrls,discoverAuthorizationServerMetadata`, 2026-11-27. @modelcontextprotocol/client 2.0.0. The authorization server metadata lookup tries the OAuth and OpenID Connect well-known paths.

[Visual Studio Code](/clients/vscode.md):

- *read* at `2025-11-25`: microsoft/vscode at `6737a1cc` `src/vs/workbench/api/common/extHostMcp.ts:createAuthMetadata,fetch`, 2026-11-27
- *read* at `2025-11-25`: microsoft/vscode at `6737a1cc` `src/vs/workbench/api/browser/mainThreadAuthentication.ts:MainThreadAuthentication.create`, 2026-11-27
- *read* at `2025-11-25`: microsoft/vscode at `6737a1cc` `src/vs/workbench/api/common/extHostAuthentication.ts:ExtHostAuthentication.$registerDynamicAuthProvider,DynamicAuthProvider._createWithUrlHandler,DynamicAuthProvider.exchangeCodeForToken,DynamicAuthProvider.exchangeRefreshTokenForToken`, 2026-11-27
- *read* at `2025-11-25`: microsoft/vscode at `6737a1cc` `src/vs/base/common/oauth.ts`, 2026-11-27
- *read* at `2025-11-25`: microsoft/vscode at `6737a1cc` `product.json`, 2026-11-27

[n8n](/clients/n8n.md):

- *read* at `2025-11-25`: n8n-io/n8n at `fb1aec9c` `packages/@n8n/nodes-langchain/credentials/McpOAuth2Api.credentials.ts:McpOAuth2Api`, 2026-11-27
- *read* at `2025-11-25`: n8n-io/n8n at `fb1aec9c` `packages/cli/src/oauth/oauth.service.ts:OauthService.discoverAndResolveResource`, 2026-11-27
- *read* at `2025-11-25`: n8n-io/n8n at `fb1aec9c` `packages/cli/src/oauth/oauth.service.ts:OauthService.registerClient`, 2026-11-27
- *read* at `2025-11-25`: n8n-io/n8n at `fb1aec9c` `packages/cli/src/oauth/oauth.service.ts:OauthService`, 2026-11-27. CIMD selection, gated on oauthCimdEnabled.
- *read* at `2025-11-25`: n8n-io/n8n at `fb1aec9c` `packages/@n8n/config/src/configs/auth.config.ts:AuthConfig`, 2026-11-27
- *read* at `2025-11-25`: n8n-io/n8n at `fb1aec9c` `packages/cli/src/oauth/oauth.service.ts:OauthService.discoverProtectedResourceMetadata`, 2026-11-27
- *read* at `2025-11-25`: n8n-io/n8n at `fb1aec9c` `packages/cli/src/oauth/oauth.service.ts:isAuthorizationResponseIssuerValid`, 2026-11-27
- *read* at `2025-11-25`: n8n-io/n8n at `fb1aec9c` `packages/@n8n/nodes-langchain/nodes/mcp/shared/utils.ts:getAuthHeaders,shouldRefreshMcpOAuth2Token,tryRefreshOAuth2Token,connectMcpClientForCredential`, 2026-11-27
- *read* at `2025-11-25`: n8n-io/n8n at `fb1aec9c` `packages/@n8n/ai-utilities/src/utils/refreshing-auth-fetch.ts:DEFAULT_EXPIRED_STATUS,createRetryingCall`, 2026-11-27

[Langflow](/clients/langflow.md):

- *read* at `2025-11-25`: langflow-ai/langflow at `2b6faa1c` `src/lfx/src/lfx/base/mcp/util.py:MCPSessionManager.session_task`, 2026-11-27. Neither transport call passes auth.
- *read* at `2025-11-25`: langflow-ai/langflow at `2b6faa1c` `src/lfx/src/lfx/base/mcp/util.py:update_tools`, 2026-11-27

[mcp-use](/clients/mcp-use.md):

- *read* at `2026-07-28`: mcp-use/mcp-use at `bc8fb6f3` `libraries/typescript/packages/client/src/core/config.ts:AutoOAuthOptions,HttpServerConfig,shouldAutoProvisionOAuth`, 2026-11-27. AutoOAuthOptions and shouldAutoProvisionOAuth.
- *read* at `2026-07-28`: mcp-use/mcp-use at `bc8fb6f3` `libraries/typescript/packages/client/src/core/base.ts:BaseMCPClient.createSession`, 2026-11-27. createSession attaches the provider and completes the flow on a 401.
- *read* at `2026-07-28`: mcp-use/mcp-use at `bc8fb6f3` `libraries/typescript/packages/client/src/transport/http.ts:HttpConnector.executeRequest,HttpConnector`, 2026-11-27. Retry after an interactive flow, and mixed-auth discovery.
- *read* at `2026-07-28`: mcp-use/mcp-use at `bc8fb6f3` `libraries/typescript/packages/client/src/auth/node.ts:DEFAULT_PORT,NodeOAuthClientProvider.create`, 2026-11-27. Loopback port selection.
- *read* at `2026-07-28`: mcp-use/mcp-use at `bc8fb6f3` `libraries/typescript/packages/client/src/auth/session-store.ts:OAuthSessionStore,OAuthSessionStore.clientMetadata`, 2026-11-27. Client metadata.
- *read* at `2026-07-28`: mcp-use/mcp-use at `bc8fb6f3` `libraries/typescript/packages/client/src/auth/storage-file.ts:FileKVStore,FileKVStore.set`, 2026-11-27. Storage under ~/.mcp-use/oauth, files written with mode 0600.
- *read* at `2026-07-28`: [@modelcontextprotocol/client](https://www.npmjs.com/package/@modelcontextprotocol/client/v/2.3.1) `dist/index.mjs`, 2026-11-20. @modelcontextprotocol/client 2.3.1. CIMD when the provider has clientMetadataUrl, the iss check, OpenID discovery URLs and S256 PKCE.
- *read* at `2025-11-25`: mcp-use/mcp-use at `bc8fb6f3` `libraries/python/mcp_use/client/config.py:create_connector_from_config`, 2026-11-27. Python binding. auth defaults to {}.
- *read* at `2025-11-25`: mcp-use/mcp-use at `bc8fb6f3` `libraries/python/mcp_use/client/connectors/http.py:HttpConnector.__init__,HttpConnector._set_auth,HttpConnector.connect`, 2026-11-27. Python binding. A dict auth builds OAuth, and discovery failure drops it.
- *read* at `2025-11-25`: mcp-use/mcp-use at `bc8fb6f3` `libraries/python/mcp_use/client/auth/oauth.py:FileTokenStorage.__init__,OAuth.__init__,OAuth.authenticate,OAuth._try_dynamic_registration`, 2026-11-27. Python binding. authlib, token directory, default port 8080, CIMD and DCR.

[Zed](/clients/zed.md):

- *read* at `2025-11-25`: zed-industries/zed at `da3a2740` `crates/context_server/src/oauth.rs:CIMD_URL`, 2026-11-27
- *read* at `2025-11-25`: zed-industries/zed at `da3a2740` `crates/context_server/src/oauth.rs:protected_resource_metadata_urls,auth_server_metadata_urls`, 2026-11-27
- *read* at `2025-11-25`: zed-industries/zed at `da3a2740` `crates/context_server/src/oauth.rs:determine_registration_strategy`, 2026-11-27
- *read* at `2025-11-25`: zed-industries/zed at `da3a2740` `crates/context_server/src/oauth.rs:build_authorization_url`, 2026-11-27
- *read* at `2025-11-25`: zed-industries/zed at `da3a2740` `crates/context_server/src/oauth.rs:token_exchange_params,token_refresh_params`, 2026-11-27
- *read* at `2025-11-25`: zed-industries/zed at `da3a2740` `crates/context_server/src/oauth.rs:discover,resolve_client_registration`, 2026-11-27
- *read* at `2025-11-25`: zed-industries/zed at `da3a2740` `crates/project/src/context_server_store.rs:ContextServerStore.run_oauth_flow`, 2026-11-27
- *read* at `2025-11-25`: zed-industries/zed at `da3a2740` `crates/project/src/context_server_store.rs:resolve_auth_required`, 2026-11-27
- *read* at `2025-11-25`: zed-industries/zed at `da3a2740` `crates/context_server/src/transport/http.rs:HttpTransport.send_message`, 2026-11-27

[TypeScript SDK Client](/clients/ts-sdk-client.md):

- *read* at `2025-11-25`: modelcontextprotocol/typescript-sdk at `5ee54ee3` `packages/client/src/client/streamableHttp.ts:StreamableHTTPClientTransportOptions`, 2026-11-20
- *read* at `2025-11-25`: modelcontextprotocol/typescript-sdk at `5ee54ee3` `packages/client/src/client/auth.ts:authInternal`, 2026-11-20. CIMD when supported and configured, dynamic registration otherwise.
- *read* at `2025-11-25`: modelcontextprotocol/typescript-sdk at `5ee54ee3` `packages/client/src/client/auth.ts:AUTHORIZATION_CODE_CHALLENGE_METHOD,startAuthorization,executeTokenRequest`, 2026-11-20. PKCE S256, prompt=consent for offline_access, resource on authorize and token requests.
- *read* at `2025-11-25`: modelcontextprotocol/typescript-sdk at `5ee54ee3` `packages/client/src/client/auth.ts:isIssParameterSupported,validateAuthorizationResponseIssuer`, 2026-11-20. RFC 9207 issuer check.
- *read* at `2025-11-25`: modelcontextprotocol/typescript-sdk at `5ee54ee3` `packages/client/src/client/auth.ts:discoverOAuthProtectedResourceMetadata,buildDiscoveryUrls`, 2026-11-20. Protected resource metadata and the OAuth and OIDC well-known paths.
- *read* at `2025-11-25`: modelcontextprotocol/typescript-sdk at `5ee54ee3` `packages/client/src/client/auth.ts:resolveClientMetadata`, 2026-11-20. grant_types defaults to authorization_code and refresh_token when the provider has a redirect URL.
- *read* at `2025-11-25`: modelcontextprotocol/typescript-sdk at `5ee54ee3` `packages/client/src/client/authExtensions.ts:ClientCredentialsProvider`, 2026-11-20. ClientCredentialsProvider.

[Warp](/clients/warp.md):

- *read* at `2026-07-28`: warpdotdev/warp at `1c7fda11` `crates/mcp/src/runtime.rs:determine_transport`, 2026-11-27
- *read* at `2026-07-28`: warpdotdev/warp at `1c7fda11` `crates/mcp/src/oauth.rs:make_authenticated_client`, 2026-11-27
- *read* at `2026-07-28`: warpdotdev/warp at `1c7fda11` `crates/mcp/src/oauth.rs:PersistingCredentialStore,PersistingCredentialStore.apply_refresh_token_carry_forward`, 2026-11-27
- *read* at `2026-07-28`: warpdotdev/warp at `1c7fda11` `crates/mcp/src/oauth/loopback.rs:LoopbackOAuthReceiver.bind`, 2026-11-27
- *read* at `2026-07-28`: warpdotdev/warp at `1c7fda11` `app/src/ai/mcp/templatable_manager/native.rs:TemplatableMCPServerManager.spawn_server_impl`, 2026-11-27
- *read* at `2026-07-28`: warpdotdev/warp at `1c7fda11` `app/Cargo.toml`, 2026-11-27
- *read* at `2026-07-28`: [rmcp](https://crates.io/crates/rmcp/3.5.0) `src/transport/auth.rs`, 2026-11-21. PKCE, the resource parameter, PRM and OIDC discovery, and the iss check are rmcp 3.5.0 behaviour.

[Reachy Mini conversation app](/clients/reachy-mini-conversation-app.md):

- *read* at `2026-07-28`: pollen-robotics/reachy_mini_conversation_app at `622a3a67` `src/reachy_mini_conversation_app/mcp_client.py:366-381`, 2026-11-26

## Lifecycle

| Revision | Change |
|---|---|
| `2025-03-26` | Introduced. |
| `2025-06-18` | Servers classified as OAuth Resource Servers with protected resource metadata (PR #338); RFC 8707 Resource Indicators required of clients (PR #734) |
| `2025-11-25` | OpenID Connect Discovery 1.0 (PR #797); incremental scope consent via WWW-Authenticate (SEP-835); RFC 9728 alignment makes WWW-Authenticate optional (SEP-985) |
| `2026-07-28` | Client credentials bound to the issuing authorization server: clients MUST key persisted credentials by issuer, MUST NOT reuse them across authorization servers, and MUST re-register when the AS changes (SEP-2352) |

OAuth 2.1-based authorization framework (PR #133).

## Research notes

- [Codex takes CIMD over DCR, with a client identifier hosted on chatgpt.com](/research/codex-prefers-a-chatgpt-hosted-client-identifier.md)
- [eve sends a bearer from a token provider and runs none of the MCP authorization flow itself](/research/eve-leaves-oauth-to-a-token-provider.md)
- [Hugging Face Chat UI sends a different client name for each kind of connection](/research/huggingface-chat-ui-sends-four-client-names.md)
- [Kilo Code adds CIMD and a pre-connect token refresh to opencode's OAuth path](/research/kilocode-adds-cimd-and-pre-connect-token-refresh.md)
- [Mastra's OAuth provider takes a pre-registered client or a CIMD URL and never registers dynamically](/research/mastra-oauth-provider-never-registers-dynamically.md)
- [The mcp-use Python binding is capped below mcp 2 and has a WebSocket connector that skips the handshake](/research/mcp-use-python-binding-runs-on-the-1x-sdk.md)
- [n8n does MCP OAuth in its credential layer, and CIMD is off until an environment variable turns it on](/research/n8n-does-mcp-oauth-in-its-credential-layer.md)
- [pi runs the official client conformance suite in CI against a committed baseline](/research/pi-runs-the-official-conformance-suite-in-ci.md)
- [pi signs in with a Client ID Metadata Document on pi.dev, and switches to a per-server document when the authorization server sends no iss](/research/pi-uses-a-per-server-client-id-document-without-iss.md)
- [The Reachy Mini conversation app connects only to Hugging Face Gradio Spaces](/research/reachy-mini-conversation-app-reaches-only-gradio-spaces.md)
- [Warp picks the HTTP transport and protocol era with its own request before rmcp connects](/research/warp-preflights-http-servers-outside-the-sdk.md)
- [Zed hands its MCP server list to external ACP agents, and OAuth sessions stay behind](/research/zed-passes-mcp-servers-to-external-agents-without-oauth.md)

## Kinds

- framework: A library an application embeds. A capability row is what a default install declares, and the embedding application can change it.
- sdk: An MCP SDK. A capability row is the default every client on it inherits unless it overrides.

## Data

This page as JSON: [`/data/capabilities/authentication-oauth.json`](/data/capabilities/authentication-oauth.json). All capabilities: [`/data/capabilities/index.json`](/data/capabilities/index.json), and the [matrix](/capabilities/index.md).

