Skip to content

Upgrade MCP server snapshots and template path to SDK 2.2.0 - #620

Open
jongalloway with Copilot wants to merge 3 commits into
mainfrom
copilot/upgrade-mcp-server-snapshots
Open

Upgrade MCP server snapshots and template path to SDK 2.2.0#620
jongalloway with Copilot wants to merge 3 commits into
mainfrom
copilot/upgrade-mcp-server-snapshots

Conversation

Copilot AI commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Updates the active MCP server snapshots to SDK 2.2.0 while preserving Part 5’s scaffold-first workflow.

  • Attendee workflow

    • Pin Microsoft.McpServer.ProjectTemplates 1.2.1.

    • Add the required post-scaffold upgrade:

      dotnet add package ModelContextProtocol --version 2.2.0
  • Server snapshots

    • Upgrade Parts 5 and 6 to ModelContextProtocol 2.2.0.
    • Reconcile both package manifests with the template’s current registry schema and stdio transport metadata.
  • Dependency policy

    • Record the coordinated template/SDK baseline.
    • Keep registry schema updates independent of protocol package versions.

Co-authored-by: jongalloway <68539+jongalloway@users.noreply.github.com>
Copilot AI changed the title [WIP] Upgrade MCP server snapshots and template path to SDK 2.2.0 Upgrade MCP server snapshots and template path to SDK 2.2.0 Sep 9, 2026
Copilot AI requested a review from jongalloway September 9, 2026 03:30
@jongalloway
jongalloway marked this pull request as ready for review September 9, 2026 03:31
@jongalloway
jongalloway requested a balanced review from Copilot September 9, 2026 03:31

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.

🟡 Changes recommended

Attendee workflow and package metadata inconsistencies currently prevent a reproducible, publishable snapshot.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Upgrades Parts 5–6 to MCP SDK 2.2.0 while preserving the pinned template workflow.

Changes:

  • Pins template 1.2.1 and adds the SDK upgrade step.
  • Updates both server snapshots and registry manifests.
  • Documents the coordinated dependency baseline.

Disposition: repair

Dependency set Classification
Template 1.2.1 and MCP SDK 1.4.1→2.2.0 Coordinated template baseline; stable major upgrade

Findings: Part 7 retains obsolete manifest instructions, Part 6 has mismatched package identifiers, and the Visual Studio workflow omits the SDK upgrade.

Validation: Manifest parsing and identifier comparison completed; restore, build, vulnerability, and runtime checks were unavailable.

Required action: Resolve the three comments, then run the issue’s validation commands.

File summaries
File Description
Part 05 - MCP Server Basics/README.md Pins the template and documents the SDK upgrade.
Part 05 - MCP Server Basics/MyMcpServer/MyMcpServer.csproj Upgrades the MCP SDK.
Part 05 - MCP Server Basics/MyMcpServer/.mcp/server.json Adopts current registry metadata.
Part 06 - Enhanced MCP Server/ContosoOrdersMcpServer/ContosoOrdersMcpServer.csproj Upgrades the MCP SDK.
Part 06 - Enhanced MCP Server/ContosoOrdersMcpServer/.mcp/server.json Updates registry and transport metadata.
docs/instructor/DEPENDENCY_POLICY.md Records the coordinated baseline.
Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 3
  • Review effort level: Balanced

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

"registry_name": "nuget",
"name": "ContosoOrdersMcpServer",
"registryType": "nuget",
"identifier": "ContosoOrdersMcpServer",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Aligned the project PackageId with the manifest identifier in d2536d2.

@@ -1,21 +1,22 @@
{
"$schema": "https://modelcontextprotocol.io/schemas/draft/2025-07-09/server.json",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated the Part 7 example to the current schema and field structure in d2536d2.

> If **MCP Server** does not appear in the **Create a new project** dialog,
> install the template from a terminal with
> `dotnet new install Microsoft.McpServer.ProjectTemplates`, then restart Visual
> `dotnet new install Microsoft.McpServer.ProjectTemplates@1.2.1`, then restart Visual

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added the same SDK upgrade command to the Visual Studio path in d2536d2.

Co-authored-by: jongalloway <68539+jongalloway@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade MCP server snapshots and template path to SDK 2.2.0

3 participants