using ModelContextProtocol.Protocol; namespace ModelContextProtocol; /// /// Provides an tied to a specific progress token and that will issue /// progress notifications on the supplied endpoint. /// internal sealed class TokenProgress(IMcpEndpoint endpoint, ProgressToken progressToken) : IProgress { /// public void Report(ProgressNotificationValue value) { _ = endpoint.NotifyProgressAsync(progressToken, value, CancellationToken.None); } }