Skip to content

v0.1.0-preview.5

Pre-release
Pre-release

Choose a tag to compare

@eiriktsarpalis eiriktsarpalis released this 03 Apr 19:25
c70dde3

This release extends progress notification support, adds JsonSerializerOptions parameters for tool and prompt operations, adds initial OpenTelemetry observability, and reorganizes ASP.NET Core extension methods into the standard namespace.

Breaking Changes

Refer to the C# SDK Versioning documentation for details on versioning and breaking change policies.

  1. Extend progress notification support #163
    • IMcpClient base interface changed to IMcpEndpoint
    • SamplingCapability.SamplingHandler delegate signature gained IProgress<ProgressNotificationValue> parameter
  2. Put MapMcp in Microsoft.AspNetCore.Builder namespace #171
    • McpEndpointRouteBuilderExtensions moved from ModelContextProtocol.AspNetCore to Microsoft.AspNetCore.Builder namespace
  3. Split StdioClient/ServerTransports into Stdio : Stream #172
    • StdioServerTransport stream-based constructor removed; base class changed from TransportBase to StreamServerTransport; StdioClientStreamTransport replaced by StdioClientSessionTransport and new StreamClientTransport
    • Migration: Use StreamServerTransport for custom stream-based servers; update StdioServerTransport constructor calls
  4. Allow JsonSerializerOptions parameters #182
    • New JsonSerializerOptions? parameter inserted before cancellationToken in ListToolsAsync, EnumerateToolsAsync, GetPromptAsync
    • SendNotificationAsync extension method removed from McpClientExtensions
  5. Remove McpServerConfig.Arguments property #192
    • McpServerConfig.Arguments property removed
    • Migration: Use McpServerConfig.TransportOptions["arguments"] instead

What's Changed

Documentation Updates

Test Improvements

Repository Infrastructure Updates

Acknowledgements

Full Changelog: v0.1.0-preview.4...v0.1.0-preview.5