chore: update LATEST_PROTOCOL_VERSION to 2025-11-25 (#1715)
Some checks failed
Main branch checks / checks (push) Has been cancelled

This commit is contained in:
Felix Weinberger 2025-12-02 18:27:27 +00:00 • committed by GitHub
commit 8e02fc17e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
from mcp.types import LATEST_PROTOCOL_VERSION
SUPPORTED_PROTOCOL_VERSIONS: list[str] = ["2024-11-05", "2025-03-26", LATEST_PROTOCOL_VERSION]
SUPPORTED_PROTOCOL_VERSIONS: list[str] = ["2024-11-05", "2025-03-26", "2025-06-18", LATEST_PROTOCOL_VERSION]

View file

@ -24,7 +24,7 @@ for reference.
not separate types in the schema.
"""
LATEST_PROTOCOL_VERSION = "2025-06-18"
LATEST_PROTOCOL_VERSION = "2025-11-25"
"""
The default negotiated version of the Model Context Protocol when no version is specified.

View file

@ -95,7 +95,7 @@ async def test_lifespan_cleanup_executed():
async with ClientSession(read, write) as session:
# Initialize the session
result = await session.initialize()
assert result.protocolVersion in ["2024-11-05", "2025-06-18"]
assert result.protocolVersion in ["2024-11-05", "2025-06-18", "2025-11-25"]
# Verify startup marker was created
assert Path(startup_marker).exists(), "Server startup marker not created"