Skip to content

Conversation

@MackinnonBuck
Copy link
Member

@MackinnonBuck MackinnonBuck commented Sep 30, 2025

Bumps the MCP template's ModelContextProtocol to version 0.4.0-preview.1.

The template was not affected by any of the recent breaking changes, so this makes the update straightforward. The changes were validated manually.

Fixes #6869

Microsoft Reviewers: Open in CodeFlow

@MackinnonBuck MackinnonBuck requested a review from a team as a code owner September 30, 2025 19:55
Copilot AI review requested due to automatic review settings September 30, 2025 19:55
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 ModelContextProtocol package version from 0.3.0-preview.2 to 0.4.0-preview.1 in the MCP server project template and its associated test snapshots.

  • Updated package version in the template generation configuration
  • Refreshed all test snapshots to reflect the new package version

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/ProjectTemplates/GeneratedContent.targets Updates the template package version property for ModelContextProtocol
test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.net10.verified/mcpserver/mcpserver.csproj Updated test snapshot with new package version
test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.SelfContainedFalse.verified/mcpserver/mcpserver.csproj Updated test snapshot with new package version
test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.Basic.verified/mcpserver/mcpserver.csproj Updated test snapshot with new package version
test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.AotTrue.verified/mcpserver/mcpserver.csproj Updated test snapshot with new package version

@github-actions github-actions bot added the area-ai-templates Microsoft.Extensions.AI.Templates label Sep 30, 2025
@MackinnonBuck MackinnonBuck merged commit 27af1fd into main Sep 30, 2025
7 checks passed
@MackinnonBuck MackinnonBuck deleted the mbuck/update-mcp-dependency branch September 30, 2025 20:58
jeffhandley pushed a commit to jeffhandley/extensions that referenced this pull request Oct 1, 2025
jeffhandley pushed a commit that referenced this pull request Oct 2, 2025
This was referenced Oct 29, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the MCP server template to use ModelContextProtocol 0.4.0

3 participants