AxMCPStreamableHTTPTransportOptions
Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/mcp/transports/options.ts#L5
Properties
| Property | Type | Description |
|---|
authentication? | AxMCPAuthentication | Composable bearer, API key, Basic, HMAC, or caller-defined authentication. |
authorization? | string | - |
fetch? | { (input: URL | RequestInfo, init?: RequestInit): Promise<Response>; (input: string | URL | Request, init?: RequestInit): Promise<Response>; } | Host-provided fetch implementation for all HTTP transport requests. |
headers? | Record<string, string> | - |
legacySSEFallback? | boolean | Attempt legacy HTTP+SSE fallback when an initialize POST gets a legacy status. Defaults to false; use AxMCPHTTPSSETransport when you know the server is legacy SSE-only. |
maxRedirects? | number | Maximum validated redirect hops for GET/HEAD requests. Defaults to 5. |
maxResponseBytes? | number | Maximum decoded response body size. Defaults to 16 MiB. |
mtls? | AxMCPMTLSOptions | RFC 8705 mutual-TLS channel; also inherited by OAuth unless overridden. |
oauth? | AxMCPOAuthOptions | - |
retry? | | false | { baseDelayMs?: number; maxAttempts?: number; maxDelayMs?: number; statuses?: readonly number[]; } | Retry policy for safe MCP operations on 429/502/503/504. |
ssrfProtection? | AxMCPSSRFProtectionOptions | SSRF protection for the configured MCP endpoint. HTTPS and public hosts are required by default; set allowHTTP/allowLoopback for controlled local development, or disabled for trusted test fixtures. |
timeoutMs? | number | Per-request timeout. Defaults to 30 seconds. |