Namespace ModelContextProtocol
Classes
- AIContentExtensions
Provides extension methods for converting between Model Context Protocol (MCP) types and Microsoft.Extensions.AI types.
- McpException
Represents an exception that is thrown when a Model Context Protocol (MCP) error occurs.
- McpJsonUtilities
Provides a collection of utility methods for working with JSON data in the context of MCP.
- McpProtocolException
Represents an exception that is thrown when a Model Context Protocol (MCP) protocol-level error occurs.
- McpSession
Represents a client or server Model Context Protocol (MCP) session.
- MissingRequiredClientCapabilityException
Represents an exception used to signal that a request requires a client capability that was not declared in the request's per-request
_meta/io.modelcontextprotocol/clientCapabilitiesfield.
- ProgressNotificationValue
Provides a progress value that can be sent using IProgress<T>.
- RequestOptions
Provides a bag of optional parameters for use with MCP requests.
- UnsupportedProtocolVersionException
Represents an exception used to signal that a request's declared protocol version is not supported by the server.
- UrlElicitationRequiredException
Represents an exception used to indicate that URL-mode elicitation must be completed before the request can proceed.
Enums
- McpErrorCode
Represents standard JSON-RPC error codes as defined in the MCP specification.
