René's URL Explorer Experiment


Title: [v1.x] tests: backport interaction-model suite from main (527 tests, src/ untouched) by maxisbey · Pull Request #2717 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: [v1.x] tests: backport interaction-model suite from main (527 tests, src/ untouched) by maxisbey · Pull Request #2717 · modelcontextprotocol/python-sdk

X Title: [v1.x] tests: backport interaction-model suite from main (527 tests, src/ untouched) by maxisbey · Pull Request #2717 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - [v1.x] tests: backport interaction-model suite from main (527 tests, src/ untouched) by maxisbey · Pull Request #2717 · modelcontextprotocol/python-sdk

Open Graph Description: Backports tests/interaction/ (the end-to-end interaction-model suite from #2691) to v1.x, rewritten against the v1 public API. The result is a parity baseline: once main adds backwards-compatibilit...

X Description: Backports tests/interaction/ (the end-to-end interaction-model suite from #2691) to v1.x, rewritten against the v1 public API. The result is a parity baseline: once main adds backwards-compatibilit...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:ed20d07c-2a7d-fde0-24c8-14852eaa31f7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9AB2:113A9F:7AD1D:A9319:6A5A62D0
html-safe-noncece896ab044af077406bbd01af5b00dfdd220e8bcb7e6c84035946679be8ec63b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUIyOjExM0E5Rjo3QUQxRDpBOTMxOTo2QTVBNjJEMCIsInZpc2l0b3JfaWQiOiI5MTQ2MTM5ODg1MTgyODA0Njg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacba4e845e398ba99d5ef0fdb9f673e329f311497063c1743d4c9642d5f3af7cf5
hovercard-subject-tagpull_request:3769901827
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2717/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0e054a9a08b75f5b22306bc7689749911488104481e8ea6366f522a65871e774/modelcontextprotocol/python-sdk/pull/2717
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0e054a9a08b75f5b22306bc7689749911488104481e8ea6366f522a65871e774/modelcontextprotocol/python-sdk/pull/2717
og:image:altBackports tests/interaction/ (the end-to-end interaction-model suite from #2691) to v1.x, rewritten against the v1 public API. The result is a parity baseline: once main adds backwards-compatibilit...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxisbey
hostnamegithub.com
expected-hostnamegithub.com
None05b9ddf6a47d2dbe13944873a99f5fb4b83ba4871f9cb8a8e256793a63ca9687
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef8d29d1bd03dda2dd14b3f80b8bc27e1111f43bd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2717#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2717
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%2F2717
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2717
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2717
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2717
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2717
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
maxisbeyhttps://github.com/maxisbey
v1.xhttps://github.com/modelcontextprotocol/python-sdk/tree/v1.x
maxisbey/v1x-interaction-backporthttps://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/v1x-interaction-backport
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2717
Commits21 (21)https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2717/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2717/files
[v1.x] tests: backport interaction-model suite from main (527 tests, src/ untouched)https://github.com/modelcontextprotocol/python-sdk/pull/2717#top
maxisbeyhttps://github.com/maxisbey
v1.xhttps://github.com/modelcontextprotocol/python-sdk/tree/v1.x
maxisbey/v1x-interaction-backporthttps://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/v1x-interaction-backport
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
May 29, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2717#issue-4549625290
#2691https://github.com/modelcontextprotocol/python-sdk/pull/2691
MCP Documentationhttps://modelcontextprotocol.io
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2717
maxisbeyhttps://github.com/maxisbey
May 29, 2026 13:31https://github.com/modelcontextprotocol/python-sdk/pull/2717#commits-pushed-78adb72
https://github.com/maxisbey
backport: copy tests/interaction/ verbatim from main (phase 0)https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/78adb726dd19e2a004785bcdc97ed353228c7f20
78adb72https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/78adb726dd19e2a004785bcdc97ed353228c7f20
https://github.com/maxisbey
backport: phase-1.5 mechanical types sweep (snake→camel kwargs, type=…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/680b736601347e2c605c2085ea255cdc7c3d2abe
680b736https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/680b736601347e2c605c2085ea255cdc7c3d2abe
https://github.com/maxisbey
backport: harness H1 — _helpers.py: local ReadStream/WriteStream alia…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/92f2bb4077871cfba22f73f4efed53239aa2a830
92f2bb4https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/92f2bb4077871cfba22f73f4efed53239aa2a830
https://github.com/maxisbey
backport: harness H2 — _connect.py imports/annotations + conftest mar…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/a507771e21416f826a709b6580b04b22e3f19a53
a507771https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/a507771e21416f826a709b6580b04b22e3f19a53
https://github.com/maxisbey
backport: harness H3 — connect_in_memory, build_sse_app, connect_over…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/f7daf85f42da1f277213d3848793a24a69f77c26
f7daf85https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/f7daf85f42da1f277213d3848793a24a69f77c26
https://github.com/maxisbey
backport: harness H4 — build_streamable_http_app (no-auth), connect_o…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/7a936a2cee44f4e2fb79a1f5f80a29e6b4cb4f6f
7a936a2https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/7a936a2cee44f4e2fb79a1f5f80a29e6b4cb4f6f
https://github.com/maxisbey
backport: harness H5 — build_streamable_http_app auth branch + mounte…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/e55b40ecf50932e576c1e25592bf9160df962ef1
e55b40ehttps://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/e55b40ecf50932e576c1e25592bf9160df962ef1
https://github.com/maxisbey
backport: harness H-auth-1 — connect_with_oauth body (hand-assembled …https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/7d9881d7c8aa69b403368ef89b87d9fc7901a42f
7d9881dhttps://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/7d9881d7c8aa69b403368ef89b87d9fc7901a42f
https://github.com/maxisbey
backport: phase-4 wave 1 (proof) — 25/25 pass across lowlevel/mcpserv…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/b603626d77ac6460770a311d9cd5b83231a76e2e
b603626https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/b603626d77ac6460770a311d9cd5b83231a76e2e
https://github.com/maxisbey
backport: phase-4 wave 2 + S1 — 51 pass / 1 deferredhttps://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/1211e79b1b18d184fa0dcc6ae0409d19728cb329
1211e79https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/1211e79b1b18d184fa0dcc6ae0409d19728cb329
https://github.com/maxisbey
backport: phase-4 waves 3+4 + S2-S9 (Workflow, 43 agents) — ~174 pass…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/7251516192edb70a9c32ed7792bacf0fe5fc801f
7251516https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/7251516192edb70a9c32ed7792bacf0fe5fc801f
https://github.com/maxisbey
backport: phase-5 cleanup — apply pending deferrals, test_coverage greenhttps://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/6c7cbcc03ee09c80cb6d0f4603937f86b2ee9def
6c7cbcchttps://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/6c7cbcc03ee09c80cb6d0f4603937f86b2ee9def
https://github.com/maxisbey
backport: phase-5 fixup — port roots:list-changed (audit-1), scope wa…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/c59a57d9dbed064d5dcec56612db1aa282d30149
c59a57dhttps://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/c59a57d9dbed064d5dcec56612db1aa282d30149
https://github.com/maxisbey
backport: scrub local-path reference from conftest comment; clarify p…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/1f981e5230d715aaf83bf5c8278f5205e5bf0eac
1f981e5https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/1f981e5230d715aaf83bf5c8278f5205e5bf0eac
https://github.com/maxisbey
backport: coverage — recognize 'lax no cover'; pragma harness scaffol…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/361bb9d3ebda0b9cbad230e46cf799a80c337323
361bb9dhttps://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/361bb9d3ebda0b9cbad230e46cf799a80c337323
https://github.com/maxisbey
backport: coverage — raise dev-dep floors for tests/interaction (pyte…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/04980e32c7998050aa99450675d266c21593289d
04980e3https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/04980e32c7998050aa99450675d266c21593289d
https://github.com/maxisbey
backport: coverage — reset sse-starlette's module-global exit Event b…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/52a79c4ec06380d44441966b39280106660e0f36
52a79c4https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/52a79c4ec06380d44441966b39280106660e0f36
https://github.com/maxisbey
backport: coverage — lax-no-cover post-unwind asserts on 3.11+lowest-…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/67b3b2c3875b043ef2e416e6c04bc4cd918ca91d
67b3b2chttps://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/67b3b2c3875b043ef2e416e6c04bc4cd918ca91d
python/cpython#106749https://github.com/python/cpython/issues/106749
361bb9dhttps://github.com/modelcontextprotocol/python-sdk/commit/361bb9d3ebda0b9cbad230e46cf799a80c337323
https://github.com/maxisbey
Merge remote-tracking branch 'origin/v1.x' into maxisbey/v1x-interact…https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/2ca7f4cbb898e2ce840c2ef8cf66b5df747a8c63
2ca7f4chttps://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/2ca7f4cbb898e2ce840c2ef8cf66b5df747a8c63
https://github.com/maxisbey
tests: expect SSE session-entry cleanup on disconnecthttps://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/03fdaed27c2520fcd91a41ab6407e1c328c2cbdb
03fdaedhttps://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/03fdaed27c2520fcd91a41ab6407e1c328c2cbdb
#2719https://github.com/modelcontextprotocol/python-sdk/pull/2719
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 11, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2717#ref-pullrequest-4641651751
[v1.x] Backport transport test deflakes from main (tests-only) #2837 https://github.com/modelcontextprotocol/python-sdk/pull/2837
https://github.com/maxisbey
[v1.x] Backport transport test deflakes from main (tests-only) (https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/a3234b6ef97ba2d1f369998132999267dea5f2bb
#2837https://github.com/modelcontextprotocol/python-sdk/pull/2837
)https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/a3234b6ef97ba2d1f369998132999267dea5f2bb
a3234b6https://github.com/modelcontextprotocol/python-sdk/pull/2717/commits/a3234b6ef97ba2d1f369998132999267dea5f2bb
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2717
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2717
https://github.com/maxisbey
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.