Skip to content

feat: MCP 11-25#57

Merged
jpmcb merged 1 commit intomainfrom
mcp-11-25
Dec 10, 2025
Merged

feat: MCP 11-25#57
jpmcb merged 1 commit intomainfrom
mcp-11-25

Conversation

@jpmcb
Copy link
Contributor

@jpmcb jpmcb commented Dec 9, 2025

Implements MCP 11-25 types

@jpmcb jpmcb force-pushed the mcp-11-25 branch 2 times, most recently from e8a3156 to fbda39d Compare December 10, 2025 16:19
@jpmcb jpmcb marked this pull request as ready for review December 10, 2025 16:23
Copilot AI review requested due to automatic review settings December 10, 2025 16:23
Copy link

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 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.

Signed-off-by: John McBride <john@zuplo.com>
@jpmcb jpmcb merged commit 647b83a into main Dec 10, 2025
4 checks passed
@jpmcb jpmcb deleted the mcp-11-25 branch December 10, 2025 17:08
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.

2 participants