Table of Contents

Namespace ModelContextProtocol

Classes

AIContentExtensions

Provides extension methods for converting between Model Context Protocol (MCP) types and Microsoft.Extensions.AI types.

McpEndpointExtensions

Provides extension methods for interacting with an ModelContextProtocol.IMcpEndpoint.

McpException

Represents an exception that is thrown when an Model Context Protocol (MCP) error occurs.

McpJsonUtilities

Provides a collection of utility methods for working with JSON data in the context of MCP.

McpSession

Represents a client or server Model Context Protocol (MCP) session.

ProgressNotificationValue

Provides a progress value that can be sent using IProgress<T>.

Enums

McpErrorCode

Represents standard JSON-RPC error codes as defined in the MCP specification.