Skip to content

adopt to latest mcp spec#268898

Merged
sandy081 merged 1 commit intomainfrom
sandy081/working-woodpecker
Sep 29, 2025
Merged

adopt to latest mcp spec#268898
sandy081 merged 1 commit intomainfrom
sandy081/working-woodpecker

Conversation

@sandy081
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings September 29, 2025 16:28
@sandy081 sandy081 enabled auto-merge (squash) September 29, 2025 16:28
@sandy081 sandy081 self-assigned this Sep 29, 2025
Copy link
Copy Markdown
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

This PR adds support for the latest MCP (Model Context Protocol) specification version 2025-16-09 to the VS Code MCP gallery service. The changes include defining new schema types and updating the serializer registration to handle the newest spec version.

Key Changes

  • Add new namespace McpServerSchemaVersion_2025_16_09 with updated type definitions
  • Register the new serializer for version 2025-16-09 in the gallery service
  • Minor reordering of the status field in the existing IRawGalleryMcpServer interface

Comment on lines +938 to +940
namespace McpServerSchemaVersion_2025_16_09 {

export const VERSION = '2025-16-09';
Copy link

Copilot AI Sep 29, 2025

Choose a reason for hiding this comment

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

The date format '2025-16-09' is invalid as there is no 16th month. This should likely be '2025-09-16' (September 16th) or follow the intended date format for the MCP specification.

Suggested change
namespace McpServerSchemaVersion_2025_16_09 {
export const VERSION = '2025-16-09';
namespace McpServerSchemaVersion_2025_09_16 {
export const VERSION = '2025-09-16';

Copilot uses AI. Check for mistakes.
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.

Agreed

Comment on lines +938 to +940
namespace McpServerSchemaVersion_2025_16_09 {

export const VERSION = '2025-16-09';
Copy link

Copilot AI Sep 29, 2025

Choose a reason for hiding this comment

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

This schema URL will be invalid due to the malformed date in VERSION. The URL will contain '2025-16-09' which doesn't represent a valid date, potentially causing the schema reference to fail.

Suggested change
namespace McpServerSchemaVersion_2025_16_09 {
export const VERSION = '2025-16-09';
namespace McpServerSchemaVersion_2025_09_16 {
export const VERSION = '2025-09-16';

Copilot uses AI. Check for mistakes.
@vs-code-engineering vs-code-engineering bot added this to the September 2025 milestone Sep 29, 2025
@sandy081 sandy081 merged commit d713509 into main Sep 29, 2025
28 checks passed
@sandy081 sandy081 deleted the sandy081/working-woodpecker branch September 29, 2025 16:51
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Nov 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants