Class McpProviderExtensions
- Namespace
- Sisk.ModelContextProtocol
- Assembly
- Sisk.ModelContextProtocol.dll
Provides extension methods for configuring and handling requests with the Model Context Protocol (MCP).
public static class McpProviderExtensions
- Inheritance
-
McpProviderExtensions
- Inherited Members
Methods
- 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.