Skip to content

Update McpServer project template to ModelContextProtocol 1.0.0#7338

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/update-modelcontextprotocol-template
Draft

Update McpServer project template to ModelContextProtocol 1.0.0#7338
Copilot wants to merge 4 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 the first stable release 1.0.0.

Changes

  • eng/packages/ProjectTemplates.props: ModelContextProtocol and ModelContextProtocol.AspNetCore1.0.0
  • Microsoft.McpServer.ProjectTemplates.csproj: Aligns template package version with the now-stable SDK — bumps MajorVersion/MinorVersion to 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.0.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

Co-authored-by: jeffhandley <1031940+jeffhandley@users.noreply.github.com>
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

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 * NO MERGE * Do not merge this PR as long as this label is present.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants