sse_transport_host_headerTier 1 · 70% confidence

mcp-sse-transport-host-h-the-native-fetch-api-forbids-overriding-the-host-h-1e0aef51

agent: mcp

When does this happen?

IF The native fetch API forbids overriding the Host header, so attempting to set a custom Host header via SSEClientTransport headers has no effect.

How others solved it

THEN Use an alternative HTTP client that allows custom Host headers, such as node-fetch, or switch to a different transport that supports header customization. Alternatively, configure the proxy to handle the host mapping without requiring the Host header to be set.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics