Skip to content

Update McpServer project template to ModelContextProtocol 1.1.0#7338

Merged
jeffhandley merged 6 commits intomainfrom
copilot/update-modelcontextprotocol-template
Mar 7, 2026
Merged

Update McpServer project template to ModelContextProtocol 1.1.0#7338
jeffhandley merged 6 commits intomainfrom
copilot/update-modelcontextprotocol-template

Conversation

Copy link
Contributor

Copilot AI commented Feb 25, 2026

Bumps the MCP C# SDK references in the Microsoft.McpServer.ProjectTemplates package from 0.7.0-preview.1 to 1.1.0.

Changes

  • eng/packages/ProjectTemplates.props: ModelContextProtocol and ModelContextProtocol.AspNetCore1.1.0
  • Microsoft.McpServer.ProjectTemplates.csproj: Aligns template package version with the SDK — bumps version to 1.1.0, removes PreReleaseVersionLabel/PreReleaseVersionIteration, and promotes Stage from preview to normal

Breaking changes assessment

All breaking changes between 0.7.0-preview.1 and 1.1.0 were reviewed. None affect the APIs used by the templates ([McpServerTool], AddMcpServer(), WithStdioServerTransport(), WithTools<T>(), WithHttpTransport(), MapMcp()). No template source changes are required.

Original prompt

Update the Microsoft.McpServer.ProjectTemplates project template ModelContextProtocol 1.0.0 (that was just releases). If needed, ensure all breaking changes have been compensated; they are noted on the https://github.com/modelcontextprotocol/csharp-sdk/releases page, broken down by release. In order to validate the changes to the template work as expected, the project template integration tests need to be run.

Created from Copilot CLI via the copilot delegate command.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Microsoft Reviewers: Open in CodeFlow

Copilot AI changed the title [WIP] Update ModelContextProtocol project template to version 1.0.0 Update McpServer project template to ModelContextProtocol 1.0.0 Feb 25, 2026
Copilot AI requested a review from jeffhandley February 25, 2026 05:00
@github-actions github-actions bot added the area-ai-templates Microsoft.Extensions.AI.Templates label Feb 25, 2026
@jeffhandley
Copy link
Member

@davidortinau Before we merge this, let's touch base on if there's any reason to not mark this template package as stable (alongside the MCP SDK packages). I'm leaving as draft until we connect.

@jeffhandley jeffhandley added the * NO MERGE * Do not merge this PR as long as this label is present. label Feb 25, 2026
@jeffhandley
Copy link
Member

All end-to-end integration tests passed locally

@jeffhandley jeffhandley removed the * NO MERGE * Do not merge this PR as long as this label is present. label Mar 6, 2026
@jeffhandley jeffhandley marked this pull request as ready for review March 6, 2026 21:55
@jeffhandley jeffhandley requested review from a team as code owners March 6, 2026 21:55
Copilot AI review requested due to automatic review settings March 6, 2026 21:55
@jeffhandley
Copy link
Member

After consulting with stakeholders, we agreed this is ready to go, with these noteworthy aspects:

  • Marking the package as 1.0.0 stable
  • Keeping stdio as the default
  • Shipping the package out of this repository for this release, and then moving the template to be included in the .NET SDK

Copy link
Contributor

Copilot AI left a comment

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 MCP Server project template package to consume the stable ModelContextProtocol (MCP C# SDK) 1.0.0 release and aligns the template package’s own versioning/staging to match the SDK’s stabilization.

Changes:

  • Bump ModelContextProtocol and ModelContextProtocol.AspNetCore template dependency versions to 1.0.0.
  • Promote Microsoft.McpServer.ProjectTemplates from preview to normal stage and align its version prefix to 1.0.0 (removing prerelease properties).
  • Update the template package’s staging metadata thresholds to satisfy Stage=normal requirements.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/ProjectTemplates/Microsoft.McpServer.ProjectTemplates/Microsoft.McpServer.ProjectTemplates.csproj Promotes package stage to normal, aligns version prefix to 1.0.0, and updates staging metadata values.
eng/packages/ProjectTemplates.props Bumps MCP SDK package versions used during template content generation to 1.0.0.

@jeffhandley
Copy link
Member

@copilot The ModelContextProtocol packages were just updated to v1.1.0. Update this PR to use that version both for the package references as well as the project template package's own version.

Copy link
Contributor Author

Copilot AI commented Mar 6, 2026

@copilot The ModelContextProtocol packages were just updated to v1.1.0. Update this PR to use that version both for the package references as well as the project template package's own version.

Updated both the package references (ModelContextProtocol and ModelContextProtocol.AspNetCore) and the template package's own version to 1.1.0 in commit ee6a934.

Copilot AI changed the title Update McpServer project template to ModelContextProtocol 1.0.0 Update McpServer project template to ModelContextProtocol 1.1.0 Mar 6, 2026
Copilot AI requested a review from jeffhandley March 6, 2026 22:55
@jeffhandley jeffhandley merged commit 5cee11d into main Mar 7, 2026
6 checks passed
@jeffhandley jeffhandley deleted the copilot/update-modelcontextprotocol-template branch March 7, 2026 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-ai-templates Microsoft.Extensions.AI.Templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants