[release/11.0.1xx-preview5] Add 'mcpserver' project template as bundled template#54404
Merged
jeffhandley merged 1 commit intoMay 22, 2026
Conversation
Co-authored-by: Stephen Halter <halter73@gmail.com>
baronfel
approved these changes
May 21, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Backports the new mcpserver project template so it ships as a bundled template in the 11.0.1xx-preview5 SDK, and updates dotnet-new integration coverage/snapshots to reflect the new template presence.
Changes:
- Bundle
Microsoft.McpServer.ProjectTemplates.11.0as part of the redist template set. - Add an integration test that instantiates MCP server template variants and validates restore/build behavior.
- Update
dotnet new listand completion approval snapshots to include the new MCP template/category.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| test/dotnet-new.IntegrationTests/McpServerTemplateTests.cs | Adds integration coverage for dotnet new mcpserver scenarios (with a suggested adjustment to avoid AOT restore/build overhead). |
| test/dotnet-new.IntegrationTests/Approvals/DotnetNewListTests.BasicTest_WhenListCommandIsUsed.Windows.verified.txt | Updates approval snapshot to include “MCP” category. |
| test/dotnet-new.IntegrationTests/Approvals/DotnetNewListTests.BasicTest_WhenListCommandIsUsed.OSX.verified.txt | Updates approval snapshot to include “MCP” category. |
| test/dotnet-new.IntegrationTests/Approvals/DotnetNewListTests.BasicTest_WhenListCommandIsUsed.Linux.verified.txt | Updates approval snapshot to include “MCP” category. |
| test/dotnet-new.IntegrationTests/Approvals/DotnetNewListTests.BasicTest_WhenLegacyCommandIsUsed_common.Windows.verified.txt | Updates approval snapshot to include “MCP” category. |
| test/dotnet-new.IntegrationTests/Approvals/DotnetNewListTests.BasicTest_WhenLegacyCommandIsUsed_common.OSX.verified.txt | Updates approval snapshot to include “MCP” category. |
| test/dotnet-new.IntegrationTests/Approvals/DotnetNewListTests.BasicTest_WhenLegacyCommandIsUsed_common.Linux.verified.txt | Updates approval snapshot to include “MCP” category. |
| test/dotnet-new.IntegrationTests/Approvals/DotnetNewCompleteTests.CanDoTabCompletion.Windows.verified.txt | Updates completion snapshot to include mcpserver. |
| test/dotnet-new.IntegrationTests/Approvals/DotnetNewCompleteTests.CanDoTabCompletion.OSX.verified.txt | Updates completion snapshot to include mcpserver. |
| test/dotnet-new.IntegrationTests/Approvals/DotnetNewCompleteTests.CanDoTabCompletion.Linux.verified.txt | Updates completion snapshot to include mcpserver. |
| src/Layout/redist/targets/BundledTemplates.targets | Adds the MCP server template pack to the bundled templates list. |
| eng/Version.Details.props | Introduces version properties for Microsoft.McpServer.ProjectTemplates.11.0. |
Open
3 tasks
Member
Author
|
/ba-g Test timeout - known infrastructure issue that surfaces as a build error |
d4a2929
into
dotnet:release/11.0.1xx-preview5
25 of 27 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #54132 from main into release/11.0.1xx-preview5
This template was merged into 11.0.1xx-preview4 via dotnet/dotnet#6361, but we hit delays getting it merged into main due to template snapshot tests and the macOS CI queues. This is a clean cherry-pick from #54132.