René's URL Explorer Experiment


Title: Fix #201: Move incoming message stream from BaseSession to ServerSession by dsp-ant · Pull Request #325 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Fix #201: Move incoming message stream from BaseSession to ServerSession by dsp-ant · Pull Request #325 · modelcontextprotocol/python-sdk

X Title: Fix #201: Move incoming message stream from BaseSession to ServerSession by dsp-ant · Pull Request #325 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Fix #201: Move incoming message stream from BaseSession to ServerSession by dsp-ant · Pull Request #325 · modelcontextprotocol/python-sdk

Open Graph Description: This PR fixes a nasty but in the way we handle incoming messages, which currently leads to hanging connections when the clients sends notifications. The observed issue is as follows: A user create...

X Description: This PR fixes a nasty but in the way we handle incoming messages, which currently leads to hanging connections when the clients sends notifications. The observed issue is as follows: A user create...

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

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:28ef6e29-70f0-09a6-518f-ff4b184431da
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id875A:12A6A4:61F9C8:839A67:6A5B7409
html-safe-noncec98d6035b0e5eb1df04f4d2b6c1ed14bf202e4fed95a27a493fb5445210a3b18
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzVBOjEyQTZBNDo2MUY5Qzg6ODM5QTY3OjZBNUI3NDA5IiwidmlzaXRvcl9pZCI6IjYxMTMyMDM1NTQ2NDY0NTUzMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbc33dfe8f6053f354d1bca70d2316868206640280bca367381257fe72688f03a
hovercard-subject-tagpull_request:2405154897
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/325/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6dd6c2d44542419ec7c1b0fcff45919751929efb868cdda3276d18935308df40/modelcontextprotocol/python-sdk/pull/325
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6dd6c2d44542419ec7c1b0fcff45919751929efb868cdda3276d18935308df40/modelcontextprotocol/python-sdk/pull/325
og:image:altThis PR fixes a nasty but in the way we handle incoming messages, which currently leads to hanging connections when the clients sends notifications. The observed issue is as follows: A user create...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedsp-ant
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/325#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F325
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%2F325
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/325
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/325
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/325
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/325
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
dsp-anthttps://github.com/dsp-ant
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
fix/201https://github.com/modelcontextprotocol/python-sdk/tree/fix/201
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/325
Commits3 (3)https://github.com/modelcontextprotocol/python-sdk/pull/325/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/325/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/325/files
Fix #201: Move incoming message stream from BaseSession to ServerSessionhttps://github.com/modelcontextprotocol/python-sdk/pull/325#top
dsp-anthttps://github.com/dsp-ant
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
fix/201https://github.com/modelcontextprotocol/python-sdk/tree/fix/201
https://github.com/dsp-ant
dsp-anthttps://github.com/dsp-ant
Mar 19, 2025https://github.com/modelcontextprotocol/python-sdk/pull/325#issue-2933319456
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/325
@shefflerhttps://github.com/sheffler
#201https://github.com/modelcontextprotocol/python-sdk/issues/201
#202https://github.com/modelcontextprotocol/python-sdk/pull/202
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/325
https://github.com/dsp-ant
Move incoming message stream from BaseSession to ServerSessionhttps://github.com/modelcontextprotocol/python-sdk/pull/325/commits/85514b44d74392ba91091d2fe5a5fd868dffca9a
85514b4https://github.com/modelcontextprotocol/python-sdk/pull/325/commits/85514b44d74392ba91091d2fe5a5fd868dffca9a
#201https://github.com/modelcontextprotocol/python-sdk/issues/201
#201https://github.com/modelcontextprotocol/python-sdk/issues/201
https://claude.ai/codehttps://claude.ai/code
https://github.com/dsp-ant
dsp-anthttps://github.com/dsp-ant
Kludexhttps://github.com/Kludex
jerome3o-anthropichttps://github.com/jerome3o-anthropic
jspahrsummershttps://github.com/jspahrsummers
Kludexhttps://github.com/Kludex
jerome3o-anthropichttps://github.com/jerome3o-anthropic
March 19, 2025 22:11https://github.com/modelcontextprotocol/python-sdk/pull/325#event-16881287597
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Mar 20, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/325#pullrequestreview-2701926252
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/325/files
test.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/325/files#diff-3665d65394f4f58a56a256ad6dd8621c68118d90fe56a19387e251c19cec2d2e
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/325
https://github.com/dsp-ant
https://github.com/claude
Handle message callbacks in ClientSessionhttps://github.com/modelcontextprotocol/python-sdk/pull/325/commits/4e0de002624a4e12dc1c99220bf5d5f7139a06ee
4e0de00https://github.com/modelcontextprotocol/python-sdk/pull/325/commits/4e0de002624a4e12dc1c99220bf5d5f7139a06ee
https://claude.ai/codehttps://claude.ai/code
https://github.com/dsp-ant
dsp-anthttps://github.com/dsp-ant
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/758682e1198f4010ba830160c7f81735e3e2c1cd..4e0de002624a4e12dc1c99220bf5d5f7139a06ee
758682ehttps://github.com/modelcontextprotocol/python-sdk/commit/758682e1198f4010ba830160c7f81735e3e2c1cd
4e0de00https://github.com/modelcontextprotocol/python-sdk/commit/4e0de002624a4e12dc1c99220bf5d5f7139a06ee
Compare https://github.com/modelcontextprotocol/python-sdk/compare/758682e1198f4010ba830160c7f81735e3e2c1cd..4e0de002624a4e12dc1c99220bf5d5f7139a06ee
March 20, 2025 13:32https://github.com/modelcontextprotocol/python-sdk/pull/325#event-16909592379
https://github.com/dsp-ant
Merge branch 'main' into fix/201https://github.com/modelcontextprotocol/python-sdk/pull/325/commits/abfbfe6c812bf701a6f392144692e8bbe8f56d60
abfbfe6https://github.com/modelcontextprotocol/python-sdk/pull/325/commits/abfbfe6c812bf701a6f392144692e8bbe8f56d60
https://github.com/dsp-ant
dsp-anthttps://github.com/dsp-ant
Mar 20, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/325#ref-pullrequest-2843968233
End to end logging #202 https://github.com/modelcontextprotocol/python-sdk/pull/202
https://github.com/sheffler
shefflerhttps://github.com/sheffler
Mar 20, 2025https://github.com/modelcontextprotocol/python-sdk/pull/325#issuecomment-2741568218
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/325
https://github.com/j-z10
j-z10https://github.com/j-z10
Mar 21, 2025https://github.com/modelcontextprotocol/python-sdk/pull/325#issuecomment-2742145492
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/325
https://github.com/dsp-ant
dsp-anthttps://github.com/dsp-ant
Kludexhttps://github.com/Kludex
March 21, 2025 12:51https://github.com/modelcontextprotocol/python-sdk/pull/325#event-16928037716
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Mar 22, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/325#pullrequestreview-2708027059
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/325/files/abfbfe6c812bf701a6f392144692e8bbe8f56d60
Kludexhttps://github.com/Kludex
https://github.com/modelcontextprotocol/python-sdk/pull/325#pullrequestreview-2708027059
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/325
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Mar 22, 2025https://github.com/modelcontextprotocol/python-sdk/pull/325#issuecomment-2745258225
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/325
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/325
https://github.com/dsp-ant
dsp-anthttps://github.com/dsp-ant
Mar 24, 2025https://github.com/modelcontextprotocol/python-sdk/pull/325#issuecomment-2747892762
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/325
https://github.com/dsp-ant
dsp-anthttps://github.com/dsp-ant
568cbd1https://github.com/modelcontextprotocol/python-sdk/commit/568cbd1a66eaa0aa8a2ceca7f5c84719d9210871
Mar 24, 2025https://github.com/modelcontextprotocol/python-sdk/pull/325#event-16956757420
https://github.com/dsp-ant
dsp-anthttps://github.com/dsp-ant
March 24, 2025 14:14https://github.com/modelcontextprotocol/python-sdk/pull/325#event-16956758118
https://github.com/tanhaipeng
tanhaipenghttps://github.com/tanhaipeng
Mar 25, 2025https://github.com/modelcontextprotocol/python-sdk/pull/325#issuecomment-2749886675
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/325
https://github.com/jkawamoto
jkawamotohttps://github.com/jkawamoto
Mar 25, 2025https://github.com/modelcontextprotocol/python-sdk/pull/325#issuecomment-2750084180
568cbd1https://github.com/modelcontextprotocol/python-sdk/commit/568cbd1a66eaa0aa8a2ceca7f5c84719d9210871
#294https://github.com/modelcontextprotocol/python-sdk/pull/294
https://github.com/modelcontextprotocol/python-sdk/actions/runs/14043734979https://github.com/modelcontextprotocol/python-sdk/actions/runs/14043734979
9ae4df8https://github.com/modelcontextprotocol/python-sdk/commit/9ae4df85fbab97bf476ddd160b766ca4c208cd13
https://github.com/modelcontextprotocol/python-sdk/actions/runs/14001749703https://github.com/modelcontextprotocol/python-sdk/actions/runs/14001749703
568cbd1https://github.com/modelcontextprotocol/python-sdk/commit/568cbd1a66eaa0aa8a2ceca7f5c84719d9210871
#361https://github.com/modelcontextprotocol/python-sdk/pull/361
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/325
https://github.com/dsp-ant
dsp-anthttps://github.com/dsp-ant
Mar 25, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/325#ref-issue-2943413820
stdio_client context manager hangs #360 https://github.com/modelcontextprotocol/python-sdk/issues/360
Nick-Sourcehttps://github.com/Nick-Source
Jul 29, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/325#ref-commit-a41dd6a
https://github.com/Nick-Source
Remove blocking behavior workaround in MCP ClientSessionhttps://github.com/Nick-Source/MCP-Bridge/commit/a41dd6a155fc0926de0855282e1f583b4bf396e0
a41dd6ahttps://github.com/Nick-Source/MCP-Bridge/commit/a41dd6a155fc0926de0855282e1f583b4bf396e0
d3c2c0fhttps://github.com/Nick-Source/MCP-Bridge/commit/d3c2c0f869d694e9d01d19a85e634bfb91205c95
modelcontextprotocol/python-sdk#325https://github.com/modelcontextprotocol/python-sdk/pull/325
https://github.com/Nick-Source
Nick-Sourcehttps://github.com/Nick-Source
Jul 29, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/325#ref-pullrequest-3273073413
Remove blocking behavior workaround in MCP ClientSession SecretiveShell/MCP-Bridge#95 https://github.com/SecretiveShell/MCP-Bridge/pull/95
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%2F325
https://github.com/Kludex
Kludex https://github.com/Kludex
https://github.com/modelcontextprotocol/python-sdk/pull/325/files/abfbfe6c812bf701a6f392144692e8bbe8f56d60
https://github.com/jspahrsummers
jspahrsummers https://github.com/jspahrsummers
https://github.com/jerome3o-anthropic
jerome3o-anthropic https://github.com/jerome3o-anthropic
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/325
https://github.com/dsp-ant
https://github.com/sheffler
https://github.com/j-z10
https://github.com/Kludex
https://github.com/tanhaipeng
https://github.com/jkawamoto
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.