Skip to content

[.NET 11] Update MCP template dependency - #68212

Merged
jeffhandley merged 1 commit into
dotnet:mainfrom
jeffhandley:jeffhandley/update-mcp-11
Aug 7, 2026
Merged

[.NET 11] Update MCP template dependency#68212
jeffhandley merged 1 commit into
dotnet:mainfrom
jeffhandley:jeffhandley/update-mcp-11

Conversation

@jeffhandley

@jeffhandley jeffhandley commented Aug 5, 2026

Copy link
Copy Markdown
Member

Updates the MCP server template's generated ModelContextProtocol and ModelContextProtocol.AspNetCore package references to 2.1.0.

Customer Impact

Aligns new project creations to create MCP 2.x-based applications, enabling support for the 2026-07-28 Model Context Protocol specification.

We also updated .NET 11 (for RC1) with [.NET 11] Update MCP template dependency (dotnet/aspnetcore#68212).

Risk

Low. This has the same effect as creating a project with the prior version and updating the package references. I also verified that the ModelContextProtocol 2.1.0 packages were successfully restored from internal feeds using the aspnetcore-ci-official pipeline.

Validation

  • Packed Microsoft.McpServer.ProjectTemplates.
  • Generated local and remote non-self-contained MCP server templates.
  • Verified generated package references use 2.1.0 and built both generated projects.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: a76594c8-5905-452b-baff-813b278437fd
Copilot AI review requested due to automatic review settings August 5, 2026 04:26
@jeffhandley
jeffhandley requested review from a team and wtgodbe as code owners August 5, 2026 04:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s centralized version property for the ModelContextProtocol packages so the MCP server project templates (and any other consumers using these props) generate projects referencing ModelContextProtocol 2.1.0.

Changes:

  • Bump ModelContextProtocolVersion from 1.2.0 to 2.1.0.
  • Keep ModelContextProtocolAspNetCoreVersion aligned by continuing to derive it from $(ModelContextProtocolVersion).

@jeffhandley
jeffhandley enabled auto-merge (squash) August 7, 2026 00:41
@jeffhandley
jeffhandley merged commit 92f07e2 into dotnet:main Aug 7, 2026
31 checks passed
@jeffhandley
jeffhandley deleted the jeffhandley/update-mcp-11 branch August 7, 2026 01:05
@jeffhandley jeffhandley added this to the 10.0.x milestone Aug 7, 2026
@jeffhandley jeffhandley added the Servicing-consider Shiproom approval is required for the issue label Aug 7, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hi @jeffhandley. Please make sure you've updated the PR description to use the Shiproom Template. Also, make sure this PR is not marked as a draft and is ready-to-merge.

To learn more about how to prepare a servicing PR click here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Servicing-consider Shiproom approval is required for the issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants