Package-level declarations

Types

Link copied to clipboard

Minimal MCP client implementing the tools-related subset of the protocol on top of McpTransport (Streamable HTTP by default).

Link copied to clipboard
class McpHttpRequest(val url: String, val body: String, val headers: Map<String, String> = emptyMap(), val timeoutMillis: Long = 0)

A single outgoing JSON-RPC message.

Link copied to clipboard
class McpHttpResponse(val status: Int, val headers: Map<String, String>, val contentType: String?, val body: McpResponseBody)

Raw HTTP response from the MCP endpoint.

Link copied to clipboard
Link copied to clipboard
sealed interface McpResponseBody