Title: Backwards compatibility & version negotiation · Issue #2892 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: Backwards compatibility & version negotiation · Issue #2892 · modelcontextprotocol/python-sdk
X Title: Backwards compatibility & version negotiation · Issue #2892 · modelcontextprotocol/python-sdk
Description: Tracks: #2803 Make 2026-07-28 a real version the SDK can speak alongside every prior one: per-instance version knobs, the era classifier, and per-request _meta validation on the server. This is where the stateless server-side obligations...
Open Graph Description: Tracks: #2803 Make 2026-07-28 a real version the SDK can speak alongside every prior one: per-instance version knobs, the era classifier, and per-request _meta validation on the server. This is whe...
X Description: Tracks: #2803 Make 2026-07-28 a real version the SDK can speak alongside every prior one: per-instance version knobs, the era classifier, and per-request _meta validation on the server. This is whe...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/2892
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Backwards compatibility \u0026 version negotiation","articleBody":"Tracks: #2803\n\nMake 2026-07-28 a real version the SDK can speak alongside every prior one: per-instance version knobs, the era classifier, and per-request `_meta` validation on the server. This is where the stateless server-side obligations land.\n\n## What's in it\n\n- Per-instance \"what versions do I serve/speak\" knobs (server + client); add 2026-07-28 to the negotiable set.\n- Era classifier + dispatch: server reads the `_meta` envelope (version/clientInfo/capabilities), validates it, emits the unsupported-version / missing-capability errors with typed data, and skips the legacy init gate for modern traffic.\n- Era-gate everything removed from core for modern peers: `ping`, `logging/setLevel`, `roots/list_changed`, the tasks surface, the URL-elicitation-required error.\n- `resultType` stamped on every modern result (the strip-for-legacy half is already in #2849).\n\n## Conformance\n\n- (no scenario passes on this alone — it's the foundation the others stand on)\n- Together with _New HTTP serving path (modern + dual-era)_, _Capabilities API + server/discover handler_, _subscriptions/listen_, _Context object (layered, per-request)_: `server-stateless`\n- Together with #2894: `request-metadata`\n\n## Dependencies\n\n- Depends on: none\n\n## References\n\n- [Versioning](https://modelcontextprotocol.io/specification/draft/basic/versioning)\n- [SEP-2575](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2575)\n- [SEP-2567](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2567)\n- [sep-2575.yaml](https://github.com/modelcontextprotocol/conformance/blob/main/src/seps/sep-2575.yaml)\n","author":{"url":"https://github.com/maxisbey","@type":"Person","name":"maxisbey"},"datePublished":"2026-06-17T11:11:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2892/python-sdk/issues/2892"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bc81d0a8-d6b1-9fa0-d01b-f02eb662b6ee |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90BA:ACCAF:2D17AC:3DD1ED:6A591EAB |
| html-safe-nonce | cce0c056af1317e5ae0243ad3fa1c94adfd957cffe5b6a4139b5f59ea76ffefb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEJBOkFDQ0FGOjJEMTdBQzozREQxRUQ6NkE1OTFFQUIiLCJ2aXNpdG9yX2lkIjoiNjkxOTc2NzU5NjQ0NDc1MzU3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 045075934315036f67dc330de84c96499350d9d7352c35f186ad11980262671e |
| hovercard-subject-tag | issue:4682672789 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelcontextprotocol/python-sdk/2892/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eac58ce61a32dc36e71c3c0e99795f2cce7a9e291d4241ec7ce8d5b425ad1168/modelcontextprotocol/python-sdk/issues/2892 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eac58ce61a32dc36e71c3c0e99795f2cce7a9e291d4241ec7ce8d5b425ad1168/modelcontextprotocol/python-sdk/issues/2892 |
| og:image:alt | Tracks: #2803 Make 2026-07-28 a real version the SDK can speak alongside every prior one: per-instance version knobs, the era classifier, and per-request _meta validation on the server. This is whe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxisbey |
| hostname | github.com |
| expected-hostname | github.com |
| None | de7b53b927e5bfbf02672a5b2960bf82d1608d91c6d7888039c826ebf8d4ca76 |
| turbo-cache-control | no-preview |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 020f8e5d3a42ae1a22d3f297198ccfca124edd1d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width