René's URL Explorer Experiment


Title: Multi-version protocol types: complete per-version model packages (candidate 1/3) by maxisbey · Pull Request #2843 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Multi-version protocol types: complete per-version model packages (candidate 1/3) by maxisbey · Pull Request #2843 · modelcontextprotocol/python-sdk

X Title: Multi-version protocol types: complete per-version model packages (candidate 1/3) by maxisbey · Pull Request #2843 · modelcontextprotocol/python-sdk

Description: Draft — not intended to merge as-is. This is one of three candidate implementations of multi-version protocol type support, pushed side by side so the approaches can be compared concretely. The companion drafts are #2844 (per-version fact tables) and #2845 (per-version delta packages); all three ship the same public surface and the same behavioral contract, differing in how the per-version knowledge is represented. Once a direction is chosen, the selected approach would be re-cut as a reviewable PR series. This branch makes the type layer protocol-version-aware: the flat mcp.types surface grows the 2025-11-25 and 2026-07-28 spec additions as one version-superset model set (the "monolith"), and a new boundary — serialize_for(model, version) / parse_as(type, data, version) — emits and parses frames for a specific negotiated version. The mechanism is five committed per-version model packages (src/mcp/types/v2024_11_05 … v2026_07_28), generated from the pinned schemas and hand-validated, that the boundary re-validates against on emission. Everything else under src/mcp/types/ is the shared superset. Marker note: comments in the source reading # Alternative considered: … mark reviewed design decisions at the spot where they bite; the decision register below maps each one to its location. They are review-phase records of considered alternatives, not TODOs, and are resolved before release. Motivation and Context The SDK currently models one protocol revision at a time, but a server or client negotiates a version per session and the 2026-07-28 revision changes wire shapes materially (required resultType, required _meta identity triple on some client requests, removed server→client requests, multi-round-trip (MRTR) input requests, subscriptions, discovery). This candidate explores the "full per-version packages" answer: every revision is a complete, separately readable model set, and version-correct emission falls out of re-validating through the negotiated revision's package. How Has This Been Tested? Full suite: 2,171 passed / 4 skipped / 1 xfailed; coverage 100.00% (branch) with strict-no-cover clean; pyright 0 errors; ruff format + check clean. tests/spec_oracles/: generated per-version schema oracles (pinned to public spec-repo SHA 6d44151…) compared against the SDK types, with a burn-down allowlist whose entries each carry a self-contained reason; green for all five versions. tests/types/: package↔schema parity pins, boundary emission/parse behavior, version registry and method tables, public-surface ratchet (mcp.types.__all__ = 196 names), and round-trip byte-identity checks. Import cost: import mcp / import mcp.types load none of the per-version packages or the boundary (asserted in a subprocess); total import time grows ~+30 ms vs main, of which the version mechanism itself contributes ~+2 ms (the rest is the larger shared model set). Breaking Changes None new on this branch: docs/migration.md gains feature notes only, and LATEST_PROTOCOL_VERSION / DEFAULT_NEGOTIATED_VERSION / SUPPORTED_PROTOCOL_VERSIONS are unchanged (pinned with v1-idiom spot checks in tests/types/test_public_surface.py). Types of changes Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality) Breaking change (fix or feature that would cause existing functionality to change) Documentation update Checklist I have read the MCP Documentation My code follows the repository's style guidelines New and existing tests pass locally I have added appropriate error handling I have added or updated documentation as needed Additional context Reading order src/mcp/types/_types.py (~2,800 lines) — the superset model set: every protocol construct once, all versions' fields, version bounds in docstrings. src/mcp/types/jsonrpc.py — version-independent envelope; the one open question (JSONRPCError.id requiredness) is marked at the field. src/mcp/types/_spec_names.py — the divergence map: SDK↔schema renames, deliberately-not-modeled names, SDK-only names. src/mcp/types/_versions.py — per-version method tables, pure data. src/mcp/types/_wire_base.py — the two wire-model base classes. src/mcp/types/v2025_11_25/__init__.py — read in full next to the 2025-11-25 schema; one file per version, every alias/requiredness explicit. src/mcp/types/v2026_07_28/__init__.py — skim for the newest-revision delta (required resultType, required _meta triple, no server→client requests). src/mcp/types/wire.py — the boundary: shape rules, strip ledger, merge-and-align, parse mandates, member selection. tests/types/ — parity pin (package == schema), boundary/parse/registry facts, public-surface ratchet, import budget. scripts/update_spec_types.py — the generator; regeneration from the pinned schemas is byte-identical for the 2024-11-05 and 2025-03-26 packages (--check); the 2025-06-18, 2025-11-25, and 2026-07-28 packages carry annotated hand deviations that --check reports as drift and the parity test pins: the JSONValue alias widened to all six JSON types, and float arms on the fields where the pinned schema rendering says "integer" for a schema.ts number (ElicitResult.content, NumberSchema bounds/default). Decision register (targets of the in-source # Alternative considered: markers) Decision As built Marker structuredContent CallToolResult.structured_content: Any = None (interim; no sentinel) _types.py:1938 Removed-in-2026-07-28 types stay in flat mcp.types, marked section _types.py:729 Tasks 2025-11-25 task types restored types-only; no extension package _types.py:867 Caching defaults injected on 2026-07-28 emission (ttlMs=0, cacheScope="private") wire.py:311 Extra fields models stay extra="ignore"; single allow carve-out SubscriptionFilter _types.py:1412 Outbound narrowing none beyond the documented strip ledger wire.py:299 Union adapters the four public adapters stay plain smart unions _types.py:2736,2751,2769,2790 Elicitation requestedSchema stays an untyped dict _spec_names.py:88 JSONRPCError.id keeps the v2-base shape (RequestId | None, no default) jsonrpc.py:207 (plain comment at the field, not the # Alternative considered: form) Key behavioral facts (shared across all three candidates) Emission strips ONLY the documented ledger (fields the target version lacks); no schema-purity narrowing of caller values. At 2026-07-28 the boundary injects only protocolVersion and refuses a client request missing caller-supplied clientInfo/clientCapabilities in params._meta — identity is session-owned by design. Tool-content blocks in sampling results emit from 2025-11-25 (that schema admits them); capability gating is session-layer. Reserved io.modelcontextprotocol/* _meta keys pass through verbatim at every released version. serialize_for accepts message bodies and envelope models only; bare fragments raise TypeError. Result-union parses use ranked structural member selection: every arm matching more of the payload's top-level keys than the base result is a candidate, candidates are validated best match first and the first success wins (fallback EmptyResult; rejects surface the best-matching arm's errors). The emission alignment walk is keys-only — re-validation through a version package decides which keys survive; every emitted leaf value comes from the superset dump (a package's numeric kind never rewrites a caller's value). Embedded input-request entries must carry method at 2026-07-28 (rejecting with missing at the entry's own method key; earlier and unknown versions stay lenient); unknown method values classify as invalid params at every version. Null-valued elicitation content entries (constructible for v1.x compatibility, typed by no schema version) pass through verbatim at every version that models elicitation; the boundary withholds them from package re-validation and the alignment walk restores them. Open questions for the maintainer structuredContent interim: plain Any = None ships because the sentinel design (wire-absent vs explicit-null) fails 7 existing tests at this base; the Unset sentinel + its compat carve-outs remains the post-review option. Annotations.last_modified deferred: an existing listing-snapshot test pins the field's absence from the shared model set (the per-version packages model it); landing it plus that one snapshot flip is the post-review option. ServerResult resolution pin: a frame carrying the complete server/discover result key set resolves to DiscoverResult on the raw public adapter (all typed/empty v2-base frames unchanged — twelve pins in tests/types/test_wire_parse.py); reverting via a callable discriminator or arm exclusion remains an option. ElicitResult.content | None value arm: null has no wire form at any schema version; the arm exists for v1.x constructor compatibility. Drop vs keep is an open API decision. Conformance-suite gaps (surfaced per AGENTS.md, to raise on the conformance repo) No conformance-suite scenario currently exists for most 2026-07-28 type features; the in-repo oracle and boundary tests substitute for now. Gaps identified: Generic resultType: "complete" emission on ordinary (non-MRTR) results, incl. the empty-result surface (only MRTR scenarios assert resultType). Superset-union membership / version-gated dispatch+emission as such. ClientCapabilities.extensions / ServerCapabilities.extensions — unasserted on both sides. structuredContent any-JSON-value widening incl. explicit null; inputSchema/outputSchema 2020-12 widening. prompts/list draft pagination/required-params scenario — none; per-method MRTR coverage of prompts/get (vs resources/read) unconfirmed — verify against the conformance repo before counting it. Roots draft behavior: no top-level roots/list on 2026-07-28 (embedded delivery); must not emit notifications/roots/list_changed on draft — none. Required-params/_meta materialization (PaginatedRequest half) — none identifiable. Subscriptions: resourceSubscriptions filter path; extension taskIds; removed-era-method -32601 — three gaps. MRTR-embedded sampling member payloads specifically — none. Tasks: zero scenarios (conformance issues #244/#261 unmerged) — family-wide gap. Known limitations The tasks extension package is not built; the restored 2025-11-25 task types are types-only (never dispatched), and the attach point is marked. Session-layer halves are out of scope and listed in plain words in the comment block after the table re-exports in wire.py: capability-gated emission checks, log-level injection, capability-violation hygiene. Caller-supplied identity at 2026-07-28 (see behavioral facts above) is designed, not a gap in the boundary. Closed-model divergence: the generated packages validate with extra="ignore" where the schemas declare open objects; deliberate, stated in each package docstring; inbound leniency is unaffected (superset parse). scripts/update_spec_types.py regenerates the five packages from the pinned public schema revisions; the three newest packages carry the annotated hand deviations listed in reading-order item 10. AI Disclaimer

Open Graph Description: Draft — not intended to merge as-is. This is one of three candidate implementations of multi-version protocol type support, pushed side by side so the approaches can be compared concretely. The com...

X Description: Draft — not intended to merge as-is. This is one of three candidate implementations of multi-version protocol type support, pushed side by side so the approaches can be compared concretely. The com...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2843

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9b824b94-30a3-37fc-aee1-0e352eebdff3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE830:2965D1:2F752F:415314:6A591FE1
html-safe-nonce63d3f1bcd751da21c43da705d03fcf3c30d0d36e73b190fbd1d7bfcd69a34d69
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODMwOjI5NjVEMToyRjc1MkY6NDE1MzE0OjZBNTkxRkUxIiwidmlzaXRvcl9pZCI6IjMzMjI0ODkxNTQ2NzI1OTkwMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf004a67a1f2224362a76246bb3f020ee533ff7714ac6141a074b96a1a803a4fa
hovercard-subject-tagpull_request:3853697132
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2843/files
twitter:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
og:image:altDraft — not intended to merge as-is. This is one of three candidate implementations of multi-version protocol type support, pushed side by side so the approaches can be compared concretely. The com...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None30abb2b48d3b1b476bbaf01f49ead8ef91062bfd762d3fa28a956f4c99653343
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef2e5b4fd472ea10ac216e358bbd0821a90dae8bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2843/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2843%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2843%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2843/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2843/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2843/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2843/files
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 255 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 302 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
maxisbey/types-per-version-packageshttps://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/types-per-version-packages
Conversation 1 https://github.com/modelcontextprotocol/python-sdk/pull/2843
Commits 1 https://github.com/modelcontextprotocol/python-sdk/pull/2843/commits
Checks 30 https://github.com/modelcontextprotocol/python-sdk/pull/2843/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/2843/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2843/files
Multi-version protocol types: complete per-version model packages (candidate 1/3) https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#top
Show all changes 1 commit https://github.com/modelcontextprotocol/python-sdk/pull/2843/files
212aa4a Add multi-version protocol types: complete per-version model packages maxisbey Jun 12, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2843/commits/212aa4aac288c770622414ad43d56ea74c51de99
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/2843/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2843/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2843/files
migration.md https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
pyproject.toml https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
update_spec_types.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-74fcf34f2af9ffca784ea9b48ab51162b37cdce352f8d3bf62503f2e70ed5287
version.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-cbd997f5b52f8757771f4257216d82d29862715947778ae776ec13385baf9184
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-9f1fb2e597d3bbb6f7b01cff7178a42325dec6460c16dfa74838da9a766efcf2
_spec_names.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-6704a23d14de4e7bbbc6b90bd4222df373affdd2a9a844610d0dcf8dbf18327a
_types.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-727bcd5cda4a440f63005368c3cbc5f6308f40630901166fd456039c52d3363e
_versions.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-15db83bb97f25f9335b931a74e3005b84e877b4eb2fae828977325b6a57166fa
_wire_base.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-47c8c384133afb34984467c87b77c013ad3ae333d623074bb2d13d1ed944f478
jsonrpc.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-bf630a0253b7e8c4d256296014e66e2f71e362ad890892d1bfbf94b3aebe132c
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-a3b4f248ebc57d9cb052939df0551b4443e7f22dba9a47836eb339333a64d064
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-08f5e2ef0d6db0f4895fe0aca9527669cc16ad76d5e2772c3b28af29ddaf6ffd
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-9c88edd293b30498670d5739de43322d95ff678656a926a0d4ef5e6ef7b7d97e
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-664f6745a57d1995c61cadbcace6ad0be0bf6a2b8755f4e976701fd7701d9d9a
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-bc291e2b116af91e569229d4961fcb6f40f8e814c481288cc1f178ff478f7f19
wire.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-a9010304771c1672381f48e5fc22751af9e56e9e9ea4acc67e2832ca9f505ef9
PINNED.json https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-859b54f32f48e92a9b9534c37df54a72a894217821c75e8ece2a54f0791fa91b
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-20dfeb7709f163b628d96500f59fff05f142de2ffba928771d32e06a09486c1c
_base.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-569f7dbc8058c1f7a84162da02e0077cf54c9104997862c7d873991c3731d9bf
_harness.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-bb401dd84aaccdaaedb92a4fea0626502f9aee24a27b964fb4599cace0d31606
burndown_allowlist.json https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-c10583f5f564633a46531f3d9431d8e1ca6cf28c7111904d9c5c7aafb6b7b49c
test_burndown.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-db717043741b5b61991ff18a985427f84751c6cdb7b3e76293c5a9b2c4418037
test_oracles_smoke.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-6408250a0242183cb0a77a6325116699cb31b3b5562a9b6eba0a647dea11bf15
v2024_11_05.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-5b9dd0823cd8c72abe97e239768203a20c91caa5d43ecabb94624b0b7b203d24
v2025_03_26.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-f4deeb356ed3a7289644bfd28afc58b458f90084a117ef3f08bccd630ef36f8f
v2025_06_18.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-1b8832b2a6a0109ad4e79279e407be9ce803829a648ab9746124f5acaaf18d7d
v2025_11_25.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-c708c649f7813277b08315e50f327ca2bf5755558352e75f0f1a693ce816aec8
v2026_07_28.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-9fd729ce86d81d90eba4303453d79011b816c87c7f66999a8fc68ced926e5638
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-d1ef93a3632a79f8046b3af364c8d35204d82beb74fd4d603d965721e04950b1
test_import_budget.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-424c0a9c305d22ce71a930e735eaf409ac8d23cef83da4b90b98a1b44ff58439
test_public_surface.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-3479d3b7e16c393d3e50963e02d04b5cc7d0dff8db3aa0ff6c8265937cb58a56
test_version_model_parity.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-73309623f7cbb3a257f413838ce3718a0be24682cdcdaeb609fab27e7fc41367
test_version_registry.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-ce987ba0af8d31778c7f8746d7fe05a5cdd96e280d2c4b70f0409c7012658393
test_wire_boundary.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-bde1b90d3ee90a4b4c73ba8e89191f8b877924b2a577fb6cce95e1a09195eae4
test_wire_parse.py https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-5056b38dcc3d5c33f14262105cdffb23fe1ba5b73609edf0d85ef41c5efd2a1b
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
View file https://github.com/modelcontextprotocol/python-sdk/blob/212aa4aac288c770622414ad43d56ea74c51de99/docs/migration.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2843/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
pyproject.tomlhttps://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://github.com/modelcontextprotocol/python-sdk/blob/212aa4aac288c770622414ad43d56ea74c51de99/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2843/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2843/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2843/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2843/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.