Conversation
e8a3156 to
fbda39d
Compare
There was a problem hiding this comment.
Pull request overview
This PR implements support for MCP (Model Context Protocol) version 2025-11-25, adding new types and schemas while maintaining backward compatibility with previous versions.
- Updates the latest protocol version to 2025-11-25
- Adds comprehensive type definitions and schema files for the new protocol version
- Updates all import paths throughout the codebase to use the new version
- Maintains backward compatibility by preserving support for version 2025-06-18
Reviewed changes
Copilot reviewed 34 out of 47 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/mcp/versions.ts | Updates LATEST_PROTOCOL_VERSION to "2025-11-25" and adds PROTOCOL_VERSION_2025_06_18 constant |
| src/mcp/20251125/types.ts | New file defining all TypeScript types for the 2025-11-25 protocol version |
| src/mcp/20251125/schemas/*.ts | New schema files implementing validation for all protocol components (tools, tasks, resources, prompts, sampling, elicitation, etc.) |
| src/server/index.ts | Updates imports and adds PROTOCOL_VERSION_2025_06_18 to the version switch statement for backward compatibility |
| src/server/initialization.test.ts | Updates imports and test expectations to include the new protocol version |
| src/client/index.ts | Updates imports to use new version and removes default experimental capabilities object |
| src/tools/types.ts, src/server/types.ts, src/resources/types.ts, src/prompts/*.ts | Updates import paths from 20250618 to 20251125 |
| package.json | Adds export entry for the new 20251125 types and updates default export |
| examples/**/package-lock.json | Updates package references and standardizes package names across examples |
Files not reviewed (13)
- examples/clients/ping/package-lock.json: Language not supported
- examples/clients/tools-call/package-lock.json: Language not supported
- examples/clients/tools-list/package-lock.json: Language not supported
- examples/sdk/use-spec-types/package-lock.json: Language not supported
- examples/servers/ajv-tools/package-lock.json: Language not supported
- examples/servers/apps-sdk/package-lock.json: Language not supported
- examples/servers/calculator/package-lock.json: Language not supported
- examples/servers/output-schema-calculator/package-lock.json: Language not supported
- examples/servers/ping-server/package-lock.json: Language not supported
- examples/servers/prompts/package-lock.json: Language not supported
- examples/servers/resources/package-lock.json: Language not supported
- examples/servers/structured-content/package-lock.json: Language not supported
- examples/servers/zod-tools/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
franz-zuplo
approved these changes
Dec 10, 2025
Signed-off-by: John McBride <john@zuplo.com>
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.
Implements MCP 11-25 types