github modelcontextprotocol/csharp-sdk v0.1.0-preview.10

latest releases: v2.4.0, v2.3.1, v1.4.2...
pre-release19 months ago

This release cleans up McpException and McpTransportException with the McpErrorCode enum, adds progress notification support for McpClientTool, and introduces server-side Streamable HTTP transport support.

Breaking Changes

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

  1. Clean up McpException and McpTransportException (#321): McpException.ErrorCode changed from int? to McpErrorCode enum; McpTransportException class deleted; transport errors now throw InvalidOperationException

What's Changed

  • Support progress notifications with McpClientTool and McpClientExtensions.CallToolAsync #312 by @stephentoub
  • Add WithTools/Prompts overloads that accept McpServerTool/Prompts #319 by @stephentoub
  • Clean up (use of) McpException and McpTransportException #321 by @stephentoub
  • Add server-side Streamable HTTP transport support #330 by @halter73

Test Improvements

Repository Infrastructure Updates

Acknowledgements

Full Changelog: v0.1.0-preview.9...v0.1.0-preview.10

Don't miss a new csharp-sdk release

NewReleases is sending notifications on new releases.