Sisk

Class

McpProvider

Namespace
Sisk.ModelContextProtocol
Assembly
Sisk.ModelContextProtocol.dll

Represents a server that hosts a Model Context Protocol server.

C#
public sealed class McpProvider

Inheritance #

object ← McpProvider

Inherited Members #

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors #

NameDescription
McpProvider()Creates a new instance of the McpProvider class.
McpProvider(string, string, Version)Creates a new instance of the McpProvider class with the specified server details.

Fields #

NameDescription
PROTOCOL_VERSIONRepresents the current supported version of the Model Context Protocol.

Properties #

NameDescription
ServerNameGets or sets the internal name of the server.
ServerTitleGets or sets the display name of the server.
ServerVersionGets or sets the version of the MCP server.
ToolsGets or sets the list of MCP tools hosted by this server.

Methods #

NameDescription
HandleRequestAsync(HttpRequest, CancellationToken)Handles an incoming HTTP request for MCP operations asynchronously.

Type to search the documentation and the API reference.