Upgrade MCP server snapshots and template path to SDK 2.2.0 - #620
Upgrade MCP server snapshots and template path to SDK 2.2.0#620jongalloway with Copilot wants to merge 3 commits into
Conversation
Co-authored-by: jongalloway <68539+jongalloway@users.noreply.github.com>
There was a problem hiding this comment.
🟡 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", |
There was a problem hiding this comment.
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", | |||
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Added the same SDK upgrade command to the Visual Studio path in d2536d2.
Co-authored-by: jongalloway <68539+jongalloway@users.noreply.github.com>
Updates the active MCP server snapshots to SDK 2.2.0 while preserving Part 5’s scaffold-first workflow.
Attendee workflow
Pin
Microsoft.McpServer.ProjectTemplates1.2.1.Add the required post-scaffold upgrade:
Server snapshots
ModelContextProtocol2.2.0.Dependency policy