René's URL Explorer Experiment


Title: test: interaction-model end-to-end suite with a requirements manifest by maxisbey · Pull Request #2691 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: test: interaction-model end-to-end suite with a requirements manifest by maxisbey · Pull Request #2691 · modelcontextprotocol/python-sdk

X Title: test: interaction-model end-to-end suite with a requirements manifest by maxisbey · Pull Request #2691 · modelcontextprotocol/python-sdk

Description: Adds tests/interaction/: an end-to-end suite that enumerates the MCP interaction model — one test per behaviour, asserting full client↔server round trips through the public API only — backed by a requirements manifest that maps every behaviour the SDK must satisfy to the spec section that mandates it, the tests that prove it, and the gaps that remain. Where to look tests/interaction/README.md — the conventions, the manifest model, the divergence lifecycle, and the transport matrix. Read this first. tests/interaction/_requirements.py — the manifest itself: 360 entries, each with a spec link, the required behaviour, and (where the SDK falls short) a structured divergence or deferred note. The 50 divergences are the SDK's spec-compliance gap report; the 61 deferred entries are the feature backlog. src/ — almost entirely coverage-pragma adjustments (removals where the new tests now reach the line, narrowings where a removed block-level pragma exposed a still-uncovered branch). The one behaviour change is in src/mcp/server/sse.py: connect_sse now closes sse_stream_reader after EventSourceResponse returns, fixing a resource leak the in-process SSE tests surfaced. tests/interaction/transports/_bridge.py — the in-process streaming ASGI transport that lets the suite drive the real streamable-HTTP and SSE apps with no sockets. tests/interaction/_connect.py — the connection factories and the connect fixture that runs every transport-agnostic test over in-memory, streamable HTTP, and SSE. tests/interaction/auth/_provider.py / _harness.py — the in-process authorization-server provider and OAuth harness. Motivation and Context Two purposes: A parity bar for internal rewrites of the send/receive path. The suite pins the SDK's current observable behaviour exactly, so before/after runs against the same suite prove the rewrite equivalent. Tests never xfail; where current behaviour falls short of the spec, the test pins the divergent output and the gap is recorded as data on the manifest entry. A complete, queryable ledger of the SDK's behaviour surface against the 2025-11-25 spec. The manifest tracks the full requirements surface — including behaviours the SDK has not implemented, each with a precise reason and a slot for a tracking issue. The ID vocabulary is aligned with the TypeScript SDK's end-to-end requirements suite so coverage and gaps can be compared across the two SDKs entry by entry. What's covered 529 tests across 360 tracked requirements: Every protocol feature: tools, resources, prompts, completion, logging, sampling, elicitation, roots, ping, progress, cancellation, pagination, timeouts, _meta, lifecycle and version negotiation, list-changed notifications, wire-level invariants. Transports: every transport-agnostic test runs over the in-memory transport, the real streamable HTTP app, and the legacy SSE transport — all in-process via the streaming ASGI bridge — plus a single SDK-client↔SDK-server stdio subprocess test. Transport-specific tests cover session management, resumability and Last-Event-ID replay, the GET-stream routing rules, stateless mode, origin validation, and stdio framing. OAuth: the full authorization-code flow against an in-process authorization server (discovery, PRM, DCR, PKCE, state, the resource parameter), the bearer middleware error plane, transparent refresh, step-up on 403, CIMD, and the M2M extension providers. Composed flows: resource-link follow-through, multi-step elicitation chains, terminate-then-reconnect, dual-transport servers. How Has This Been Tested? uv run --frozen pytest tests/interaction/ — fully in-process and event-driven (no sockets, threads, or sleeps, with one subprocess for stdio); runs in ~10 s. 100% line and branch coverage including the test code itself. Breaking Changes None — tests and test-support only. Types of changes Test/infrastructure addition 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 (tests/interaction/README.md) Additional context Known SDK gaps surfaced while writing the suite will be filed as issues separately and linked from the manifest entries' issue fields. AI Disclaimer

Open Graph Description: Adds tests/interaction/: an end-to-end suite that enumerates the MCP interaction model — one test per behaviour, asserting full client↔server round trips through the public API only — backed by a r...

X Description: Adds tests/interaction/: an end-to-end suite that enumerates the MCP interaction model — one test per behaviour, asserting full client↔server round trips through the public API only — backed by a r...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:685a866f-704d-e815-4342-9fec0a38db21
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idACFC:2A399C:8A5F34:B9DC47:6A5A85AF
html-safe-noncef91f76204c23558ba45558c74a1a95d55f94ccde4291c95092dbddc98057bf95
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0ZDOjJBMzk5Qzo4QTVGMzQ6QjlEQzQ3OjZBNUE4NUFGIiwidmlzaXRvcl9pZCI6IjgwMDg1MzA0MzI5MDc0NDU2NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca8bf11cbd271a4502b2ef25ec1800c778cd39033a7b074e3493d8121aacd4012
hovercard-subject-tagpull_request:3749042413
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/2691/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:altAdds tests/interaction/: an end-to-end suite that enumerates the MCP interaction model — one test per behaviour, asserting full client↔server round trips through the public API only — backed by a r...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None922bdba685ea48400234d557977f0e32d9adbae6f5125725b4f48cacc6801106
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
release7c8a44665d760d73ead7e85d8f88b299152aa681
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2691%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%2F2691%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/2691/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2691/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 256 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 303 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/interaction-test-suitehttps://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/interaction-test-suite
Conversation 8 https://github.com/modelcontextprotocol/python-sdk/pull/2691
Commits 36 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits
Checks 31 https://github.com/modelcontextprotocol/python-sdk/pull/2691/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/2691/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files
test: interaction-model end-to-end suite with a requirements manifest https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#top
Show all changes 36 commits https://github.com/modelcontextprotocol/python-sdk/pull/2691/files
b04d7e0 test: add interaction-model e2e suite with requirements manifest maxisbey May 23, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/b04d7e024054a490d9cbfcb24b581125baaa67fd
5710662 test: add lifecycle, completion, logging, and MCPServer feature inter… maxisbey May 23, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/571066285a89cd944781cf491eab3cfd4466dc3e
5216997 test: add server-initiated request and notification interaction tests maxisbey May 23, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/521699705edef6733ea87f55632bf9a0d9a952a2
d4a3558 test: add URL elicitation, subscriptions, pagination, timeouts, and m… maxisbey May 23, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/d4a35585b9971a505ed91f9dc07039ecb7b6b7a7
d6c9b63 test: add lifecycle edge cases, concurrency, and behaviour-gap intera… maxisbey May 23, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/d6c9b63c8c44bb815cca39b816decbe1137e31f4
a358aa4 test: add wire-level invariant tests via a recording transport maxisbey May 23, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/a358aa439de6996325b5d16f3c83e658970b6fb4
d739975 test: add in-process streamable HTTP transport smoke tests maxisbey May 23, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/d739975cf3936fb92c590b5eb6a9ba4f1589ad6f
2f0da6e test: document the interaction suite's conventions and manifest workflow maxisbey May 23, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/2f0da6e223b881a69682d1b9123077f91e2d3b3c
cce06b2 test: correct spec anchors and record further divergences in the requ… maxisbey May 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/cce06b2f68a89e1787834d16f12645873742ecf7
7709b98 test: add output schema, sampling constraint, roots error, and versio… maxisbey May 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/7709b98816366b0ac2f34b7c7e13e6aa7f8d9933
bdfded0 test: align requirement IDs, add transport applicability, and enforce… maxisbey May 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/bdfded0ce99ce177c1fa936fa5b1c53899939189
d07f01f test: track the full requirements surface in the interaction manifest maxisbey May 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/d07f01f378dbaab89df6cc3cbf47fd0781a1dba1
c1eab9d test: add an in-process streaming ASGI transport and cover server-ini… maxisbey May 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/c1eab9d9b634a90756966c0984002090ed49777b
d64f525 test: run the interaction suite over both in-memory and streamable HT… maxisbey May 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/d64f5259df771089ccc17074d002e133a1a687df
8353a9b test: run the interaction suite over the legacy SSE transport in-process maxisbey May 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/8353a9bdc260af2742c17fb46ba8c0ebbedae4ff
584e098 test: add an SDK-client to SDK-server stdio end-to-end interaction test maxisbey May 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/584e0989085d08df6691e55e443386f878b19dd8
538136a test: add streamable HTTP hosting, resumability, and client transport… maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/538136a5c6bb1ce46e1995b9fa1c70a3cd0ec987
c13d6ae test: cover protocol/lifecycle gap requirements and refine the diverg… maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/c13d6ae121391031cd9e1d8150d9f01e1ea31f77
01f6a63 test: cover sampling, client output-schema, and mcpserver gap require… maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/01f6a636fc70ed5ac643c2f4928326e3476223fc
1e0d4f6 test: cover server-feature, pagination, elicitation, and mcpserver ga… maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/1e0d4f65efee131b4954341545daea6afc26ec89
4a7d563 test: cover composed flow scenarios and stdio framing requirements maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/4a7d563690c1c5d55cd490632ae558a7a3b5b942
9fb50a1 test: add end-to-end OAuth authorization tests with an in-process AS/… maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/9fb50a1d6058c8127ba5f26fdfb0ad846ed1b606
cec4a2d test: tighten remaining deferral reasons to reflect SDK feature gaps maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/cec4a2d895caf6984d0c910dc3b29e53981e9960
0157444 docs: update interaction suite README for transports, auth, and decor… maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/0157444277a4ea2a9b8e41b50a3b4cd618a4691d
e0e8e57 test: fix interaction suite for 3.10/3.11/3.14 and lowest-direct CI legs maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/e0e8e57ec41f788c1d2b51cc91f85f11c1a9ba97
9f2b105 test: close leaked SSE receive streams instead of gc-collecting them maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/9f2b105d635af6d507279505f5da067cc5e62f9b
7a026f2 test: correct manifest divergence notes and route in-handler notifica… maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/7a026f282045bbaab02b9f9c5b3d4279fa3aa9b1
171a01f test: mark replay_sender's stream-id check no-branch for 3.10 coverage maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/171a01f47c1128247d408c5c498463385fd9cee7
05a41e1 test: tighten manifest wording and assertion conventions from review … maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/05a41e1fc31772d4fb7d3ca4f6c899de7b147b16
ca0ba11 test: declare capabilities the notification tests rely on maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/ca0ba11ba2bf440c4e4fb33e7156970a92a38bac
2d62124 test: prove json-response Content-Type and explicit resumption-token … maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/2d621242e49de38e8a6c39a4575de50e5122848f
5e129bf test: cancel only the abandoned call so 3.11/3.14 trace the resumptio… maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/5e129bf58bcc65a4b807050d9fca6e428b28ce86
2ee59b7 test: restructure resumption test so 3.11 traces every line maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/2ee59b7b88e16c1bb3b1c13f7e50865fadc5f165
93cc828 test: mark the resumption-token test's post-exit line lax-no-cover fo… maxisbey May 27, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/93cc828074b8da7a46ab29bcbd43a47bd905383b
ba22c4a tests: align four interaction-manifest entries with the cross-SDK can… maxisbey May 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/ba22c4a2aa64006349713b87810d619c5793d6a2
56f96a9 Merge branch 'main' into maxisbey/interaction-test-suite felixweinberger May 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2691/commits/56f96a96427f85248361e04525482a5cb61f0881
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/2691/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files
pyproject.toml https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
oauth2.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
client.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-34e945ebc2fea8a427b8d0c45ccd28eb4e4cceb33c82048bd7998e6bb2f754f3
session.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
authorize.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-29f49c82612bbc9e8070a2be90b36aa33ca72f1ddae66f15f261bfcbb1a9a85d
bearer_auth.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-0b11aaab79fc19c511b87711ce27207efba24fbd0226bea59af663715ba0f0ec
server.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
context.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
base.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
server.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
session.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c
sse.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
streamable_http_manager.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af
transport_security.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-c17c97ac87513551ff71eab97a2b040af12707f3abd1970b3d01a999cce9dce2
auth.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-01350058961f3196e3373d707e2178962377dc9a85f481ade94e8f05e4701c8d
session.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
README.md https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-112d0208d481546644215b9de655e51c63d09dcb845cca6ca95d030ad007d443
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-0091fc064da39d9b890a610819671d3691106687d4acb2d3bace8a80dd463c5a
_connect.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-6ed9301844e916542b4f858e556d9e255de8891db09e51b737f5dd1238c50b9d
_helpers.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-c8a8ff425b6a85c43aec1841627f4dfe5fbd10e11ae63c63443e999a000a0ca2
_requirements.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-c12ce54cbf13a11daa3f93343e5df8c89ca2b25d0f20f00b5408a2402a223228
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-2d21fb42a91e06c623b876c222eb6844c3d6ff7dea73fa7e934d1299247e68c3
_harness.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-4ac9813efeab1673bfd09096e1374c2d00a185f7948b812eefeb565db6c23247
_provider.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-035114ed068ee8041a853e4fdb196c4093d0f72f9aa188b86f619673b08c099d
test_as_handlers.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-276fddce310f4eebd30cd9e80e00a793954284aa79132c556f1f4992c14fb85a
test_authorize_token.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-e2f26e5f968d65f2a18a0a2f1b07786581e66b85ba40b1e0626ac19ee4cf6dd4
test_bearer.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-39fa737f86bf4beb1870f6befa727071547fb7bd57257244223688eb618bd79f
test_discovery.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-469d07df0d8e675ae3e626c2293e9fdc39917db8ca8e1f04ca02c17339c6e6f6
test_flow.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-2a572c9bff06790dc0655966553e6d8cc41877f4dacaf5f561bb04bf0f91ad61
test_lifecycle.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-d756478b61108e8553f87789d8a37a2cf6eac3760a38eeb6caf10d51256d8839
conftest.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b61a049ecf6fc6396e71d1810e6a19663ca307f1e8cfbd1783ae95496d327863
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-2ce093942a8f7f2b1f1da0ef0b5625b594dae86afe76b51892799f1280ba64ab
test_cancellation.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-bbb272049658e36f86bd66e16deef2e8ac8f7f90bb4bd89aa0f025bf1db48fee
test_completion.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-bf0c284b273d3bb39c7ad04eeecc944fe65dcad178203eaa686d4d295803f5b2
test_elicitation.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-5585defd557eb80768153a7b77139020888710d033099a70f574721eea73cb53
test_flows.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-c8703562e141bdb981bfa8f5a0e3dd92a9a881b7f60d5bde5c269e53e5f74331
test_initialize.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-019874eb5b0b14b2e3447be2be76b480e12f77f71af8e1be534bec187e0e0852
test_list_changed.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-2fe538363e99667f2664bc8e0b69ed5761cd08a704ecc29674e775ab4732910b
test_logging.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-3192d40691eceb9afd35995b61b0eecab1ac2deab780167455817137665073dd
test_meta.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-98c7d293f2ebacbecead35b31a9bb0901d21e0e7baf3ac515b8fa8b415f4c6fc
test_pagination.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-913a6d6fb52d636429259085c589c6865b0857e58202d34fac1339bf450285f6
test_ping.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-15c2ed4498804ea5d1dfa7d35b59f22cc2f3e470fb38bda72a657d9cb68e893d
test_progress.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-adbb27a971d4f833b1e7bcadb8054ba7fda245e02e6e49b0aacbeaec620e205a
test_prompts.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b5d6f2f0674e73ad377cfbfef36ba08265ff9ccc8d35148e892719c81eefd9dc
test_resources.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b72ae88a1de4fa5bbd3e571601e51bc56f008819d8a9438ad9c4fc7abae56ecd
test_roots.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-4144b5ee9d2cd8d3ce9ca82fabcf7788b5c2bed02b835807f861f88a833abd9f
test_sampling.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-757030244444450a1c8f60bd70b1a2634aef9a4d37b46e362b86791c4def0428
test_timeouts.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-72f06b25a7e212f804121ef810f403578c4acd67b76b86ccda04618012a9930d
test_tools.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-c825e7b9ec5b747a4818b1917da57cc2145f982ac24237ed26449b9fff54ecfc
test_wire.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-163576971f36a4e8babc1808a586ab93dc81945e27aad2f238bd5b77fa441ac5
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-162ecb65095c2f1d454c74390f8cf43a36aacd5430a7284e82d63a84e18f3975
test_completion.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b2a3c3e100d7439f4c5b30460f7f9cac4198c738e1345f86c129ad99b0388182
test_context.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b5f7f25d66f0bed98387a6b630791fe45686eca3ae623b16d89da8a4d01b471e
test_prompts.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-9f0279943407f29b6afd521af337610582342d94bb2414550df04a7dd71aa259
test_resources.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-eaf82db32f7fd12ba4d3faa42251c691688a7653b108b7bee7653d2194b4550c
test_tools.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-599e5205a6a4a66559a3269a8bf513559691096890d5a84eaa977c46315cefd3
test_coverage.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b60708448fb1fbd8bdc0fa50e9ae954833dcfdc17e67bb0ff9d544492b554c64
__init__.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-96c09033337ef37f4b1802f9ecdbc377acec2a2f130d32eca79250281aa5f492
_bridge.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-6776bddee945aaa483da4fdb6fb6e967660d3eecd4dedd0dfb99e236baab1e65
_event_store.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-e85438ac5a966440e483ab12caa004f91dc1ed6978883f9e54f917adaf77df86
_stdio_server.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-5a1e6fc4a93d8fdccc3f13bb1528e2e2b0104ea702d0ad45b11e57d731fae3b7
test_bridge.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-973bd36347e6d5afc67eb34b8a26000f5387e40d5200222400ed01920e68495c
test_client_transport_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-adf5fa9c30305bc38e4d3bbf40b5d2a78c31d08471735f586b79c54e6c19813a
test_flows.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-49574413d58082b5b0d094a266103f9e61f3dac0f7bf3bdfacd1b2ad5a07a4c7
test_hosting_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-25c736951e89c76e3f06e5f6b36924f2fecb911b5bd98e4c74bf8249e8480fac
test_hosting_resume.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-85f9daa9bed5aaa4f0692a68b218329bd1d04c2bc0d72d270799730e3e7dfa22
test_hosting_session.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-23fb947502e0b134e093023f213e2e4e1a427996777d05da35dfe39499ad0741
test_sse.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b6e24975d18a40d61bf597c4517ff67abf1495842a7e1231c8e351e918d76bc8
test_stdio.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-e87dd7470dc7d367b9901aacfcc577a54864d05e8e50b4b9a25c6d1bfc543fb5
test_streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-e1892a1b798bbf5427ad12171841966db1086dcbbbd3f6c12b4bcd76405530c7
uv.lock https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11
pyproject.tomlhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://github.com/modelcontextprotocol/python-sdk/blob/56f96a96427f85248361e04525482a5cb61f0881/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2691/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
src/mcp/client/auth/oauth2.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
View file https://github.com/modelcontextprotocol/python-sdk/blob/56f96a96427f85248361e04525482a5cb61f0881/src/mcp/client/auth/oauth2.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2691/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
src/mcp/client/client.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-34e945ebc2fea8a427b8d0c45ccd28eb4e4cceb33c82048bd7998e6bb2f754f3
View file https://github.com/modelcontextprotocol/python-sdk/blob/56f96a96427f85248361e04525482a5cb61f0881/src/mcp/client/client.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2691/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-34e945ebc2fea8a427b8d0c45ccd28eb4e4cceb33c82048bd7998e6bb2f754f3
src/mcp/client/session.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
View file https://github.com/modelcontextprotocol/python-sdk/blob/56f96a96427f85248361e04525482a5cb61f0881/src/mcp/client/session.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2691/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-634d1abcb8bda1a784f31e3431a10124e387f487dd243a54244515b4972aa0ee
src/mcp/client/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
View file https://github.com/modelcontextprotocol/python-sdk/blob/56f96a96427f85248361e04525482a5cb61f0881/src/mcp/client/streamable_http.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2691/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
src/mcp/server/auth/handlers/authorize.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-29f49c82612bbc9e8070a2be90b36aa33ca72f1ddae66f15f261bfcbb1a9a85d
View file https://github.com/modelcontextprotocol/python-sdk/blob/56f96a96427f85248361e04525482a5cb61f0881/src/mcp/server/auth/handlers/authorize.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2691/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-29f49c82612bbc9e8070a2be90b36aa33ca72f1ddae66f15f261bfcbb1a9a85d
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-29f49c82612bbc9e8070a2be90b36aa33ca72f1ddae66f15f261bfcbb1a9a85d
src/mcp/server/auth/middleware/bearer_auth.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-0b11aaab79fc19c511b87711ce27207efba24fbd0226bea59af663715ba0f0ec
View file https://github.com/modelcontextprotocol/python-sdk/blob/56f96a96427f85248361e04525482a5cb61f0881/src/mcp/server/auth/middleware/bearer_auth.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2691/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-0b11aaab79fc19c511b87711ce27207efba24fbd0226bea59af663715ba0f0ec
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-0b11aaab79fc19c511b87711ce27207efba24fbd0226bea59af663715ba0f0ec
src/mcp/server/lowlevel/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
View file https://github.com/modelcontextprotocol/python-sdk/blob/56f96a96427f85248361e04525482a5cb61f0881/src/mcp/server/lowlevel/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2691/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
src/mcp/server/mcpserver/context.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
View file https://github.com/modelcontextprotocol/python-sdk/blob/56f96a96427f85248361e04525482a5cb61f0881/src/mcp/server/mcpserver/context.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2691/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-b8a980ea2822cbd7a2f938f77b794ef9df6724acb5d637fdf87c0ad2bfe2db1a
src/mcp/server/mcpserver/prompts/base.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
View file https://github.com/modelcontextprotocol/python-sdk/blob/56f96a96427f85248361e04525482a5cb61f0881/src/mcp/server/mcpserver/prompts/base.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2691/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-5df96c06127fae8e6f84e304e9bce59568220d3364e7493ea839527627ac4571
src/mcp/server/mcpserver/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
View file https://github.com/modelcontextprotocol/python-sdk/blob/56f96a96427f85248361e04525482a5cb61f0881/src/mcp/server/mcpserver/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2691/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
src/mcp/server/session.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c
View file https://github.com/modelcontextprotocol/python-sdk/blob/56f96a96427f85248361e04525482a5cb61f0881/src/mcp/server/session.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2691/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-9a603a2587011a188aa76ca19a32fcd343a253516325fbcfb4f7bfb6a814634c
src/mcp/server/sse.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
View file https://github.com/modelcontextprotocol/python-sdk/blob/56f96a96427f85248361e04525482a5cb61f0881/src/mcp/server/sse.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2691/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
maxisbeyhttps://github.com/maxisbey
May 27, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#r3314186823
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
https://github.com/modelcontextprotocol/python-sdk/pull/2691/files#diff-db3d89720f05f9c8a375c9ce008a6b477be25dccabca86a7d422814c5ab3f12c
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2691/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2691/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.