René's URL Explorer Experiment


Title: fix: drain accepted JSON-RPC requests after read EOF by matthewchen94 · Pull Request #3026 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: fix: drain accepted JSON-RPC requests after read EOF by matthewchen94 · Pull Request #3026 · modelcontextprotocol/python-sdk

X Title: fix: drain accepted JSON-RPC requests after read EOF by matthewchen94 · Pull Request #3026 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - fix: drain accepted JSON-RPC requests after read EOF by matthewchen94 · Pull Request #3026 · modelcontextprotocol/python-sdk

Open Graph Description: Fixes #2678. This changes the JSON-RPC dispatcher shutdown path so read EOF does not immediately cancel request handlers that were already accepted. The dispatcher now: marks the connection closed...

X Description: Fixes #2678. This changes the JSON-RPC dispatcher shutdown path so read EOF does not immediately cancel request handlers that were already accepted. The dispatcher now: marks the connection closed...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/*id(.:format)
route-controllerpull_requests
route-actionshow
fetch-noncev2:dc33168c-da39-64bc-a96a-bae35f207e06
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD258:192237:708094:99C8A6:6B047880
html-safe-nonce40600c4feaf997fbf94be9e89ae1d22534c01a932eb18990e5c361df962faa0a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjU4OjE5MjIzNzo3MDgwOTQ6OTlDOEE2OjZCMDQ3ODgwIiwidmlzaXRvcl9pZCI6IjU0MTc4MDQ1NzUxMjg0NTEyMDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf3bc0bcd0a74b51ddb630f4635cb15962fe1712aa498ded56d03b7da9f0a3ace
hovercard-subject-tagpull_request:3960110697
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
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/3026
twitter:imagehttps://opengraph.githubassets.com/65e2f59325d797e1f4fcfcd902cdeca2712e94c5f6af927eaae41d66d16de2ce/modelcontextprotocol/python-sdk/pull/3026
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/65e2f59325d797e1f4fcfcd902cdeca2712e94c5f6af927eaae41d66d16de2ce/modelcontextprotocol/python-sdk/pull/3026
og:image:altFixes #2678. This changes the JSON-RPC dispatcher shutdown path so read EOF does not immediately cancel request handlers that were already accepted. The dispatcher now: marks the connection closed...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamematthewchen94
hostnamegithub.com
expected-hostnamegithub.com
None9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b
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
releasecf73f57448d52b3a7b619195e182b33d3b3454ca
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/3026#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3026
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3026
Sign uphttps://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&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3026
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3026
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3026
modelcontextprotocolhttps://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Codehttps://github.com/modelcontextprotocol/python-sdk
Issues320 (320)https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests112 (112)https://github.com/modelcontextprotocol/python-sdk/pulls
Actionshttps://github.com/modelcontextprotocol/python-sdk/actions
Projectshttps://github.com/modelcontextprotocol/python-sdk/projects
Security and quality12 (12)https://github.com/modelcontextprotocol/python-sdk/security
Insightshttps://github.com/modelcontextprotocol/python-sdk/insights
https://github.com/modelcontextprotocol/python-sdk
matthewchen94https://github.com/matthewchen94
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
matthewchen94:fix/stdio-drain-inflight-eof-2678https://github.com/matthewchen94/python-sdk/tree/fix/stdio-drain-inflight-eof-2678
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/3026
Commits5 (5)https://github.com/modelcontextprotocol/python-sdk/pull/3026/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/3026/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/3026/files
fix: drain accepted JSON-RPC requests after read EOFhttps://github.com/modelcontextprotocol/python-sdk/pull/3026#top
matthewchen94https://github.com/matthewchen94
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
matthewchen94:fix/stdio-drain-inflight-eof-2678https://github.com/matthewchen94/python-sdk/tree/fix/stdio-drain-inflight-eof-2678
https://github.com/matthewchen94
matthewchen94https://github.com/matthewchen94
Jun 30, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3026#issue-4773242484
#2678https://github.com/modelcontextprotocol/python-sdk/issues/2678
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3026
https://github.com/matthewchen94
fix: drain accepted JSON-RPC requests after read EOFhttps://github.com/modelcontextprotocol/python-sdk/pull/3026/commits/5458c584e94dbbd7d4df54e798318547603f9ce1
5458c58https://github.com/modelcontextprotocol/python-sdk/pull/3026/commits/5458c584e94dbbd7d4df54e798318547603f9ce1
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jun 30, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3026#pullrequestreview-4596887496
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/3026/files/5458c584e94dbbd7d4df54e798318547603f9ce1
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3026
https://github.com/modelcontextprotocol/python-sdk/pull/3026#pullrequestreview-4596887496
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Fix all with cubichttps://www.cubic.dev/action/fix/pr/modelcontextprotocol/python-sdk/3026/ai_pr_review_1782787974059_1b4f1f62-fd4b-4a85-9bff-a4656df7d557?entrySource=github_ui_to_cubic_ui
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/3026/ai_pr_review_1782787974059_1b4f1f62-fd4b-4a85-9bff-a4656df7d557?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3026
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3026
src/mcp/shared/jsonrpc_dispatcher.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3026/files/5458c584e94dbbd7d4df54e798318547603f9ce1#diff-3d8fb73fa8b126691302c15bb63bbc44a3a0e9338a17f14b3b4ea1d97bb10c2c
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3026
matthewchen94https://github.com/matthewchen94
July 1, 2026 11:16https://github.com/modelcontextprotocol/python-sdk/pull/3026#commits-pushed-49ced5b
https://github.com/matthewchen94
fix: scope EOF drain to stdio dispatcher modehttps://github.com/modelcontextprotocol/python-sdk/pull/3026/commits/49ced5b3c349ed4a27a732821d03ef2059ef70bb
49ced5bhttps://github.com/modelcontextprotocol/python-sdk/pull/3026/commits/49ced5b3c349ed4a27a732821d03ef2059ef70bb
https://github.com/matthewchen94
merge main and scope EOF drain to stdiohttps://github.com/modelcontextprotocol/python-sdk/pull/3026/commits/3b4e00d006a3e1efa379ac0a56b8b7b26e46bcc1
3b4e00dhttps://github.com/modelcontextprotocol/python-sdk/pull/3026/commits/3b4e00d006a3e1efa379ac0a56b8b7b26e46bcc1
https://github.com/matthewchen94
test: cover stdio EOF drain pathshttps://github.com/modelcontextprotocol/python-sdk/pull/3026/commits/f4a8fc99220c6df8fa4e218d3cb832fa62a576fb
f4a8fc9https://github.com/modelcontextprotocol/python-sdk/pull/3026/commits/f4a8fc99220c6df8fa4e218d3cb832fa62a576fb
https://github.com/matthewchen94
matthewchen94https://github.com/matthewchen94
Jul 1, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3026#issuecomment-4851165319
f4a8fc9https://github.com/modelcontextprotocol/python-sdk/commit/f4a8fc99220c6df8fa4e218d3cb832fa62a576fb
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3026
https://github.com/matthewchen94
merge: update stdio EOF drain fix onto latest mainhttps://github.com/modelcontextprotocol/python-sdk/pull/3026/commits/14ed0cb4dd648f750be6a1e94449a45c37581ffb
14ed0cbhttps://github.com/modelcontextprotocol/python-sdk/pull/3026/commits/14ed0cb4dd648f750be6a1e94449a45c37581ffb
https://github.com/matthewchen94
matthewchen94https://github.com/matthewchen94
Jul 9, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3026#issuecomment-4923170184
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3026
https://github.com/matthewchen94
matthewchen94https://github.com/matthewchen94
Jul 10, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3026#issuecomment-4932743661
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3026
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Aug 10, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3026#issuecomment-5243066801
#2680https://github.com/modelcontextprotocol/python-sdk/pull/2680
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3026
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Aug 10, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3026#event-29234598752
https://github.com/sairam0424
sairam0424https://github.com/sairam0424
Sep 14, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3026#ref-issue-4517587555
FastMCP/stdio: in-flight tool responses dropped on stdin EOF when input is bash-redirected from a file #2678 https://github.com/modelcontextprotocol/python-sdk/issues/2678
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%2F3026
https://github.com/apps/cubic-dev-ai
cubic-dev-ai[bot] https://github.com/apps/cubic-dev-ai
https://github.com/modelcontextprotocol/python-sdk/pull/3026/files/5458c584e94dbbd7d4df54e798318547603f9ce1
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3026
FastMCP/stdio: in-flight tool responses dropped on stdin EOF when input is bash-redirected from a file https://github.com/modelcontextprotocol/python-sdk/issues/2678
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3026
https://github.com/matthewchen94
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.