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

Codex CLI:

opencode:

Cline:

fast-agent:

Kilo Code:

Mastra:

fx (native engine):

libfx (fx JavaScript adapter):

eve:

pi:

Strands Agents:

crewAI:

deepagents:

Google ADK (Python):

Microsoft Agent Framework:

Hugging Face Chat UI:

Visual Studio Code:

n8n:

Langflow:

mcp-use:

Zed:

TypeScript SDK Client:

Warp:

Reachy Mini conversation app:

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

Kinds

Data

This page as JSON: /data/capabilities/authentication-header.json. All capabilities: /data/capabilities/index.json, and the matrix.