René's URL Explorer Experiment


Title: Streamable Http - clean up server memory streams by ihrpr · Pull Request #604 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Streamable Http - clean up server memory streams by ihrpr · Pull Request #604 · modelcontextprotocol/python-sdk

X Title: Streamable Http - clean up server memory streams by ihrpr · Pull Request #604 · modelcontextprotocol/python-sdk

Description: Saving only one read stream in _request_streams is not right as we need to clean up both - read and write streams.

Open Graph Description: Saving only one read stream in _request_streams is not right as we need to clean up both - read and write streams.

X Description: Saving only one read stream in _request_streams is not right as we need to clean up both - read and write streams.

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:83b91d88-40c9-572c-727b-280dc9ef07e8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE96A:2150F3:842441:B08815:6A5B824D
html-safe-nonceed29ecebaababe90b7744bb6e4c0ba11f3581e5835039890a40e4c7504ad090f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTZBOjIxNTBGMzo4NDI0NDE6QjA4ODE1OjZBNUI4MjREIiwidmlzaXRvcl9pZCI6IjQzNDE4NDE1NjU4MzA1Nzg3NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd07485c10869c97de3a733cebba98be5625f9edbd144ec6f59da1f83f17bab31
hovercard-subject-tagpull_request:2489491090
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/604/files
twitter:imagehttps://avatars.githubusercontent.com/u/21148364?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/21148364?s=400&v=4
og:image:altSaving only one read stream in _request_streams is not right as we need to clean up both - read and write streams.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/604/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F604%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%2F604%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/604/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/604/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/604/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604/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 259 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 304 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
ihrprhttps://github.com/ihrpr
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
ihrpr/server-closing-streamshttps://github.com/modelcontextprotocol/python-sdk/tree/ihrpr/server-closing-streams
Conversation 6 https://github.com/modelcontextprotocol/python-sdk/pull/604
Commits 76 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits
Checks 0 https://github.com/modelcontextprotocol/python-sdk/pull/604/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/604/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604/files
Streamable Http - clean up server memory streams https://github.com/modelcontextprotocol/python-sdk/pull/604/files#top
Show all changes 76 commits https://github.com/modelcontextprotocol/python-sdk/pull/604/files
2b95598 initial streamable http server ihrpr Apr 20, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2b9559864b772757f1f4a0f7f0b4f08272829f3b
3d790f8 add request validation and tests ihrpr Apr 20, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/3d790f8979bfd43d505151e024433b533376946b
27bc01e session management ihrpr Apr 20, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/27bc01ec4bb63f398316ed7648dbc99108e0176f
3c4cf10 terminations of a session ihrpr Apr 20, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/3c4cf109c2534306105ed7d656bcfe5eacd0d2c0
bce74b3 fix cleaning up ihrpr Apr 20, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/bce74b3e148038a38324d730d5506aac055b6e05
2011579 add happy path test ihrpr Apr 20, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/201157912d1d588283ed91fd05567b8b003ef891
2cebf08 tests ihrpr Apr 20, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2cebf087d6b5e965198b8a3bf57248cf8aa7aa31
6c9c320 json mode ihrpr Apr 20, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/6c9c320a38654c9145fe326d9e308e2893e8d9e3
ede8cde clean up ihrpr Apr 21, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/ede8cde91c938db4a64bcccb78387bc79e713d86
2a3bed8 fix example server ihrpr Apr 21, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2a3bed8e50d19a572ad3fe9a82e2ad347d2d1c57
0456b1b return 405 for get stream ihrpr Apr 21, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/0456b1bd1c8f5dd2eaf6650ac8b23413c6614322
97ca48d speed up tests ihrpr Apr 21, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/97ca48dc2dd00ca56e99b955c04151084c1d3801
f738cbf stateless implemetation ihrpr Apr 21, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/f738cbfca5cb9bb94aabe8e762b71a736e21c33e
92d4287 format ihrpr Apr 21, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/92d42875746f8b417b9b981de9ec491e1178c6be
aa9f6e5 uv lock ihrpr Apr 21, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/aa9f6e5f3dac9808a830da9ceba17392635a1c42
2fba7f3 Merge branch 'ihrpr/streamablehttp-server' into ihrpr/streamablehttp-… ihrpr Apr 21, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2fba7f30b13f3ed7bf97c5a64a600bcb6385fd76
45723ea simplify readme ihrpr Apr 21, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/45723eab97027f50071373c470258cb7c5778854
6b7a616 clean up ihrpr Apr 21, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/6b7a616a6e5a51b1ba3102d10693c0dee28bf1d2
b1be691 get sse ihrpr Apr 22, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/b1be6913953bebcecd8490b67c542c768321b465
201ec99 uv lock ihrpr Apr 22, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/201ec99ce66492db8beaca29802dc6ca1dcbaf80
46ec72d clean up ihrpr Apr 22, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/46ec72d0ecdf0b6fe01699c7ccff4d2ed65aa31c
1902abb Merge branch 'ihrpr/streamablehttp-server' into ihrpr/streamablehttp-… ihrpr Apr 22, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/1902abb0901e7a1cf3799964ee16d799e21fe207
da1df74 Merge branch 'ihrpr/streamablehttp-stateless' into ihrpr/get-sse ihrpr Apr 22, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/da1df749ae2b6a0fede5b362378f1966c9bb3613
c2be5af streamable http client ihrpr Apr 23, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/c2be5afdb306a78d78c1d5f538e26a5a9e09c305
9b096dc add comments to server example where we use related_request_id ihrpr Apr 23, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/9b096dc558f02d4a903e9215037d302e9554d62a
bbe79c2 Merge branch 'main' into ihrpr/streamablehttp-server ihrpr Apr 23, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/bbe79c20da3098b3d761293ca02bc9b1815628dc
a0a9c5b small fixes ihrpr Apr 23, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/a0a9c5b4e5f7c6b39118405a3230b9e2bc66175e
a5ac2e0 use mta field for related_request_id ihrpr Apr 23, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/a5ac2e09df6df2eda17ea73559004a789a3d1f3c
2e615f3 unrelated test and format ihrpr Apr 23, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2e615f36b7e515ad9efaf2cff46bfc1a2fa00f46
110526d clean up ihrpr Apr 23, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/110526d546b38bd7a4dc1479ea5e46a13edea629
7ffd5ba terminate session ihrpr Apr 23, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/7ffd5bab401852294aa0306c4e50d4f7a0d7ef89
029ec56 format ihrpr Apr 23, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/029ec56fec5d342e874afb42522fd17a328c7831
cae32e2 Merge branch 'ihrpr/streamablehttp-server' into ihrpr/streamablehttp-… ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/cae32e2288e35ee533aa6ad21220cb6f590bef6a
58745c7 remove useless sleep ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/58745c7d977c708e4241b1c60df03d3c2204698b
1387929 rename require_initialization to standalone_mode ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/138792978c7249e93a43157a9598a72dd04ed3c4
bccff75 Merge branch 'ihrpr/streamablehttp-stateless' into ihrpr/get-sse ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/bccff75f997338a7aa50c1b7e1a0372830a9e894
dd007d7 Merge branch 'ihrpr/get-sse' into ihrpr/client ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/dd007d7f01e6fc9a3c4ee2a33ca92a976cd3a54b
6482120 remove redundant check for initialize and session ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/6482120530b9ed70a48cf3c433822a74fd448020
9a6da2e ruff check ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/9a6da2ed1d8ce419fe3fdc9d1fa9b739bf1fa272
b957fad Merge branch 'ihrpr/get-sse' into ihrpr/client ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/b957fada1ce1c535d14622a104f1115e00c86fd9
3f5fd7e support for resumability - server ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/3f5fd7ea6bedcf73f4b038ddbfabcbd6e9abbd86
b193242 format ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/b1932422b4bcd6c54f80bdb88c322a6525356955
6110435 remove print ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/611043558716caf1b99b28d5a6a5adbd23d92f25
e087283 rename files to follow python naming ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/e0872835cf08c894a20938144682aa1237832ded
08247c4 update to use time delta in client ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/08247c420d12a4cc1723fd64cd1adf7051f7d233
0484dfb refactor ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/0484dfbfbd8f8fe1784b4db9d30776f356d81fe2
88ff2ba Merge branch 'ihrpr/client' into ihrpr/resumability-server ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/88ff2ba46fb3d01d7cf8f57e444c4d1036657b5d
5757f6c small fixes ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/5757f6cbcfc9798ef805e2992e4d252f16ea0910
ee28ad8 improve event store example implementation ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/ee28ad83fdf15e547c07ec2f5b75fcd98f995cd9
5dbddeb refactor _create_event_data ihrpr Apr 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/5dbddeb16c4935deec61e8e955ada5f5a3a5f6e6
8650c77 add session message ihrpr Apr 27, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/8650c77269e09adb04a894df378430db8bb924b0
80780dc use metadata from SessionMessage to propagate related_request_id ihrpr Apr 27, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/80780dc3de3f7c3ab24951fe45d315528e93124e
901dc98 assign server message only when related_request_id is not none ihrpr Apr 28, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/901dc988dad40842298704877473910b7b815fed
6c2f7de client resumability ihrpr Apr 28, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/6c2f7de0b3a5df43ba52dcebfc755ea215b8d08b
a346d6c refactor client ihrpr Apr 28, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/a346d6c12d2424b4c83d324df69f71353ca630ea
02f00c4 remove resume_tool ihrpr Apr 28, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/02f00c4a884a8a889fca4a69702092171cd3a762
dde8cd5 clean up server memory streams ihrpr Apr 29, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/dde8cd5b49c86d185003bf41a083363ced84d4d6
db24790 remove coometed out code ihrpr Apr 29, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/db247908cbb3b2ab79a15a4488d32974bd538cf3
ff70bd6 Merge branch 'main' into ihrpr/streamablehttp-server ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/ff70bd6746ff25b9d635bb35acfd086052536ef1
179fbc8 Merge branch 'ihrpr/streamablehttp-server' into ihrpr/streamablehttp-… ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/179fbc8e951b4f9de2d30204493ceb4b93f6b98f
a979864 Merge branch 'ihrpr/streamablehttp-stateless' into ihrpr/get-sse ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/a979864d36d96c61de5d2fc7104f1121952ddbce
11b7dd9 Merge branch 'ihrpr/get-sse' into ihrpr/client ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/11b7dd98f6192cba76418f0af6461488967d3eeb
67a899c Merge branch 'ihrpr/client' into ihrpr/resumability-server ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/67a899c9e85bb6863c94c35649380ae9467b01e0
c3e0ff3 Merge branch 'ihrpr/resumability-server' into ihrpr/memory-stream-ite… ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/c3e0ff38590347cf39fa7f944ca76ae22bd4c6e8
83503a0 Merge branch 'ihrpr/memory-stream-item-type' into ihrpr/use-session-m… ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/83503a0662102b94ae906c6eea2bfff25817b52a
5090989 Merge branch 'ihrpr/use-session-message-for-related-request' into ihr… ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/50909894fc269110a973a35b69f0c1319f737fcd
3f8303a suggested changes ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/3f8303a60b7a099504162df4c1e493a919415ce9
e06e3a5 fixes after merge ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/e06e3a596c45a389707951dcf73798b311b260df
f6cea03 Merge branch 'ihrpr/memory-stream-item-type' into ihrpr/use-session-m… ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/f6cea034c39649baee02275893653cd5c325f9cd
2bd0a27 Merge branch 'ihrpr/use-session-message-for-related-request' into ihr… ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2bd0a27d2e677814691c7aaa5195954e62992765
e73677a remove resumtion from call_tool API ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/e73677ab669ab6b8a4173087a8738e9ef5558c73
dacd294 return type for streamablehttp_client ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/dacd29458b90790ff5855ad30008a9430d6871ff
d1bd44b terminate on close instead of callback to terminate ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/d1bd44b9f18d59601a42e0e6c6ffc08ad2a21945
526ddff Merge branch 'ihrpr/client-resumability' into ihrpr/server-closing-st… ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/526ddffdd53fbae01fd4cb5568a18d0945774755
f83df9d Merge branch 'main' into ihrpr/server-closing-streams ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/f83df9d44794b1dd291275e6b8f67029f1aa1666
28bd038 suggested changes ihrpr May 2, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/28bd038febfcbb24a5121da5c058eeaa7644df7a
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/604/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604/files
server.py https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-6f8bfa77e7dd219d4340997e7e165170e698dd73e1a872ad790fafa4147d7f3b
server.py https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
test_streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5
examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-6f8bfa77e7dd219d4340997e7e165170e698dd73e1a872ad790fafa4147d7f3b
View file https://github.com/modelcontextprotocol/python-sdk/blob/28bd038febfcbb24a5121da5c058eeaa7644df7a/examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/604/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-6f8bfa77e7dd219d4340997e7e165170e698dd73e1a872ad790fafa4147d7f3b
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-6f8bfa77e7dd219d4340997e7e165170e698dd73e1a872ad790fafa4147d7f3b
src/mcp/server/lowlevel/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
View file https://github.com/modelcontextprotocol/python-sdk/blob/28bd038febfcbb24a5121da5c058eeaa7644df7a/src/mcp/server/lowlevel/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/604/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
View file https://github.com/modelcontextprotocol/python-sdk/blob/28bd038febfcbb24a5121da5c058eeaa7644df7a/src/mcp/server/streamable_http.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/604/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
bhosmer-anthttps://github.com/bhosmer-ant
May 1, 2025https://github.com/modelcontextprotocol/python-sdk/pull/604/files#r2070592366
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604/files
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
bhosmer-anthttps://github.com/bhosmer-ant
May 1, 2025https://github.com/modelcontextprotocol/python-sdk/pull/604/files#r2070594398
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604/files
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604/files
tests/shared/test_streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5
View file https://github.com/modelcontextprotocol/python-sdk/blob/28bd038febfcbb24a5121da5c058eeaa7644df7a/tests/shared/test_streamable_http.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/604/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5
https://github.com/modelcontextprotocol/python-sdk/pull/604/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5
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.