47 model prices
  1. Home
  2. Releases
  3. MCP C# SDK
  4. 2.3.0

MCP C# SDK 2.3.0 release notes

MCP C# SDK 2.3.0 was released on October 20, 2026. The latest version is 2.4.0.

v2.3.0 · · 35 listed changesBreaking

The release notes for this version mention breaking changes.

Release notes

This release improves HTTP discovery, OAuth, protocol interoperability, and shutdown reliability, preserves registration order for server primitives, and exposes a TimeProvider for deterministic client timeout tests. It also corrects optional server-identity handling; applications reading McpClient.ServerInfo should adopt nullable handling.

Breaking Changes

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

  1. McpClient.ServerInfo is nullable — #1903
    • Its return annotation changes from Implementation to Implementation?. Existing non-nullable assignments or dereferences can produce nullable warnings and fail warnings-as-errors builds.
    • On 2026-07-28 connections, ServerInfo is null when the server omits optional identity metadata from server/discover. Legacy initialize still requires serverInfo. Reading the property before connecting still throws InvalidOperationException.
    • Migrate with a null check or a fallback such as client.ServerInfo?.Name ?? "Unknown server". Self-reported identity must not be used for security decisions.
    • This corrective source-compatibility change is intentionally included in 2.3.0.

What's Changed

Documentation Updates

Test Improvements

Repository Infrastructure Updates

Acknowledgements

Full Changelog: https://github.com/modelcontextprotocol/csharp-sdk/compare/v2.2.0...v2.3.0

[!NOTE] These release notes were drafted with GitHub Copilot and reviewed before publishing.

Source: GitHub release v2.3.0

Newer: 1.4.2Older: 2.2.0MCP C# SDK