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: The official Python SDK for Model Context Protocol servers and clients - Streamable Http - clean up server memory streams by ihrpr · Pull Request #604 · modelcontextprotocol/python-sdk

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/_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:fe15d1be-deeb-3bd5-bd5b-bfe565c4bbac
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE484:22B385:1DA4AB3:2752C8D:6A5AEBE8
html-safe-nonce9d45629c3e058caf131cd616ec3a48f8d1ecfa2751d77298cfc9da0a21c002ed
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDg0OjIyQjM4NToxREE0QUIzOjI3NTJDOEQ6NkE1QUVCRTgiLCJ2aXNpdG9yX2lkIjoiNjU2NTA0NjIyMTY5ODQyNzg4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdc529a3e7f50310fa96a2766e75333692085f3aa16a189691414b921ce30d8e6
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///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/604/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f0faa07a33339e44079d7b03622f20a29f924b7233feaccdd8d594bceaa9f655/modelcontextprotocol/python-sdk/pull/604
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f0faa07a33339e44079d7b03622f20a29f924b7233feaccdd8d594bceaa9f655/modelcontextprotocol/python-sdk/pull/604
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:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameihrpr
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/604#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F604
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
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/604
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/604
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/604
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604
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 258 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 301 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
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
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/604
Commits76 (76)https://github.com/modelcontextprotocol/python-sdk/pull/604/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/604/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/604/files
Streamable Http - clean up server memory streamshttps://github.com/modelcontextprotocol/python-sdk/pull/604#top
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
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
Apr 29, 2025https://github.com/modelcontextprotocol/python-sdk/pull/604#issue-3029032572
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604
ihrprhttps://github.com/ihrpr
April 21, 2025 09:36https://github.com/modelcontextprotocol/python-sdk/pull/604#commits-pushed-2b95598
https://github.com/ihrpr
initial streamable http serverhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2b9559864b772757f1f4a0f7f0b4f08272829f3b
2b95598https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2b9559864b772757f1f4a0f7f0b4f08272829f3b
https://github.com/ihrpr
add request validation and testshttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/3d790f8979bfd43d505151e024433b533376946b
3d790f8https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/3d790f8979bfd43d505151e024433b533376946b
https://github.com/ihrpr
session managementhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/27bc01ec4bb63f398316ed7648dbc99108e0176f
27bc01ehttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/27bc01ec4bb63f398316ed7648dbc99108e0176f
https://github.com/ihrpr
terminations of a sessionhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/3c4cf109c2534306105ed7d656bcfe5eacd0d2c0
3c4cf10https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/3c4cf109c2534306105ed7d656bcfe5eacd0d2c0
https://github.com/ihrpr
fix cleaning uphttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/bce74b3e148038a38324d730d5506aac055b6e05
bce74b3https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/bce74b3e148038a38324d730d5506aac055b6e05
https://github.com/ihrpr
add happy path testhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/201157912d1d588283ed91fd05567b8b003ef891
2011579https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/201157912d1d588283ed91fd05567b8b003ef891
https://github.com/ihrpr
testshttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2cebf087d6b5e965198b8a3bf57248cf8aa7aa31
2cebf08https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2cebf087d6b5e965198b8a3bf57248cf8aa7aa31
https://github.com/ihrpr
json modehttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/6c9c320a38654c9145fe326d9e308e2893e8d9e3
6c9c320https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/6c9c320a38654c9145fe326d9e308e2893e8d9e3
https://github.com/ihrpr
clean uphttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/ede8cde91c938db4a64bcccb78387bc79e713d86
ede8cdehttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/ede8cde91c938db4a64bcccb78387bc79e713d86
https://github.com/ihrpr
fix example serverhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2a3bed8e50d19a572ad3fe9a82e2ad347d2d1c57
2a3bed8https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2a3bed8e50d19a572ad3fe9a82e2ad347d2d1c57
https://github.com/ihrpr
return 405 for get streamhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/0456b1bd1c8f5dd2eaf6650ac8b23413c6614322
0456b1bhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/0456b1bd1c8f5dd2eaf6650ac8b23413c6614322
https://github.com/ihrpr
speed up testshttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/97ca48dc2dd00ca56e99b955c04151084c1d3801
97ca48dhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/97ca48dc2dd00ca56e99b955c04151084c1d3801
https://github.com/ihrpr
stateless implemetationhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/f738cbfca5cb9bb94aabe8e762b71a736e21c33e
f738cbfhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/f738cbfca5cb9bb94aabe8e762b71a736e21c33e
https://github.com/ihrpr
formathttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/92d42875746f8b417b9b981de9ec491e1178c6be
92d4287https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/92d42875746f8b417b9b981de9ec491e1178c6be
https://github.com/ihrpr
uv lockhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/aa9f6e5f3dac9808a830da9ceba17392635a1c42
aa9f6e5https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/aa9f6e5f3dac9808a830da9ceba17392635a1c42
https://github.com/ihrpr
Merge branch 'ihrpr/streamablehttp-server' into ihrpr/streamablehttp-…https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2fba7f30b13f3ed7bf97c5a64a600bcb6385fd76
2fba7f3https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2fba7f30b13f3ed7bf97c5a64a600bcb6385fd76
https://github.com/ihrpr
simplify readmehttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/45723eab97027f50071373c470258cb7c5778854
45723eahttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/45723eab97027f50071373c470258cb7c5778854
https://github.com/ihrpr
clean uphttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/6b7a616a6e5a51b1ba3102d10693c0dee28bf1d2
6b7a616https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/6b7a616a6e5a51b1ba3102d10693c0dee28bf1d2
https://github.com/ihrpr
get ssehttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/b1be6913953bebcecd8490b67c542c768321b465
b1be691https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/b1be6913953bebcecd8490b67c542c768321b465
https://github.com/ihrpr
uv lockhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/201ec99ce66492db8beaca29802dc6ca1dcbaf80
201ec99https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/201ec99ce66492db8beaca29802dc6ca1dcbaf80
https://github.com/ihrpr
clean uphttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/46ec72d0ecdf0b6fe01699c7ccff4d2ed65aa31c
46ec72dhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/46ec72d0ecdf0b6fe01699c7ccff4d2ed65aa31c
https://github.com/ihrpr
Merge branch 'ihrpr/streamablehttp-server' into ihrpr/streamablehttp-…https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/1902abb0901e7a1cf3799964ee16d799e21fe207
1902abbhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/1902abb0901e7a1cf3799964ee16d799e21fe207
https://github.com/ihrpr
Merge branch 'ihrpr/streamablehttp-stateless' into ihrpr/get-ssehttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/da1df749ae2b6a0fede5b362378f1966c9bb3613
da1df74https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/da1df749ae2b6a0fede5b362378f1966c9bb3613
https://github.com/ihrpr
streamable http clienthttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/c2be5afdb306a78d78c1d5f538e26a5a9e09c305
c2be5afhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/c2be5afdb306a78d78c1d5f538e26a5a9e09c305
https://github.com/ihrpr
add comments to server example where we use related_request_idhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/9b096dc558f02d4a903e9215037d302e9554d62a
9b096dchttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/9b096dc558f02d4a903e9215037d302e9554d62a
https://github.com/ihrpr
Merge branch 'main' into ihrpr/streamablehttp-serverhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/bbe79c20da3098b3d761293ca02bc9b1815628dc
bbe79c2https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/bbe79c20da3098b3d761293ca02bc9b1815628dc
https://github.com/ihrpr
small fixeshttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/a0a9c5b4e5f7c6b39118405a3230b9e2bc66175e
a0a9c5bhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/a0a9c5b4e5f7c6b39118405a3230b9e2bc66175e
https://github.com/ihrpr
use mta field for related_request_idhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/a5ac2e09df6df2eda17ea73559004a789a3d1f3c
a5ac2e0https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/a5ac2e09df6df2eda17ea73559004a789a3d1f3c
https://github.com/ihrpr
unrelated test and formathttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2e615f36b7e515ad9efaf2cff46bfc1a2fa00f46
2e615f3https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2e615f36b7e515ad9efaf2cff46bfc1a2fa00f46
https://github.com/ihrpr
clean uphttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/110526d546b38bd7a4dc1479ea5e46a13edea629
110526dhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/110526d546b38bd7a4dc1479ea5e46a13edea629
https://github.com/ihrpr
remove coometed out codehttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/db247908cbb3b2ab79a15a4488d32974bd538cf3
db24790https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/db247908cbb3b2ab79a15a4488d32974bd538cf3
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
dsp-anthttps://github.com/dsp-ant
jerome3o-anthropichttps://github.com/jerome3o-anthropic
April 29, 2025 17:19https://github.com/modelcontextprotocol/python-sdk/pull/604#event-17459737500
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
April 29, 2025 19:31https://github.com/modelcontextprotocol/python-sdk/pull/604#event-17461511955
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
2025-03-26 spec releasehttps://github.com/modelcontextprotocol/python-sdk/milestone/6
Apr 29, 2025https://github.com/modelcontextprotocol/python-sdk/pull/604#event-17461619059
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
Apr 30, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604#ref-pullrequest-3019600562
StreamableHttp -- resumability support for servers #587 https://github.com/modelcontextprotocol/python-sdk/pull/587
https://github.com/bhosmer-ant
bhosmer-anthttps://github.com/bhosmer-ant
May 1, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/604#pullrequestreview-2810329914
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/604/files/526ddffdd53fbae01fd4cb5568a18d0945774755
bhosmer-anthttps://github.com/bhosmer-ant
https://github.com/modelcontextprotocol/python-sdk/pull/604#pullrequestreview-2810329914
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/604/files/db247908cbb3b2ab79a15a4488d32974bd538cf3#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/604/files/db247908cbb3b2ab79a15a4488d32974bd538cf3#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
bhosmer-anthttps://github.com/bhosmer-ant
May 1, 2025https://github.com/modelcontextprotocol/python-sdk/pull/604#discussion_r2070577066
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/604/files/db247908cbb3b2ab79a15a4488d32974bd538cf3#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/604/files/db247908cbb3b2ab79a15a4488d32974bd538cf3#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
bhosmer-anthttps://github.com/bhosmer-ant
May 1, 2025https://github.com/modelcontextprotocol/python-sdk/pull/604#discussion_r2070592366
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/604/files/db247908cbb3b2ab79a15a4488d32974bd538cf3#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
bhosmer-anthttps://github.com/bhosmer-ant
May 1, 2025https://github.com/modelcontextprotocol/python-sdk/pull/604#discussion_r2070594398
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604
ihrprhttps://github.com/ihrpr
May 2, 2025 08:43https://github.com/modelcontextprotocol/python-sdk/pull/604#commits-pushed-ff70bd6
https://github.com/ihrpr
Merge branch 'main' into ihrpr/streamablehttp-serverhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/ff70bd6746ff25b9d635bb35acfd086052536ef1
ff70bd6https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/ff70bd6746ff25b9d635bb35acfd086052536ef1
https://github.com/ihrpr
Merge branch 'ihrpr/streamablehttp-server' into ihrpr/streamablehttp-…https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/179fbc8e951b4f9de2d30204493ceb4b93f6b98f
179fbc8https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/179fbc8e951b4f9de2d30204493ceb4b93f6b98f
https://github.com/ihrpr
Merge branch 'ihrpr/streamablehttp-stateless' into ihrpr/get-ssehttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/a979864d36d96c61de5d2fc7104f1121952ddbce
a979864https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/a979864d36d96c61de5d2fc7104f1121952ddbce
https://github.com/ihrpr
Merge branch 'ihrpr/get-sse' into ihrpr/clienthttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/11b7dd98f6192cba76418f0af6461488967d3eeb
11b7dd9https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/11b7dd98f6192cba76418f0af6461488967d3eeb
https://github.com/ihrpr
Merge branch 'ihrpr/client' into ihrpr/resumability-serverhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/67a899c9e85bb6863c94c35649380ae9467b01e0
67a899chttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/67a899c9e85bb6863c94c35649380ae9467b01e0
https://github.com/ihrpr
Merge branch 'ihrpr/resumability-server' into ihrpr/memory-stream-ite…https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/c3e0ff38590347cf39fa7f944ca76ae22bd4c6e8
c3e0ff3https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/c3e0ff38590347cf39fa7f944ca76ae22bd4c6e8
https://github.com/ihrpr
Merge branch 'ihrpr/memory-stream-item-type' into ihrpr/use-session-m…https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/83503a0662102b94ae906c6eea2bfff25817b52a
83503a0https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/83503a0662102b94ae906c6eea2bfff25817b52a
https://github.com/ihrpr
Merge branch 'ihrpr/use-session-message-for-related-request' into ihr…https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/50909894fc269110a973a35b69f0c1319f737fcd
5090989https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/50909894fc269110a973a35b69f0c1319f737fcd
https://github.com/ihrpr
suggested changeshttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/3f8303a60b7a099504162df4c1e493a919415ce9
3f8303ahttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/3f8303a60b7a099504162df4c1e493a919415ce9
https://github.com/ihrpr
fixes after mergehttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/e06e3a596c45a389707951dcf73798b311b260df
e06e3a5https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/e06e3a596c45a389707951dcf73798b311b260df
https://github.com/ihrpr
Merge branch 'ihrpr/memory-stream-item-type' into ihrpr/use-session-m…https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/f6cea034c39649baee02275893653cd5c325f9cd
f6cea03https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/f6cea034c39649baee02275893653cd5c325f9cd
https://github.com/ihrpr
Merge branch 'ihrpr/use-session-message-for-related-request' into ihr…https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2bd0a27d2e677814691c7aaa5195954e62992765
2bd0a27https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/2bd0a27d2e677814691c7aaa5195954e62992765
https://github.com/ihrpr
remove resumtion from call_tool APIhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/e73677ab669ab6b8a4173087a8738e9ef5558c73
e73677ahttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/e73677ab669ab6b8a4173087a8738e9ef5558c73
https://github.com/ihrpr
return type for streamablehttp_clienthttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/dacd29458b90790ff5855ad30008a9430d6871ff
dacd294https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/dacd29458b90790ff5855ad30008a9430d6871ff
https://github.com/ihrpr
terminate on close instead of callback to terminatehttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/d1bd44b9f18d59601a42e0e6c6ffc08ad2a21945
d1bd44bhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/d1bd44b9f18d59601a42e0e6c6ffc08ad2a21945
https://github.com/ihrpr
Merge branch 'ihrpr/client-resumability' into ihrpr/server-closing-st…https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/526ddffdd53fbae01fd4cb5568a18d0945774755
526ddffhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/526ddffdd53fbae01fd4cb5568a18d0945774755
May 2, 2025 13:49https://github.com/modelcontextprotocol/python-sdk/pull/604#event-17500310378
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
bhosmer-anthttps://github.com/bhosmer-ant
stale reviewhttps://github.com/modelcontextprotocol/python-sdk/pull/604#pullrequestreview-2810329914
May 2, 2025 13:49https://github.com/modelcontextprotocol/python-sdk/pull/604#event-17500310396
ihrprhttps://github.com/ihrpr
May 2, 2025 14:54https://github.com/modelcontextprotocol/python-sdk/pull/604#commits-pushed-f83df9d
https://github.com/ihrpr
Merge branch 'main' into ihrpr/server-closing-streamshttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/f83df9d44794b1dd291275e6b8f67029f1aa1666
f83df9dhttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/f83df9d44794b1dd291275e6b8f67029f1aa1666
https://github.com/ihrpr
suggested changeshttps://github.com/modelcontextprotocol/python-sdk/pull/604/commits/28bd038febfcbb24a5121da5c058eeaa7644df7a
28bd038https://github.com/modelcontextprotocol/python-sdk/pull/604/commits/28bd038febfcbb24a5121da5c058eeaa7644df7a
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
5d8eaf7https://github.com/modelcontextprotocol/python-sdk/commit/5d8eaf77be00dbd9b33a7fe1e38cb0da77e49401
May 2, 2025https://github.com/modelcontextprotocol/python-sdk/pull/604#event-17500437553
https://github.com/ihrpr
ihrprhttps://github.com/ihrpr
May 2, 2025 13:59https://github.com/modelcontextprotocol/python-sdk/pull/604#event-17500437880
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%2F604
https://github.com/bhosmer-ant
bhosmer-ant https://github.com/bhosmer-ant
https://github.com/modelcontextprotocol/python-sdk/pull/604/files/526ddffdd53fbae01fd4cb5568a18d0945774755
https://github.com/jerome3o-anthropic
jerome3o-anthropic https://github.com/jerome3o-anthropic
https://github.com/dsp-ant
dsp-ant https://github.com/dsp-ant
2025-03-26 spec release https://github.com/modelcontextprotocol/python-sdk/milestone/6
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/604
https://github.com/ihrpr
https://github.com/bhosmer-ant
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.