Skip to content

createMcpHttpClient

createMcpHttpClient(opts): McpHttpClient

Defined in: src/provider/mcp/http-client.ts:45

Hand-rolled MCP-over-HTTP client for Fastmail’s official endpoint (Streamable HTTP with SSE-framed responses). Deliberately dependency-free — a faithful, typed port of the proven session script (reference/mcp.mjs).

McpHttpClientOptions

McpHttpClient