Skip to content

v2.0.0-rc.1

Pre-release
Pre-release

Choose a tag to compare

@jeffhandley jeffhandley released this 25 Jul 02:05
bdaa95c

2.0.0-rc.1 advances the v2 SDK toward general availability with stronger OAuth conformance, improved dynamic client registration, and expanded Tasks validation.

We remain on-track to release 2.0.0 stable on or before 2026-07-28.

We want to give a big thanks to @KubaZ2 for reporting the critical, ship-stopping Tasks/HTTP defect in #1720, fixed by #1722!

Breaking Changes

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

  1. Remove the preview task-scope helper #1722

    • McpTasksServerExtensions.CreateMcpTaskScope(...) was removed from the stable surface. This affects only applications built against the v2 preview API; no stable 2.0 release has shipped.
    • There is no stable direct replacement; update affected task-scope integration code for the current Tasks APIs.
  2. Harden OAuth issuer validation #1605

    • AuthorizationRedirectDelegate now produces MCP9007, which breaks warning-as-error builds; the manual authorization flow now requires the complete redirect URL.
    • Migrate to AuthorizationCallbackHandler and return AuthorizationResult.
  3. Require advertised PKCE S256 support #1700

    • Authorization servers that omit code_challenge_methods_supported: ["S256"] now cause authentication to fail instead of receiving an inferred default.
    • Correct the authorization-server metadata or use a compliant discovery document.
  4. Send Dynamic Client Registration application types #1613

    • Unset ApplicationType now sends an inferred application_type instead of omitting it.
    • Set DynamicClientRegistrationOptions.ApplicationType explicitly when the authorization server requires another value.

What's Changed

Documentation Updates

  • Publish a side-by-side, multi-version documentation site with selectable release/1.x (v1.4.1) and main (v2 preview) content #1727 by @jeffhandley (co-authored by @Copilot)
  • Add Docker-based MCP server deployment guidance #1423 by @john-mckillip (co-authored by @Copilot)
  • Improve v2 conceptual documentation clarity and consistency #1728 by @gewarren
  • Improve v1 documentation clarity and consistency, and versioning updates #1729 by @jeffhandley (co-authored by @Copilot)

Test Improvements

Acknowledgements

Full Changelog: v2.0.0-preview.3...v2.0.0-rc.1