Table of Contents

Namespace LMKit.Mcp.Abstractions

Classes

McpCompletionResult

Represents the result of an MCP completion request for argument autocompletion.

McpElicitationRequest

Represents an elicitation request from an MCP server asking for user input.

McpElicitationResponse

Represents the response to an elicitation request.

McpEmbeddedResource

Represents an embedded resource content inside a prompt message.

McpModelHint

Represents a model hint in model preferences.

McpModelPreferences

Represents model preferences for a sampling request.

McpPrompt

Describes a prompt available from an MCP server, including arguments metadata.

McpPromptArgument

Describes a single argument accepted by a prompt.

McpPromptContent

Describes a content part within a message: text, image, audio, or embedded resource.

McpPromptMessage

A single message in a rendered prompt, with a role and one or more content parts.

McpPromptResult

Represents the concrete result of rendering a prompt via prompts/get.

McpResource

Represents an MCP resource - context or data that can be read.

McpResourceContent

Represents the content of a resource.

McpResourceTemplate

Represents an MCP resource template with a parameterized URI (RFC 6570 URI Template). Resource templates allow dynamic resource access with variable parameters.

McpRoot

Represents a filesystem root that the client exposes to MCP servers. Roots define the boundaries within which servers can operate.

McpSamplingContent

Represents content in a sampling message.

McpSamplingMessage

Represents a message in a sampling request.

McpSamplingRequest

Represents a sampling request from an MCP server requesting LLM completion from the client.

McpSamplingResponse

Represents the response to a sampling request.

Structs

McpProgressToken

Represents a progress token used to track long-running MCP operations. Progress tokens can be either string or integer values per the MCP specification.

Enums

McpAcceptProfile

Predefined Accept header profiles used for content negotiation.

McpClientCapabilities

MCP client capabilities as defined in the Model Context Protocol specification. These are capabilities that the CLIENT (not server) supports.

McpElicitationAction

Specifies the action taken in response to an elicitation request.

McpLogLevel

Defines the severity levels for MCP logging messages, following the syslog severity levels.

McpMessageRole

Chat message roles used by MCP prompt messages.

McpServerCapabilities

MCP server capabilities as defined in the Model Context Protocol specification. Based on the official TypeScript schema. Use bitwise operations to combine multiple capabilities.

McpStopReason

Specifies why text generation stopped.