René's URL Explorer Experiment


Title: fix(server): return stdio parse errors by he-yufeng · Pull Request #2766 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: fix(server): return stdio parse errors by he-yufeng · Pull Request #2766 · modelcontextprotocol/python-sdk

X Title: fix(server): return stdio parse errors by he-yufeng · Pull Request #2766 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - fix(server): return stdio parse errors by he-yufeng · Pull Request #2766 · modelcontextprotocol/python-sdk

Open Graph Description: Summary make the stdio server return JSON-RPC error frames when incoming lines fail JSON-RPC parsing/validation recover a simple request id from the raw line when possible so id-bearing malformed ...

X Description: Summary make the stdio server return JSON-RPC error frames when incoming lines fail JSON-RPC parsing/validation recover a simple request id from the raw line when possible so id-bearing malformed ...

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

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:c1743a8e-15c3-c6f0-61d2-a57c6c1f0885
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8AC6:D8B6E:235B715:2F9494C:6A59B165
html-safe-nonce82049d9ea41e65092b385179f3e82d991cbbdd5a8b3dc832006a1c40150dc46e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUM2OkQ4QjZFOjIzNUI3MTU6MkY5NDk0Qzo2QTU5QjE2NSIsInZpc2l0b3JfaWQiOiI1MzIyODgzMjM4MDc1MTUwNjk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac761429edf6df43a3c095901953ccefa7e95db0320230fd93d407aa407ba2d9b4
hovercard-subject-tagpull_request:3791143494
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/2766/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ef41990d5e83066bda80afc6957cd5211633eb0167f250d36a7bbde6a11f0d58/modelcontextprotocol/python-sdk/pull/2766
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ef41990d5e83066bda80afc6957cd5211633eb0167f250d36a7bbde6a11f0d58/modelcontextprotocol/python-sdk/pull/2766
og:image:altSummary make the stdio server return JSON-RPC error frames when incoming lines fail JSON-RPC parsing/validation recover a simple request id from the raw line when possible so id-bearing malformed ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehe-yufeng
hostnamegithub.com
expected-hostnamegithub.com
Noneba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353
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
releaseab680789ae4a316cdaf0d5a292a1760140931cc4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2766#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2766
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%2F2766
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/2766
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2766
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2766
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2766
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 255 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 303 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
he-yufenghttps://github.com/he-yufeng
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
he-yufeng:fix/stdio-deep-request-parse-errorhttps://github.com/he-yufeng/python-sdk/tree/fix/stdio-deep-request-parse-error
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2766
Commits1 (1)https://github.com/modelcontextprotocol/python-sdk/pull/2766/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2766/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2766/files
fix(server): return stdio parse errorshttps://github.com/modelcontextprotocol/python-sdk/pull/2766#top
he-yufenghttps://github.com/he-yufeng
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
he-yufeng:fix/stdio-deep-request-parse-errorhttps://github.com/he-yufeng/python-sdk/tree/fix/stdio-deep-request-parse-error
https://github.com/he-yufeng
he-yufenghttps://github.com/he-yufeng
Jun 2, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2766#issue-4574984821
#2751https://github.com/modelcontextprotocol/python-sdk/issues/2751
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2766
https://github.com/he-yufeng
he-yufenghttps://github.com/he-yufeng
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/f6b844e838699452cf8d631c5cd9da41406689f1..c0ce601a9b2f84079ce2ddc69c0065fe262d3886
f6b844ehttps://github.com/modelcontextprotocol/python-sdk/commit/f6b844e838699452cf8d631c5cd9da41406689f1
c0ce601https://github.com/modelcontextprotocol/python-sdk/commit/c0ce601a9b2f84079ce2ddc69c0065fe262d3886
Compare https://github.com/modelcontextprotocol/python-sdk/compare/f6b844e838699452cf8d631c5cd9da41406689f1..c0ce601a9b2f84079ce2ddc69c0065fe262d3886
June 2, 2026 22:23https://github.com/modelcontextprotocol/python-sdk/pull/2766#event-26260070573
https://github.com/he-yufeng
he-yufenghttps://github.com/he-yufeng
Jun 2, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2766#issuecomment-4607475900
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2766
https://github.com/he-yufeng
he-yufenghttps://github.com/he-yufeng
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/c0ce601a9b2f84079ce2ddc69c0065fe262d3886..f76a0b3dd6c7fcb128e4186cc3736195f0804c5a
c0ce601https://github.com/modelcontextprotocol/python-sdk/commit/c0ce601a9b2f84079ce2ddc69c0065fe262d3886
f76a0b3https://github.com/modelcontextprotocol/python-sdk/commit/f76a0b3dd6c7fcb128e4186cc3736195f0804c5a
Compare https://github.com/modelcontextprotocol/python-sdk/compare/c0ce601a9b2f84079ce2ddc69c0065fe262d3886..f76a0b3dd6c7fcb128e4186cc3736195f0804c5a
June 2, 2026 22:38https://github.com/modelcontextprotocol/python-sdk/pull/2766#event-26260455980
https://github.com/he-yufeng
he-yufenghttps://github.com/he-yufeng
Jun 2, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2766#issuecomment-4607551304
f76a0b3https://github.com/modelcontextprotocol/python-sdk/commit/f76a0b3dd6c7fcb128e4186cc3736195f0804c5a
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2766
https://github.com/he-yufeng
he-yufenghttps://github.com/he-yufeng
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/f76a0b3dd6c7fcb128e4186cc3736195f0804c5a..b63f5f884732ddbf20e499394c5fa5d762784f8e
f76a0b3https://github.com/modelcontextprotocol/python-sdk/commit/f76a0b3dd6c7fcb128e4186cc3736195f0804c5a
b63f5f8https://github.com/modelcontextprotocol/python-sdk/commit/b63f5f884732ddbf20e499394c5fa5d762784f8e
Compare https://github.com/modelcontextprotocol/python-sdk/compare/f76a0b3dd6c7fcb128e4186cc3736195f0804c5a..b63f5f884732ddbf20e499394c5fa5d762784f8e
June 2, 2026 22:44https://github.com/modelcontextprotocol/python-sdk/pull/2766#event-26260595208
https://github.com/he-yufeng
he-yufenghttps://github.com/he-yufeng
Jun 2, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2766#issuecomment-4607581790
b63f5f8https://github.com/modelcontextprotocol/python-sdk/commit/b63f5f884732ddbf20e499394c5fa5d762784f8e
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2766
https://github.com/StantonMatt
StantonMatthttps://github.com/StantonMatt
Jun 3, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2766#pullrequestreview-4414699301
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2766/files
StantonMatthttps://github.com/StantonMatt
https://github.com/modelcontextprotocol/python-sdk/pull/2766#pullrequestreview-4414699301
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#2751https://github.com/modelcontextprotocol/python-sdk/issues/2751
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2766
https://github.com/Bartok9
Bartok9https://github.com/Bartok9
Jun 5, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2766#ref-pullrequest-4556922210
fix: preserve stdio streams in server transport #2734 https://github.com/modelcontextprotocol/python-sdk/pull/2734
https://github.com/he-yufeng
he-yufenghttps://github.com/he-yufeng
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/b63f5f884732ddbf20e499394c5fa5d762784f8e..ce57bfe9a915b4d458a6e63f1665ba6b64afd3bf
b63f5f8https://github.com/modelcontextprotocol/python-sdk/commit/b63f5f884732ddbf20e499394c5fa5d762784f8e
ce57bfehttps://github.com/modelcontextprotocol/python-sdk/commit/ce57bfe9a915b4d458a6e63f1665ba6b64afd3bf
Compare https://github.com/modelcontextprotocol/python-sdk/compare/b63f5f884732ddbf20e499394c5fa5d762784f8e..ce57bfe9a915b4d458a6e63f1665ba6b64afd3bf
June 6, 2026 21:41https://github.com/modelcontextprotocol/python-sdk/pull/2766#event-26429224054
https://github.com/he-yufeng
he-yufenghttps://github.com/he-yufeng
Jun 6, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2766#issuecomment-4640442343
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2766
https://github.com/he-yufeng
fix(server): return stdio parse errorshttps://github.com/modelcontextprotocol/python-sdk/pull/2766/commits/3170893c805085fbe0db55c6c16d9c30ba4c2ab0
3170893https://github.com/modelcontextprotocol/python-sdk/pull/2766/commits/3170893c805085fbe0db55c6c16d9c30ba4c2ab0
https://github.com/he-yufeng
he-yufenghttps://github.com/he-yufeng
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/ce57bfe9a915b4d458a6e63f1665ba6b64afd3bf..3170893c805085fbe0db55c6c16d9c30ba4c2ab0
ce57bfehttps://github.com/modelcontextprotocol/python-sdk/commit/ce57bfe9a915b4d458a6e63f1665ba6b64afd3bf
3170893https://github.com/modelcontextprotocol/python-sdk/commit/3170893c805085fbe0db55c6c16d9c30ba4c2ab0
Compare https://github.com/modelcontextprotocol/python-sdk/compare/ce57bfe9a915b4d458a6e63f1665ba6b64afd3bf..3170893c805085fbe0db55c6c16d9c30ba4c2ab0
June 25, 2026 18:35https://github.com/modelcontextprotocol/python-sdk/pull/2766#event-27215152709
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%2F2766
https://github.com/StantonMatt
StantonMatt https://github.com/StantonMatt
https://github.com/modelcontextprotocol/python-sdk/pull/2766/files/b63f5f884732ddbf20e499394c5fa5d762784f8e
Deep JSON-RPC request over stdio logs a validation error and leaves the original request pending https://github.com/modelcontextprotocol/python-sdk/issues/2751
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2766
https://github.com/he-yufeng
https://github.com/StantonMatt
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.