Package-level declarations

Types

Link copied to clipboard
class TestMcpClient(poly: PolyHandler, connectRequest: Request) : McpClient
Link copied to clipboard
class TestMcpSender(mcpHandler: PolyHandler, connectRequest: Request)

Functions

Link copied to clipboard
inline fun <OUT, T : Any> SseMessage.Event.nextEvent(noinline fn: T.() -> OUT): McpResult<Pair<McpMessageId?, OUT>>
Link copied to clipboard
fun PolyHandler.testMcpClient(connectRequest: Request = Request(POST, "/mcp")): TestMcpClient

Create an in-memory MCP test client - HTTP Streaming only. For Non-HTTP Streaming, use HttpNonStreamingMcpClient

Link copied to clipboard