authentication.header support in MCP clients
Which MCP clients support authentication.header, and how each claim is known. It is not a protocol feature with its own lifecycle, so the registry tracks it on its own terms.
Support
| Client | Kind | Status | Known from | Revisions | Notes |
|---|---|---|---|---|---|
| Codex CLI | host | ● full | read | 2025-06-18 |
Per-server http_headers, env_http_headers, bearer_token_env_var, and an http_headers_helper command whose stdout supplies headers. |
| opencode | host | ● full | read | 2025-11-25 |
A headers map on a remote server is passed through as requestInit headers on the Streamable HTTP transport. The OAuth challenge probe sends them too. |
| Cline * | host | ● full | read | 2025-11-25 |
A headers map on a remote server is passed through as requestInit headers on both transports. A configured Authorization header suppresses the OAuth prompt: a 401 is reported as a rejected header rather than a sign-in. |
| fast-agent | framework | ● full | read | 2026-07-28 |
A headers map on a remote server is passed through on both HTTP transports. An Authorization or X-HF-Authorization header suppresses the OAuth escalation entirely. auth.forward: huggingface injects the local HF token as a header for Hugging Face endpoints and disables OAuth for that server. |
| Kilo Code * | host | ● full | read | 2025-11-25 |
A headers map on a remote server is passed as requestInit headers on both transports. |
| Mastra | framework | ● full | read | 2026-07-28 |
requestInit.headers on a url entry is passed to the transport for every request. A custom fetch can set headers per request from the caller's request context. |
| fx (native engine) | host | ● full | read | 2026-07-28 |
headers, header_env and bearer_token_env on an HTTP entry. An entry that names an unset variable, or a value a header cannot carry, is held back with the reason. |
| libfx (fx JavaScript adapter) * | framework | · untested | read | 2025-11-25 |
Set on the host's transport, outside libfx. Not read. |
| eve | framework | ● full | read | 2026-07-28 |
A headers map of static values, promises or callbacks that receive the session context, resolved again for every request. An Authorization key in headers is rejected when auth is also set. forwardPrincipal adds an eve-forwarded-principal header naming the turn's user and makes requests fail on a redirect. |
| pi * | host | ● full | read | 2025-11-25 |
A headers map is sent on every POST, GET and DELETE. Values may reference ${NAME} or run a command with !cmd. pi mcp add --bearer-token-env-var writes an Authorization: Bearer ${NAME} header. An Authorization header turns OAuth off for that server. An auth block with a provider name sends the current token of that pi /login provider as the bearer token; it is refused in project mcp.json files and needs https or a loopback host. |
| Strands Agents | framework | ● full | read | 2026-07-28 |
headers on MCPClient(url=...) and on a load_servers entry are sent on every request, for streamable HTTP and SSE. Values in a config entry take ${VAR} and ${env:VAR} interpolation, and an unset variable fails that server. |
| crewAI * | framework | ● full | read | 2025-11-25 |
headers on MCPServerHTTP and MCPServerSSE go to the SDK client unchanged. The https:// string form has no place for headers, so it reaches only servers that need none. Stdio credentials go through env. |
| deepagents * | framework | ● full | read | 2025-11-25 |
A headers map on a remote entry is passed to the transport. Values must be strings, and ${VAR} and ${VAR:-default} references are expanded from the environment when the server is activated. An entry cannot combine auth: oauth with an Authorization header, and a static Authorization header takes precedence over stored OAuth tokens. |
| Google ADK (Python) | framework | ● full | read | 2025-11-25 |
Static headers on the connection params, a header_provider callback evaluated per request context, and headers derived from an auth_credential: Bearer, Basic, other HTTP schemes and header API keys. Auth headers win over header_provider on a name collision. ADK adds its own User-Agent and x-goog-api-client tokens. When google-auth would use a client certificate, the HTTP transport switches to mTLS and attaches Application Default Credentials as a Bearer token for https googleapis.com hosts only. |
| Microsoft Agent Framework | framework | ● full | read | 2026-07-28 |
static_headers and header_provider add headers to requests whose origin matches the configured url, and remove them when a redirect leaves that origin. header_provider receives the run's keyword arguments. The header set used to connect is bound to the session, and a run with a different set reconnects first. .NET: DefaultMcpToolHandler passes the workflow's headers as AdditionalHeaders and rejects a Host header. |
| Hugging Face Chat UI | host | ● full | read | 2026-07-28 |
A headers map on an MCP_SERVERS entry or a user-added server is sent on every request. With MCP_FORWARD_HF_USER_TOKEN=true the signed-in user's Hugging Face token is added as a bearer header to Hugging Face MCP URLs that carry ?login, unless an Authorization header is already set. A server cannot use an OAuth connection and a manual Authorization header together. |
| Visual Studio Code * | host | ● full | read | 2025-11-25 |
Configured headers go on every POST, GET and DELETE. A server definition can also name an authentication provider id and scopes, whose token becomes the Authorization header. Configured headers and credentials are stripped on a cross-origin redirect. |
| n8n * | host | ● full | read | 2025-11-25 |
Bearer Auth, Header Auth and Multiple Headers Auth credentials. Headers are dropped when a redirect crosses origins. |
| Langflow * | host | ● full | read | 2025-11-25 |
Headers come from the server config and from the component's Headers input, which wins on a clash. A header value that names a global variable is replaced by its value. When Langflow itself runs as an MCP server, a header whose value repeats its name, such as x-api-key: x-api-key, forwards the incoming request's header. Names are lowercased and values with CR or LF are dropped. An operator can have an end-user id header added for allowlisted internal hosts only. |
| mcp-use | framework | ● full | read | 2025-11-25, 2026-07-28 |
headers on an HTTP entry are sent on every transport request, and authToken adds Authorization: Bearer. Either one turns off the default OAuth provider. Python: headers and a string auth as a bearer token. |
| Zed * | host | ● full | read | 2025-11-25 |
A headers map on a url server is sent on every POST and on the DELETE. With an Authorization header set, Zed does not start OAuth. |
| TypeScript SDK Client | sdk | ◇ opt-in | read | 2025-11-25 |
requestInit.headers on either HTTP transport are sent on every request. Authorization, mcp-session-id and mcp-protocol-version set by the transport take precedence, so a static Authorization header is sent only while an authProvider has no token. An AuthProvider of the form { token: async () => key } sends a bearer token without OAuth. |
| Warp | host | ● full | read | 2026-07-28 |
A URL server's headers map is sent on every request, preflight included. Values can be templated from variables and managed secrets. For managed servers in agent runs the headers can be replaced on an open Streamable HTTP connection (managed_mcp_credential_refresh, on by default). |
| Reachy Mini conversation app | host | ◐ partial | read | 2026-07-28 |
One header, chosen by the app: Authorization: Bearer with the Hugging Face token (HF_TOKEN, else the hf auth login cache), sent only to Spaces the Hub reports as private. A person cannot set other headers. |
Not recorded for goose, OpenClaw, Hermes Agent, Google Antigravity, Claude Code, Claude.ai, ChatGPT, Codex Desktop, Cursor. 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 10 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.
Warp, Reachy Mini conversation app have one set of rows for every revision they speak, not yet split by revision.
The matrix on 2025-11-25 shows every capability on that revision.
Evidence
- read at
2025-06-18: openai/codex at18c09f20codex-rs/rmcp-client/src/http_headers.rs:with_http_headers_helper,run_helper, 2026-11-27 - read at
2025-06-18: openai/codex at18c09f20codex-rs/config/src/mcp_types.rs, 2026-11-27. The config fields.
- read at
2025-11-25: anomalyco/opencode at5d1f7884packages/core/src/mcp/client.ts:open, 2026-11-27 - read at
2025-11-25: anomalyco/opencode at5d1f7884packages/core/src/mcp/oauth.ts:fetchFn, 2026-11-27
- read at
2025-11-25: cline/cline atcbc7d141apps/vscode/src/services/mcp/McpHub.ts:McpHub.connectToServer, 2026-11-27 - read at
2025-11-25: cline/cline atcbc7d141sdk/packages/core/src/extensions/mcp/client.ts:SdkUrlMcpClient.hasStaticAuthorizationHeader, 2026-11-27
- read at
2026-07-28: evalstate/fast-agent at16f8bb65src/fast_agent/mcp/client_gateway.py:_prepare_headers_and_auth, 2026-11-27 - read at
2026-07-28: evalstate/fast-agent at16f8bb65src/fast_agent/mcp/hf_auth.py, 2026-11-27
- read at
2025-11-25: Kilo-Org/kilocode at3c7f2659packages/opencode/src/mcp/index.ts:connectRemote, 2026-11-27
- read at
2026-07-28: mastra-ai/mastra at0a31d4d0packages/mcp/src/client/types.ts:HttpServerDefinition, 2026-11-27 - read at
2026-07-28: mastra-ai/mastra at0a31d4d0packages/mcp/src/client/client.ts:InternalMastraMCPClient.connectHttp, 2026-11-27
- read at
2026-07-28: vercel-labs/fx atb4502b01src/core/mcp_host/config.zig:transportFor, 2026-11-27
libfx (fx JavaScript adapter):
- read at
2025-11-25: vercel-labs/fx atb4502b01sdk/types/mcp.d.ts, 2026-11-27
eve:
- read at
2026-07-28: vercel/eve at4545806dpackages/eve/src/runtime/connections/mcp-client.ts:McpConnectionClient,resolveConnectionHeaders, 2026-11-27 - read at
2026-07-28: vercel/eve at4545806dpackages/eve/src/public/definitions/connections/mcp.ts:McpClientConnectionDefinition, 2026-11-27
pi:
- read at
2025-11-25: earendil-works/pi atcdf74062packages/coding-agent/src/extensions/mcp/runtime.ts:createDefaultTransport,McpServerConnection, 2026-11-27 - read at
2025-11-25: earendil-works/pi atcdf74062packages/mcp/src/transports/streamable-http.ts:StreamableHttpTransport.buildHeaders, 2026-11-27 - read at
2025-11-25: earendil-works/pi atcdf74062packages/coding-agent/src/core/mcp-servers.ts:checkAuth, 2026-11-27. The auth.provider check. - read at
2025-11-25: earendil-works/pi atcdf74062packages/coding-agent/src/extensions/mcp/config.ts:readConfigFile, 2026-11-27. auth is refused in a project file. - read at
2025-11-25: earendil-works/pi atcdf74062packages/coding-agent/src/extensions/mcp/cli.ts:add, 2026-11-27
- read at
2026-07-28: strands-agents/harness-sdk at78855cadstrands-py/src/strands/tools/mcp/mcp_client.py:_resolve_transport_callable,_config_transport_callable, 2026-11-27 - read at
2026-07-28: strands-agents/harness-sdk at78855cadstrands-py/src/strands/tools/mcp/mcp_client.py:_interpolate_env_vars, 2026-11-27 - read at
2026-07-28: strands-agents/harness-sdk at78855cadstrands-ts/src/mcp/client.ts:McpClient._resolveTransport, 2026-11-27. TypeScript binding: requestInit headers.
- read at
2025-11-25: crewAIInc/crewAI at77237aeclib/crewai/src/crewai/mcp/config.py:MCPServerHTTP,MCPServerSSE, 2026-11-27 - read at
2025-11-25: crewAIInc/crewAI at77237aeclib/crewai/src/crewai/mcp/transports/http.py:HTTPTransport.connect, 2026-11-27 - read at
2025-11-25: crewAIInc/crewAI at77237aeclib/crewai/src/crewai/mcp/tool_resolver.py:MCPToolResolver._resolve_external,MCPToolResolver._discover_mcp_tools, 2026-11-27. The https:// string route builds server_params from the URL alone and calls streamablehttp_client(server_url).
- read at
2025-11-25: langchain-ai/deepagents atc84eb7f1libs/code/deepagents_code/mcp_tools.py:_validate_server_config, 2026-11-27 - read at
2025-11-25: langchain-ai/deepagents atc84eb7f1libs/code/deepagents_code/mcp_tools.py:_prepare_transport, 2026-11-27 - read at
2025-11-25: langchain-ai/deepagents atc84eb7f1libs/code/deepagents_code/mcp_config.py, 2026-11-27
- read at
2025-11-25: google/adk-python at03725e8csrc/google/adk/tools/mcp_tool/mcp_session_manager.py:MCPSessionManager._merge_headers, 2026-11-27 - read at
2025-11-25: google/adk-python at03725e8csrc/google/adk/tools/mcp_tool/mcp_toolset.py:McpToolset._build_headers, 2026-11-27 - read at
2025-11-25: google/adk-python at03725e8csrc/google/adk/tools/mcp_tool/mcp_tool.py:_merge_auth_and_provider_headers,McpTool._get_headers, 2026-11-27 - read at
2025-11-25: google/adk-python at03725e8csrc/google/adk/tools/mcp_tool/mcp_session_manager.py:MCPSessionManager._get_mtls_transport, 2026-11-27. mTLS probe and the Application Default Credentials host check.
- read at
2026-07-28: microsoft/agent-framework atf8ade3e9python/packages/core/agent_framework/_mcp.py:MCPStreamableHTTPTool.get_mcp_client, 2026-11-27 - read at
2026-07-28: microsoft/agent-framework atf8ade3e9python/packages/core/agent_framework/_mcp.py:MCPStreamableHTTPTool.__init__, 2026-11-27 - read at
2026-07-28: microsoft/agent-framework atf8ade3e9dotnet/src/Microsoft.Agents.AI.Workflows.Declarative.Mcp/DefaultMcpToolHandler.cs:foreach,nameof, 2026-11-27
- read at
2026-07-28: huggingface/chat-ui at7fc0f672src/lib/server/mcp/registry.ts:parseServers, 2026-11-27 - read at
2026-07-28: huggingface/chat-ui at7fc0f672src/lib/server/textGeneration/mcp/runMcpFlow.ts:runMcpFlow, 2026-11-27
- read at
2025-11-25: microsoft/vscode at6737a1ccsrc/vs/workbench/api/common/extHostMcp.ts:McpHTTPHandle._sendStreamableHttp,McpHTTPHandle,McpHTTPHandle._stripCrossOriginHeaders, 2026-11-27
n8n:
- read at
2025-11-25: n8n-io/n8n atfb1aec9cpackages/@n8n/nodes-langchain/nodes/mcp/McpClientTool/McpClientTool.node.ts:McpClientTool.transportSelect, 2026-11-27 - read at
2025-11-25: n8n-io/n8n atfb1aec9cpackages/@n8n/nodes-langchain/nodes/mcp/shared/utils.ts:getAuthHeaders, 2026-11-27
- read at
2025-11-25: langflow-ai/langflow at2b6faa1csrc/lfx/src/lfx/components/models_and_agents/mcp_component.py:MCPToolsComponent.update_tool_list, 2026-11-27 - read at
2025-11-25: langflow-ai/langflow at2b6faa1csrc/lfx/src/lfx/base/mcp/util.py:validate_headers,_process_headers, 2026-11-27 - read at
2025-11-25: langflow-ai/langflow at2b6faa1csrc/lfx/src/lfx/base/mcp/util.py:_maybe_inject_end_user_header, 2026-11-27 - read at
2025-11-25: langflow-ai/langflow at2b6faa1cdocs/docs/Agents/mcp-client.mdx:Use global variables in MCP server headers {#use-global-variables-in-mcp-server-headers},Propagatex-api-keyto nested MCP servers {#propagate-x-api-key}, 2026-11-27
- read at
2026-07-28: mcp-use/mcp-use atbc8fb6f3libraries/typescript/packages/client/src/transport/http.ts:HttpConnector, 2026-11-27 - read at
2026-07-28: mcp-use/mcp-use atbc8fb6f3libraries/typescript/packages/client/src/core/config.ts:HttpServerConfig,shouldAutoProvisionOAuth, 2026-11-27 - read at
2025-11-25: mcp-use/mcp-use atbc8fb6f3libraries/python/mcp_use/client/connectors/http.py:HttpConnector._set_auth, 2026-11-27. Python binding. A string auth becomes a bearer header.
Zed:
- read at
2025-11-25: zed-industries/zed atda3a2740crates/context_server/src/transport/http.rs:HttpTransport.build_request, 2026-11-27 - read at
2025-11-25: zed-industries/zed atda3a2740crates/project/src/context_server_store.rs:ContextServerStore.create_context_server, 2026-11-27
- read at
2025-11-25: modelcontextprotocol/typescript-sdk at5ee54ee3packages/client/src/client/streamableHttp.ts:StreamableHTTPClientTransportOptions, 2026-11-20 - read at
2025-11-25: modelcontextprotocol/typescript-sdk at5ee54ee3packages/client/src/client/sse.ts:SSEClientTransportOptions, 2026-11-20
Warp:
- read at
2026-07-28: warpdotdev/warp at1c7fda11crates/mcp/src/runtime.rs:build_header_map,build_client_with_headers,spawn_server, 2026-11-27 - read at
2026-07-28: warpdotdev/warp at1c7fda11crates/mcp/src/refreshable_headers.rs, 2026-11-27 - read at
2026-07-28: warpdotdev/warp at1c7fda11app/src/ai/agent_sdk/driver/managed_mcp_refresh.rs, 2026-11-27
- read at
2026-07-28: pollen-robotics/reachy_mini_conversation_app at622a3a67src/reachy_mini_conversation_app/tool_spaces.py:615-629,648-667, 2026-11-26
Lifecycle
| Revision | Change |
|---|
Header-based auth (API keys, bearer tokens) is an implementation/deployment detail, not a spec-gated capability. Applicable at any protocol version.
Research notes
- crewAI reaches MCP servers through four entry points on three client code paths
- eve sends a bearer from a token provider and runs none of the MCP authorization flow itself
- The Reachy Mini conversation app connects only to Hugging Face Gradio Spaces
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-header.json. All capabilities: /data/capabilities/index.json, and the matrix.