Table of Contents

Class McpEndpointExtensions

Namespace
ModelContextProtocol
Assembly
ModelContextProtocol.Core.dll

Provides extension methods for interacting with an ModelContextProtocol.IMcpEndpoint.

public static class McpEndpointExtensions
Inheritance
McpEndpointExtensions
Inherited Members

Remarks

This class provides strongly-typed methods for working with the Model Context Protocol (MCP) endpoints, simplifying JSON-RPC communication by handling serialization and deserialization of parameters and results.

These extension methods are designed to be used with both client (ModelContextProtocol.Client.IMcpClient) and server (ModelContextProtocol.Server.IMcpServer) implementations of the ModelContextProtocol.IMcpEndpoint interface.