Sisk

Class

McpProviderExtensions

Namespace
Sisk.ModelContextProtocol
Assembly
Sisk.ModelContextProtocol.dll

Provides extension methods for configuring and handling requests with the Model Context Protocol (MCP).

C#
public static class McpProviderExtensions

Inheritance #

object ← McpProviderExtensions

Inherited Members #

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

Methods #

NameDescription
HandleMcpRequestAsync(HttpRequest, CancellationToken)Handles an incoming HTTP request using the configured MCP provider.
UseMcp(HttpServerHostContextBuilder, McpProvider)Configures the HTTP server host builder to use a specific MCP provider.
UseMcp(HttpServerHostContextBuilder, Action<McpProvider>)Configures the HTTP server host builder to use an MCP provider built with the provided action.

Type to search the documentation and the API reference.