Package-level declarations

Types

Link copied to clipboard

A client implementation that communicates using the MCP protocol.

Link copied to clipboard
abstract class McpComponent(transport: Transport, logIncoming: suspend (String) -> Unit = {}, logOutgoing: suspend (String) -> Unit = {}, coroutineContext: CoroutineContext = Dispatchers.Default)

Base component for MCP clients/servers. Handles request/response & notification routing, serialization, and connection lifecycle.

Link copied to clipboard

A Model Context Protocol (MCP) server implementation that handles MCP requests from a connected client via a specified Transport.

Link copied to clipboard
interface ServerContext