Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
interface Cancellations
Handles Cancellation requests
Link copied to clipboard
How a client is identified for sending a request to.
Link copied to clipboard
How a client is identified for sending a request to.
Link copied to clipboard
Link copied to clipboard
interface Completions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class McpProtocol<Transport>(metaData: ServerMetaData, sessions: Sessions<Transport>, tools: Tools = ServerTools(), resources: Resources = ServerResources(), prompts: Prompts = ServerPrompts(), completions: Completions = ServerCompletions(), logger: Logger = ServerLogger(), roots: Roots = ServerRoots(), cancellations: Cancellations = ServerCancellations(), random: Random = Random, onError: (Throwable) -> Unit = { it.printStackTrace(System.err) })
Models the MCP protocol in terms of message handling and session management.
Link copied to clipboard
interface ObservableCapability
Provides notification telling the client of changes to underlying capabilities lists.
Link copied to clipboard
Provides notification telling the client of changes to a particular resource
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class SessionBasedClient<Transport>(progressToken: ProgressToken, context: ClientRequestContext, sessions: Sessions<Transport>, random: Random, clientTracking: () -> ClientTracking?) : Client
Link copied to clipboard
Represents a session for a connection.