Skip to content

Commit 47954e3

Browse files
Bump ModelContextProtocol and ModelContextProtocol.AspNetCore (#1719)
Updated [ModelContextProtocol](https://github.com/modelcontextprotocol/csharp-sdk) from 2.3.0 to 2.4.0. <details> <summary>Release notes</summary> _Sourced from [ModelContextProtocol's releases](https://github.com/modelcontextprotocol/csharp-sdk/releases)._ ## 2.4.0 Version 2.4.0 adds experimental MCP Skills support through the new [ModelContextProtocol.Extensions.Skills](https://nuget.org/packages/ModelContextProtocol.Extensions.Skills) package, alongside OAuth hardening and reliability improvements for transport, session, and discovery flows. MCP Apps also now match protocol property names case-sensitively. ## What's Changed * Add the experimental MCP Skills extension #​1856 by @​girishkvs (co-authored by @​PederHP) * Align Skills with server primitives and typed request handlers #​1993 by @​halter73 (co-authored by @​Copilot) * Require explicit opt-in for the legacy OAuth metadata fallback #​1952 by @​halter73 (co-authored by @​Copilot) * Preserve refresh tokens when OAuth refresh responses omit replacements #​1968 by @​halter73 (co-authored by @​Copilot) * Preserve canonical OAuth resource identifiers during refresh #​1967 by @​halter73 (co-authored by @​Copilot) * Fix cancellation being reported as missing OAuth metadata #​1891 by @​Empiree * Cancel open subscriptions/listen requests when the transport stops delivering messages #​1933 by @​pournasserian (co-authored by @​Copilot) * Fix dropped notifications and cancellation when a request is canceled #​1917 by @​zerotohero3 * Prevent server/discover probes from committing the negotiated protocol version #​1956 by @​PrathmeshPawar2110 (co-authored by @​claude) * Fall back to SSE when AutoDetect receives a 405 with a JSON-RPC error body #​1849 by @​ump45nose * Fix legacy output schemas for delegating server tools #​1928 by @​Oxygen56 * Match protocol property names case-sensitively #​1934 by @​FenjuFu ## Documentation Updates * Clarify Skills discovery and documentation #​2000 by @​halter73 (co-authored by @​Copilot) * Fix Markdown link-check warnings and update the Skills specification link #​1975 by @​jeffhandley (co-authored by @​Copilot) ## Test Improvements * Prevent discovery probe timeouts in controlled test connections #​1946 by @​tarekgh * Apply test discovery timeouts to Sampling_Stdio #​1950 by @​girishkvs * Use a task that runs until cancelled in the task store cancellation test #​1955 by @​girishkvs * Fix parallel integration test server startup #​1982 by @​jeffhandley (co-authored by @​Copilot) ## Repository Infrastructure Updates * Bump fast-uri from 3.1.5 to 3.1.7 #​1850 * Bump actions/deploy-pages from 5.0.0 to 5.0.1 #​1858 * Support release-line docs publishing and release coordination #​1972 by @​jeffhandley (co-authored by @​Copilot) * Bump docfx from 2.78.5 to 2.81.0 #​1961 * Bump actions/setup-node from 7.0.0 to 7.1.0 #​1927 * Bump becheran/mlc from 1.2.0 to 1.3.0 #​1907 * Bump the other-testing group with 2 updates #​1960 * Bump actions/download-artifact from 8.0.1 to 8.0.2 #​1926 * Bump Anthropic from 12.40.0 to 13.3.0 #​1962 * Bump the opentelemetry-testing group with 6 updates #​1959 * Bump actions/upload-artifact from 7.0.1 to 7.0.2 #​1925 * Fix CI selection of patched .NET SDKs #​1995 by @​tarekgh ## Acknowledgements * @​Empiree made their first contribution in #​1891 * @​zerotohero3 made their first contribution in #​1917 * @​girishkvs made their first contribution in #​1856 * @​FenjuFu made their first contribution in #​1934 ... (truncated) ## 2.3.1 **This patch release includes a security fix for authenticated stateful sessions.** ## What's Changed * Harden authenticated stateful MCP sessions ([commit `bfbd893`](modelcontextprotocol/csharp-sdk@bfbd893)) by @​halter73 (co-authored by @​Copilot @​jeffhandley @​tarekgh) ## Repository Infrastructure Updates * Align docs publishing with shared orchestration #​1981 by @​jeffhandley (co-authored by @​Copilot) * Fix Markdown link-check warnings and outdated Skills specification link #​1979 by @​jeffhandley (co-authored by @​Copilot) **Full Changelog**: modelcontextprotocol/csharp-sdk@v2.3.0...v2.3.1 > [!NOTE] > These release notes were drafted with GitHub Copilot. Commits viewable in [compare view](modelcontextprotocol/csharp-sdk@v2.3.0...v2.4.0). </details> Updated ModelContextProtocol.AspNetCore from 2.3.0 to 2.4.0. Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent c9e8558 commit 47954e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Directory.Packages.props‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
<PackageVersion Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.23.0" />
6161
<PackageVersion Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="10.0.3" />
6262
<PackageVersion Include="Microsoft.Extensions.AI.OpenAI" Version="11.0.0" />
63-
<PackageVersion Include="ModelContextProtocol" Version="2.3.0" />
64-
<PackageVersion Include="ModelContextProtocol.AspNetCore" Version="2.3.0" />
63+
<PackageVersion Include="ModelContextProtocol" Version="2.4.0" />
64+
<PackageVersion Include="ModelContextProtocol.AspNetCore" Version="2.4.0" />
6565
<PackageVersion Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.15" />
6666
<PackageVersion Include="Moq" Version="4.21.0" />
6767
<PackageVersion Include="Moq.AutoMock" Version="4.0.3" />

0 commit comments

Comments
 (0)