René's URL Explorer Experiment


Title: Multi-version protocol types: per-version fact tables (candidate 2/3) by maxisbey · Pull Request #2844 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Multi-version protocol types: per-version fact tables (candidate 2/3) by maxisbey · Pull Request #2844 · modelcontextprotocol/python-sdk

X Title: Multi-version protocol types: per-version fact tables (candidate 2/3) by maxisbey · Pull Request #2844 · 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 #2843 (complete per-version model packages) 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 adds the 2026-07-28 protocol revision to mcp.types as one superset model set plus a version-aware wire boundary (mcp.types.wire.serialize_for / parse_as), keyed strictly by (model type, negotiated version). The mechanism is declarative fact tables: one data module (_version_facts.py) with five per-version blocks of strip/inject/refuse/mandate rows and method sets, applied by one small engine (_shaping.py, 479 lines). Everything version-keyed lives in those two files plus wire.py; the model definitions themselves are version-free. Marker note: comments tagged OD-n / M-n in the source reference the decision register in this description (table below). They are review-phase markers — 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 "facts, not copies" answer: version differences are rows in a data table a reviewer can scan in one sitting, applied by a single engine, with no duplicated model definitions. How Has This Been Tested? Full suite: 2,157 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 plus the extension group. The fact tables themselves are additionally pinned against the per-version oracles (tests/types/test_version_facts_oracle.py). tests/types/: boundary emission/parse pairs, registry + method-table equality, public-surface ratchet (mcp.types.__all__ = 196 names), engine and fact-table cross-checks, union resolution pins (incl. twelve ServerResult pins). Import cost: no boundary/mechanism module is imported by import mcp or import mcp.types (subprocess-asserted; the boundary loads lazily on first use). 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 (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 — the superset payload models, including the 2026-07-28 additions (Discover, subscriptions, input-required results, error data) and the marked removed-method section. src/mcp/types/jsonrpc.py — version-independent JSON-RPC envelope. src/mcp/types/_spec_names.py — deliberate SDK-name vs schema-export-name divergences, with reason codes. src/mcp/types/_version_facts.py — the mechanism: five per-version fact blocks, oldest to newest; row kinds documented on their dataclasses. src/mcp/types/_shaping.py — the engine that applies the rows. src/mcp/types/wire.py — the public boundary: version registry re-export, per-version method tables, serialize_for/parse_as, two exceptions. src/mcp/types/__init__.py — public surface; the boundary loads lazily so import mcp.types does not pay for it. tests/types/ — boundary emission/parse pairs, registry + method-table equality, public-surface ratchet, import budget, engine and fact-table cross-checks, union resolution pins. tests/spec_oracles/ — generated per-version schema oracles + burn-down comparison; regenerated by scripts/update_spec_types.py. docs/migration.md — the tasks-types restoration note and release-notes leniency entries. Decision register (targets of the in-source OD-n / M-n markers) Decision Implemented Marker OD-1 structuredContent interim: structured_content: Any = None, no sentinel (open question below) src/mcp/types/_types.py:1972 OD-2 removed-method types kept in mcp.types, grouped in a marked section src/mcp/types/_types.py:695 OD-3 tasks 2025-11-25 core task types restored; the four tasks/* methods stay out of unions and method tables; extension types not built src/mcp/types/_types.py:1538 OD-5 caching defaults inject ttlMs=0, cacheScope="private" when unset on 2026-07-28 emission src/mcp/types/_version_facts.py:676 OD-9 extra fields single extra="allow" carve-out on SubscriptionFilter src/mcp/types/_types.py:1156 OD-10 conformance recorded conformance-suite gaps (list below) this description OD-11 outbound narrowing skipped — pass-through, no strips beyond the fact rows src/mcp/types/wire.py:96 OD-12 union adapters unchanged plain smart unions; the existing form is the disposition (no marker) src/mcp/types/_types.py:2588 ff. OD-13 elicitation requestedSchema stays an untyped dict; vocabulary not modeled src/mcp/types/_spec_names.py:67 M-2 JSONRPCError.id existing shape kept (RequestId | None, no default) src/mcp/types/jsonrpc.py:207 OD-4 was superseded (no per-version naming beyond version strings); OD-6 (| None = None on newer-version-required fields, boundary injects/validates) is pervasive — neither carries a marker. Key behavioral facts (shared across all three candidates) Nothing is stripped or narrowed on old-version emission beyond the named fact rows; newer optional fields on known types pass through. At 2026-07-28, a request that must carry the _meta identity triple refuses emission when the caller has not supplied clientInfo/clientCapabilities — the boundary injects only protocolVersion, never session identity. The tool-content emission refusal ends at 2025-06-18 — the 2025-11-25 schema admits tool content; capability gating is session-layer. User-set reserved io.modelcontextprotocol/* _meta keys pass through on emission at every version (never stripped). serialize_for accepts only message bodies and envelope models; bare fragments (content blocks, capabilities, params) raise TypeError. Result-bearing unions parse by ranked structural member selection: candidates are ranked by recognized top-level keys and validated best match first; the first success wins, and a body is rejected only when every structurally matching arm rejects it (surfacing the best-ranked arm's errors). This keeps the open-shaped empty-result arm from masking a better-matching member's validation failures, and routes wire-valid sampling-with-tools bodies correctly (the two sampling arms share one top-level key set). Embedded input-request entries must carry method at 2026-07-28 (a method-less entry rejects with a missing error at the entry's own method key; earlier and unknown versions stay lenient); an unknown method value classifies 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 — this mechanism never reaches content values, now pinned by a boundary test. The 12 tasks-capability sub-models are module-private in _types.py (they back the capabilities tasks field types but are not exported). Open questions for the maintainer OD-1 structuredContent interim: the sentinel design (wire-absent vs explicit-null structuredContent) is jointly unsatisfiable with the existing test suite and the types-only scope at this base; the branch ships the plain-None interim. The sentinel plus its carve-out set remains the post-review option. Annotations.lastModified deferred: the 2025-11-25 field trips an existing listing-snapshot test; the burn-down allowlist carries the three findings as deliberate deviations. Landing the field plus the one snapshot flip remains the post-review option. ServerResult resolution pin: appending the all-optional input-required arm flips one adversarial Discover-keyed frame to DiscoverResult; pinned in tests/types/test_unions.py. Reverting via a callable discriminator or arm exclusion remains the post-review 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 2026-07-28 tasks extension's own types are not built; only the 2025-11-25 core task types are restored (typed, never dispatched). Session-layer halves are deferred by design: the sampling.tools and elicitation.url capability gates, the logLevel send condition, and drop-vs-log handling for version-invalid notifications. Caller-supplied identity at 2026-07-28: for the request methods whose _meta must carry the triple (tools/call, prompts/list, server/discover, …), serialize_for injects only protocolVersion; if the caller or session has not pre-seeded clientInfo/clientCapabilities in params._meta, emission refuses rather than synthesizing identity. Oracle regeneration tooling ships in-repo (scripts/update_spec_types.py). 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/2844

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0cab449d-f18f-5bae-689c-40a3da9c8f50
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB778:311DC9:1B18AD1:2462E45:6A59841B
html-safe-nonceb541f54fa278df6e33f7c43331b3c204cee37f2017dc2d6681cf5996afa28d7c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzc4OjMxMURDOToxQjE4QUQxOjI0NjJFNDU6NkE1OTg0MUIiLCJ2aXNpdG9yX2lkIjoiNjUwMzM5NDQxNDI5NTYxNDQ5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5fe39c737bb8d05093d64b1e7b1c6730f519b0c4a80e91512bff498d90b9677d
hovercard-subject-tagpull_request:3853699644
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/2844/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
Nonea540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5
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
release624bb50a7497aa346bef8cc3743af408a9ea10ca
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2844/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2844%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%2F2844%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/2844/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2844/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2844/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2844/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 301 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-version-fact-tableshttps://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/types-version-fact-tables
Conversation 1 https://github.com/modelcontextprotocol/python-sdk/pull/2844
Commits 1 https://github.com/modelcontextprotocol/python-sdk/pull/2844/commits
Checks 30 https://github.com/modelcontextprotocol/python-sdk/pull/2844/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/2844/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2844/files
Multi-version protocol types: per-version fact tables (candidate 2/3) https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#top
Show all changes 1 commit https://github.com/modelcontextprotocol/python-sdk/pull/2844/files
9fc396b Add multi-version protocol types: per-version fact tables maxisbey Jun 12, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2844/commits/9fc396b604675ee91353d0ff179123d7084ee98a
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/2844/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2844/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2844/files
migration.md https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
pyproject.toml https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
update_spec_types.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-74fcf34f2af9ffca784ea9b48ab51162b37cdce352f8d3bf62503f2e70ed5287
version.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-cbd997f5b52f8757771f4257216d82d29862715947778ae776ec13385baf9184
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-9f1fb2e597d3bbb6f7b01cff7178a42325dec6460c16dfa74838da9a766efcf2
_shaping.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-a9c0f293ead14b8eeaad7085df18bec352d38afa6dd39edf4bcac9bc48586317
_spec_names.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-6704a23d14de4e7bbbc6b90bd4222df373affdd2a9a844610d0dcf8dbf18327a
_types.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-727bcd5cda4a440f63005368c3cbc5f6308f40630901166fd456039c52d3363e
_version_facts.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-dc1d526e82c2eef210c5e21df0febfbe53275063f20b3878af58bbbd195e72cf
jsonrpc.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-bf630a0253b7e8c4d256296014e66e2f71e362ad890892d1bfbf94b3aebe132c
wire.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-a9010304771c1672381f48e5fc22751af9e56e9e9ea4acc67e2832ca9f505ef9
PINNED.json https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-859b54f32f48e92a9b9534c37df54a72a894217821c75e8ece2a54f0791fa91b
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-20dfeb7709f163b628d96500f59fff05f142de2ffba928771d32e06a09486c1c
_base.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-569f7dbc8058c1f7a84162da02e0077cf54c9104997862c7d873991c3731d9bf
_harness.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-bb401dd84aaccdaaedb92a4fea0626502f9aee24a27b964fb4599cace0d31606
burndown_allowlist.json https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-c10583f5f564633a46531f3d9431d8e1ca6cf28c7111904d9c5c7aafb6b7b49c
ext_tasks.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-e31f054ed929f453cc95751b5bd773aaa70efafa72b08d85558fe7edee229e6e
test_burndown.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-db717043741b5b61991ff18a985427f84751c6cdb7b3e76293c5a9b2c4418037
test_oracles_smoke.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-6408250a0242183cb0a77a6325116699cb31b3b5562a9b6eba0a647dea11bf15
v2024_11_05.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-5b9dd0823cd8c72abe97e239768203a20c91caa5d43ecabb94624b0b7b203d24
v2025_03_26.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-f4deeb356ed3a7289644bfd28afc58b458f90084a117ef3f08bccd630ef36f8f
v2025_06_18.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-1b8832b2a6a0109ad4e79279e407be9ce803829a648ab9746124f5acaaf18d7d
v2025_11_25.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-c708c649f7813277b08315e50f327ca2bf5755558352e75f0f1a693ce816aec8
v2026_07_28.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-9fd729ce86d81d90eba4303453d79011b816c87c7f66999a8fc68ced926e5638
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-d1ef93a3632a79f8046b3af364c8d35204d82beb74fd4d603d965721e04950b1
test_import_budget.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-424c0a9c305d22ce71a930e735eaf409ac8d23cef83da4b90b98a1b44ff58439
test_public_surface.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-3479d3b7e16c393d3e50963e02d04b5cc7d0dff8db3aa0ff6c8265937cb58a56
test_shaping_engine.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-50d41b5223cc5b468951b2b07cd167efb80d4e416c1cf8b96d17d8b6f0c56501
test_spec_names.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-9d2a5331ba12c184ae3bb93a7cf1a7c478e7f21f6ffe82aa53f6a3dbf3a583f6
test_unions.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-32f4fbdfae5ca70b562b04d2f13ec4585e3774eaf1974763ac54e04fa17e0187
test_version_facts_oracle.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-83f7f45e383e962131bd56598800284a90ec74281db93d3a5e730273abc1412c
test_version_registry.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-ce987ba0af8d31778c7f8746d7fe05a5cdd96e280d2c4b70f0409c7012658393
test_wire_boundary.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-bde1b90d3ee90a4b4c73ba8e89191f8b877924b2a577fb6cce95e1a09195eae4
test_wire_parse.py https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-5056b38dcc3d5c33f14262105cdffb23fe1ba5b73609edf0d85ef41c5efd2a1b
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
View file https://github.com/modelcontextprotocol/python-sdk/blob/9fc396b604675ee91353d0ff179123d7084ee98a/docs/migration.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2844/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
pyproject.tomlhttps://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://github.com/modelcontextprotocol/python-sdk/blob/9fc396b604675ee91353d0ff179123d7084ee98a/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2844/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2844/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2844/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2844/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.