René's URL Explorer Experiment


Title: fix: return 405 for pre-session GET the server won't serve as SSE by dosvk · Pull Request #3129 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: fix: return 405 for pre-session GET the server won't serve as SSE by dosvk · Pull Request #3129 · modelcontextprotocol/python-sdk

X Title: fix: return 405 for pre-session GET the server won't serve as SSE by dosvk · Pull Request #3129 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - fix: return 405 for pre-session GET the server won't serve as SSE by dosvk · Pull Request #3129 · modelcontextprotocol/python-sdk

Open Graph Description: Closes #3102 Summary Per the Streamable HTTP transport spec (Listening for Messages from the Server): The server MUST either return Content-Type: text/event-stream in response to this HTTP GET, or...

X Description: Closes #3102 Summary Per the Streamable HTTP transport spec (Listening for Messages from the Server): The server MUST either return Content-Type: text/event-stream in response to this HTTP GET, or...

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

X: @github

direct link

Domain: github.com

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/_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:21e6ae2b-7f57-44b4-02ca-3cd54338fc16
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCF8C:428E1:6E77BC:9381E0:6B00AD5F
html-safe-noncebc4d297789200ebb2b5ec28421829e5b268ac476885c2b0dad0dad1235023ecc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjhDOjQyOEUxOjZFNzdCQzo5MzgxRTA6NkIwMEFENUYiLCJ2aXNpdG9yX2lkIjoiODA3NDE5NzEyNDIwOTc0OTM0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2d5c94519bcbbfcac684f9eff3f8a7eaadfb8598a414a507d7e60e7e0f18cf6c
hovercard-subject-tagpull_request:4082822044
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/3129/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/72079b7e59c5242c15768131673a0396c4c989cceae95ada374f835c498c554a/modelcontextprotocol/python-sdk/pull/3129
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/72079b7e59c5242c15768131673a0396c4c989cceae95ada374f835c498c554a/modelcontextprotocol/python-sdk/pull/3129
og:image:altCloses #3102 Summary Per the Streamable HTTP transport spec (Listening for Messages from the Server): The server MUST either return Content-Type: text/event-stream in response to this HTTP GET, or...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedosvk
hostnamegithub.com
expected-hostnamegithub.com
Nonec0dd5f5d6f515a591019ecd66df2c4eab3379c2d3b0777568a90d8c7ae10b79e
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
release729d8cda69b3d267995675dfbf89ff27ccf61bf6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/3129#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3129
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%2F3129
Sign uphttps://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/3129
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3129
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3129
modelcontextprotocolhttps://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Codehttps://github.com/modelcontextprotocol/python-sdk
Issues308 (308)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
dosvkhttps://github.com/dosvk
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
dosvk:fix/3102-get-405-spec-compliancehttps://github.com/dosvk/python-sdk/tree/fix/3102-get-405-spec-compliance
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/3129
Commits4 (4)https://github.com/modelcontextprotocol/python-sdk/pull/3129/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/3129/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/3129/files
fix: return 405 for pre-session GET the server won't serve as SSEhttps://github.com/modelcontextprotocol/python-sdk/pull/3129#top
dosvkhttps://github.com/dosvk
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
dosvk:fix/3102-get-405-spec-compliancehttps://github.com/dosvk/python-sdk/tree/fix/3102-get-405-spec-compliance
https://github.com/dosvk
dosvkhttps://github.com/dosvk
Jul 18, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3129#issue-4918912000
#3102https://github.com/modelcontextprotocol/python-sdk/issues/3102
Listening for Messages from the Serverhttps://modelcontextprotocol.io/specification/2025-06-18/basic/transports#listening-for-messages-from-the-server
#3102https://github.com/modelcontextprotocol/python-sdk/issues/3102
@fgranatahttps://github.com/fgranata
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3129
https://github.com/apps/cubic-dev-ai
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Jul 18, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3129#pullrequestreview-4728792412
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/3129/files
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3129
https://github.com/modelcontextprotocol/python-sdk/pull/3129#pullrequestreview-4728792412
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/3129/ai_pr_review_1784389278432_b0ea2cf8-d9e4-4802-937b-26d8de0b0e55?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3129
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3129
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3129/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3129
Support Stateless MCP Server Connections pydantic/pydantic-ai#1844 https://github.com/pydantic/pydantic-ai/issues/1844
[Feature]: Surface capability registration — connection-time tool handshake for persistent surface connections ag-ui-protocol/ag-ui#2192 https://github.com/ag-ui-protocol/ag-ui/issues/2192
dosvkhttps://github.com/dosvk
Jul 18, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3129#ref-commit-40642cc
fix: reject pre-session GET in the session manager before a session i…https://github.com/dosvk/python-sdk/commit/40642cc85b5944a53e4268353e52d520a7efa48c
40642cchttps://github.com/dosvk/python-sdk/commit/40642cc85b5944a53e4268353e52d520a7efa48c
modelcontextprotocol#3129https://github.com/modelcontextprotocol/python-sdk/pull/3129
https://github.com/dosvk
dosvkhttps://github.com/dosvk
Jul 18, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3129#issuecomment-5011986690
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3129
https://github.com/dosvk
dosvkhttps://github.com/dosvk
Jul 20, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3129#ref-issue-4901517161
Streamable HTTP server never returns the spec-mandated 405 for GET requests it won't serve as SSE (406/400 instead) — breaks client SSE-probe fallback #3102 https://github.com/modelcontextprotocol/python-sdk/issues/3102
https://github.com/dosvk
dosvkhttps://github.com/dosvk
Jul 27, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3129#issuecomment-5095418326
@fgranatahttps://github.com/fgranata
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3129
Rejected streamable-HTTP requests leave live sessions behind: the session is registered before the request is validated #3228 https://github.com/modelcontextprotocol/python-sdk/issues/3228
fix(server): discard a session whose establishing request was refused #3229 https://github.com/modelcontextprotocol/python-sdk/pull/3229
https://github.com/hellices
helliceshttps://github.com/hellices
Aug 1, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3129#ref-pullrequest-5035261762
fix: refuse standalone GET on the MCP endpoint with 405 (#136) hellices/korvid#140 https://github.com/hellices/korvid/pull/140
August 6, 2026 20:47https://github.com/modelcontextprotocol/python-sdk/pull/3129#commits-pushed-ed897fa
fix: return 405 for pre-session GET the server won't serve as SSEhttps://github.com/modelcontextprotocol/python-sdk/pull/3129/commits/ed897fa072708d99675372115744fc9d57af71a7
ed897fahttps://github.com/modelcontextprotocol/python-sdk/pull/3129/commits/ed897fa072708d99675372115744fc9d57af71a7
modelcontextprotocol#3102https://github.com/modelcontextprotocol/python-sdk/issues/3102
fix: reject pre-session GET in the session manager before a session i…https://github.com/modelcontextprotocol/python-sdk/pull/3129/commits/3515d8359c5fc398ee16b5573574bb316646b4fc
3515d83https://github.com/modelcontextprotocol/python-sdk/pull/3129/commits/3515d8359c5fc398ee16b5573574bb316646b4fc
modelcontextprotocol#3129https://github.com/modelcontextprotocol/python-sdk/pull/3129
style: collapse snapshot assertions to single lines per ruff formathttps://github.com/modelcontextprotocol/python-sdk/pull/3129/commits/2921004f1172fe5ac0dcbec5b0c3b275c3846724
2921004https://github.com/modelcontextprotocol/python-sdk/pull/3129/commits/2921004f1172fe5ac0dcbec5b0c3b275c3846724
test: mark never-called ASGI receive stubs as no coverhttps://github.com/modelcontextprotocol/python-sdk/pull/3129/commits/5bd3ce6d7019ab160bd7001c01d2f67d54affb82
5bd3ce6https://github.com/modelcontextprotocol/python-sdk/pull/3129/commits/5bd3ce6d7019ab160bd7001c01d2f67d54affb82
https://github.com/dosvk
dosvkhttps://github.com/dosvk
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/deedfb8d454c1f4b24c5334a8d5c3f34f44c08e1..5bd3ce6d7019ab160bd7001c01d2f67d54affb82
deedfb8https://github.com/modelcontextprotocol/python-sdk/commit/deedfb8d454c1f4b24c5334a8d5c3f34f44c08e1
5bd3ce6https://github.com/modelcontextprotocol/python-sdk/commit/5bd3ce6d7019ab160bd7001c01d2f67d54affb82
Compare https://github.com/modelcontextprotocol/python-sdk/compare/deedfb8d454c1f4b24c5334a8d5c3f34f44c08e1..5bd3ce6d7019ab160bd7001c01d2f67d54affb82
August 6, 2026 20:49https://github.com/modelcontextprotocol/python-sdk/pull/3129#event-29086793064
https://github.com/fgranata
fgranatahttps://github.com/fgranata
Aug 7, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3129#issuecomment-5215479733
@dosvkhttps://github.com/dosvk
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3129
https://github.com/dosvk
dosvkhttps://github.com/dosvk
Aug 7, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3129#issuecomment-5218516919
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3129
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Aug 10, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3129#ref-pullrequest-4903403023
fix(streamable-http): return spec-mandated 405 for pre-session GET (Closes #3102) #3104 https://github.com/modelcontextprotocol/python-sdk/pull/3104
https://github.com/clemlesne
clemlesnehttps://github.com/clemlesne
Sep 14, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3129#ref-issue-5452207074
streamable HTTP client: the standalone GET stream advertises Accept: application/json but can only read text/event-stream, then gives up silently #3503 https://github.com/modelcontextprotocol/python-sdk/issues/3503
https://github.com/dosvk
dosvkhttps://github.com/dosvk
Oct 16, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3129#issuecomment-6217700054
#3102https://github.com/modelcontextprotocol/python-sdk/issues/3102
@fgranatahttps://github.com/fgranata
#2474https://github.com/modelcontextprotocol/python-sdk/issues/2474
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3129
https://github.com/dosvk
dosvkhttps://github.com/dosvk
Oct 16, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3129#event-33454037496
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%2F3129
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/3129/files/8409a65816ec332f639052432cab834a5913b31f
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3129
Streamable HTTP server never returns the spec-mandated 405 for GET requests it won't serve as SSE (406/400 instead) — breaks client SSE-probe fallback https://github.com/modelcontextprotocol/python-sdk/issues/3102
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3129
https://github.com/dosvk
https://github.com/fgranata
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.