McpTransportConfig

sealed interface McpTransportConfig

Transport configurations supported by the common JVM/Android MCP API.

Inheritors

Types

Link copied to clipboard
data class StreamableHttp(val url: String, val headers: Map<String, String> = emptyMap(), val connectTimeout: Duration = 5.seconds, val requestTimeout: Duration = 5.minutes, val allowInsecureHttp: Boolean = false) : McpTransportConfig

Streamable HTTP settings supported by both JVM and Android MCP clients.