chore: update LATEST_PROTOCOL_VERSION to 2025-11-25 (#1715)
Some checks failed
Main branch checks / checks (push) Has been cancelled
Some checks failed
Main branch checks / checks (push) Has been cancelled
This commit is contained in:
parent
d3a184119e
commit
8e02fc17e1
3 changed files with 3 additions and 3 deletions
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue