pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/modelcontextprotocol/python-sdk/pull/2652

1c292f95f2fb0.css" /> feat: add protocol version override support for client session initialization by STiFLeR7 · Pull Request #2652 · modelcontextprotocol/python-sdk · GitHub
Skip to content

feat: add protocol version override support for client session initialization#2652

Open
STiFLeR7 wants to merge 1 commit into
modelcontextprotocol:mainfrom
STiFLeR7:feat/client-protocol-version-override
Open

feat: add protocol version override support for client session initialization#2652
STiFLeR7 wants to merge 1 commit into
modelcontextprotocol:mainfrom
STiFLeR7:feat/client-protocol-version-override

Conversation

@STiFLeR7
Copy link
Copy Markdown

Description

This PR adds support for client session protocol version overrides during initialization, enabling clients to negotiate older or custom protocol versions (e.g. 2024-11-05) with MCP servers.

Changes

  • Updated ClientSession.initialize(...) to accept a custom protocol_version.
  • Added protocol_version field to the high-level Client dataclass.
  • Added protocol_version field to ClientSessionParameters in ClientSessionGroup.
  • Implemented corresponding unit and integration tests.

@STiFLeR7 STiFLeR7 force-pushed the feat/client-protocol-version-override branch from c9cc22a to bc76e74 Compare May 22, 2026 04:56
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.

1 participant

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy