Table of Contents

Namespace LMKit.Mcp.Client

Classes

McpAuthFailedEventArgs

Provides data for the AuthFailed event, which occurs when an authentication failure is detected.

McpCancellationEventArgs

Provides data for the CancellationReceived event.

McpCatalogChangedEventArgs

Event payload describing a catalog change notification from the server.

McpClient

Provides a client for communicating with Model Context Protocol (MCP) servers over HTTP using JSON-RPC 2.0.

McpClientBuilder

Fluent builder for constructing McpClient instances with various transport configurations.

McpElicitationRequestEventArgs

Provides data for the ElicitationRequested event. Handlers should set the Response property to provide the user's input.

McpLogMessageEventArgs

Provides data for the LogMessageReceived event.

McpProgressEventArgs

Provides data for the ProgressReceived event.

McpRequestSendingEventArgs

Provides data for the Sending event, which occurs immediately before an HTTP request is sent to the server.

McpResourceUpdatedEventArgs

Provides data for the ResourceUpdated event. This event is raised when a subscribed resource has been updated on the server.

McpResponseReceivedEventArgs

Provides data for the Received event, which occurs after an HTTP response (or SSE payload) is received from the server.

McpRootsRequestEventArgs

Provides data for the RootsRequested event.

McpSamplingRequestEventArgs

Provides data for the SamplingRequested event. Handlers should set the Response property to provide the sampling result.

Enums

McpCatalogKind

Identifies which MCP server catalog has changed.