Class
McpProviderExtensions
Provides extension methods for configuring and handling requests with the Model Context Protocol (MCP).
public static class McpProviderExtensionsInheritance #
object ← McpProviderExtensions
Inherited Members #
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods #
| Name | Description |
|---|---|
| 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. |