From 7ae650b15fbe77aa8dbae5e701f864e5a48dd28d Mon Sep 17 00:00:00 2001 From: David Soria Parra Date: Tue, 2 Dec 2025 18:15:28 +0000 Subject: [PATCH] chore: update protocol version to 2025-11-25 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update LATEST_PROTOCOL_VERSION to the new specification release date and add the previous version (2025-06-18) to SUPPORTED_PROTOCOL_VERSIONS for backward compatibility. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/types.test.ts | 5 +++-- src/types.ts | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/types.test.ts b/src/types.test.ts index 29b1857a9..4570a443a 100644 --- a/src/types.test.ts +++ b/src/types.test.ts @@ -20,15 +20,16 @@ import { describe('Types', () => { test('should have correct latest protocol version', () => { expect(LATEST_PROTOCOL_VERSION).toBeDefined(); - expect(LATEST_PROTOCOL_VERSION).toBe('2025-06-18'); + expect(LATEST_PROTOCOL_VERSION).toBe('2025-11-25'); }); test('should have correct supported protocol versions', () => { expect(SUPPORTED_PROTOCOL_VERSIONS).toBeDefined(); expect(SUPPORTED_PROTOCOL_VERSIONS).toBeInstanceOf(Array); expect(SUPPORTED_PROTOCOL_VERSIONS).toContain(LATEST_PROTOCOL_VERSION); + expect(SUPPORTED_PROTOCOL_VERSIONS).toContain('2025-06-18'); + expect(SUPPORTED_PROTOCOL_VERSIONS).toContain('2025-03-26'); expect(SUPPORTED_PROTOCOL_VERSIONS).toContain('2024-11-05'); expect(SUPPORTED_PROTOCOL_VERSIONS).toContain('2024-10-07'); - expect(SUPPORTED_PROTOCOL_VERSIONS).toContain('2025-03-26'); }); describe('ResourceLink', () => { diff --git a/src/types.ts b/src/types.ts index 7986be29d..923da5447 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,9 +1,9 @@ import * as z from 'zod/v4'; import { AuthInfo } from './server/auth/types.js'; -export const LATEST_PROTOCOL_VERSION = '2025-06-18'; +export const LATEST_PROTOCOL_VERSION = '2025-11-25'; export const DEFAULT_NEGOTIATED_PROTOCOL_VERSION = '2025-03-26'; -export const SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, '2025-03-26', '2024-11-05', '2024-10-07']; +export const SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, '2025-06-18', '2025-03-26', '2024-11-05', '2024-10-07']; export const RELATED_TASK_META_KEY = 'io.modelcontextprotocol/related-task';