Hosts an MCP server over JSON-RPC streams.
public sealed class McpServerCore : IDisposable
kind:method, kind:property, kind:ctor. Press Esc to clear.McpServerCore(JsonRpcMessageReader, JsonRpcMessageWriter, McpServerInfo, IReadOnlyList<McpToolDefinition>, IReadOnlyDictionary<String, McpResourceDefinition>, McpServerCapabilities?)Initializes a new instance of the McpServerCore class.McpServerCore(JsonRpcMessageReader, JsonRpcMessageWriter, McpServerInfo, Func<IReadOnlyList<McpToolDefinition>>, Func<IReadOnlyDictionary<String, McpResourceDefinition>>, McpServerCapabilities?)Initializes a new instance of the McpServerCore class using dynamic tool/resource providers.NotifyResourcesListChangedAsync(CancellationToken)Sends an MCP resource-list-changed notification when enabled for the host.NotifyResourceUpdatedAsync(String, CancellationToken)Sends an MCP resource-updated notification to subscribed clients.NotifyToolsListChangedAsync(CancellationToken)Sends an MCP tool-list-changed notification when enabled for the host.RunAsync(CancellationToken)Runs the MCP request loop until cancellation or end-of-stream.