Interface StreamableHttpTransport

A transport that can stream HTTP requests and responses. Next ID: 6. This data type is not supported in Vertex AI.

interface StreamableHttpTransport {
    headers?: Record<string, string>;
    sseReadTimeout?: string;
    terminateOnClose?: boolean;
    timeout?: string;
    url?: string;
}

Properties

headers?: Record<string, string>

Optional: Fields for authentication headers, timeouts, etc., if needed.

sseReadTimeout?: string

Timeout for SSE read operations.

terminateOnClose?: boolean

Whether to close the client session when the transport closes.

timeout?: string

HTTP timeout for regular operations.

url?: string

The full URL for the MCPServer endpoint. Example: "https://api.example.com/mcp".