René's URL Explorer Experiment


Title: Expire idle Streamable HTTP sessions by default and cap concurrent sessions by maxisbey · Pull Request #3395 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Expire idle Streamable HTTP sessions by default and cap concurrent sessions by maxisbey · Pull Request #3395 · modelcontextprotocol/python-sdk

X Title: Expire idle Streamable HTTP sessions by default and cap concurrent sessions by maxisbey · Pull Request #3395 · modelcontextprotocol/python-sdk

Description: Fixes #2455, fixes #3228, fixes #3300 Stateful Streamable HTTP sessions now have a lifecycle the server owns: a session is forgotten as soon as it ends, sessions with nothing in flight expire after session_idle_timeout (default 30 minutes), and a manager holds at most max_sessions (default 10 000) at a time. Both settings are accepted by streamable_http_app(), run_streamable_http_async() and run(transport="streamable-http"), next to max_request_body_size. Motivation and Context session_idle_timeout has existed on StreamableHTTPSessionManager since 1.27 but defaulted to None and wasn't reachable from MCPServer or Server.streamable_http_app() (#2455), so at stock settings a session whose client never sent DELETE stayed registered, with its server task and streams, until the process exited. The docstring already recommended 1800 seconds; this makes it the default, which is also what the Ruby SDK ships (the C# SDK measures idleness the same in-flight-aware way, with a longer window and a 10 000-session limit). Three related bookkeeping fixes ride along because the default only makes sense with them: "Idle" is measured from when the session's last in-flight request completes, not from when the last request arrived. An open GET stream or a long-running call holds the session, so connected clients and slow tools are never expired mid-flight (the second half of #2455). The transport owns the countdown since it sees every request start and finish. A client DELETE now removes the session's entry immediately (the per-session cleanup used to skip terminated transports, #3300), and the per-session task forgets and terminates the session however its loop ended. A request without a session ID that the server refuses (anything but an accepted initialize: wrong Accept, malformed JSON, a non-initialize message, GET/DELETE) no longer leaves a registered session and task behind (#3228). max_sessions limits how many stateful sessions one manager holds at a time: while that many are open, a request that would open another gets 503 with a JSON-RPC error body (code -32603, as for the subscription limit); existing sessions are unaffected and room frees up as they end or expire. Nothing is evicted to make room. The session-creation lock is held only for that check and the registration; the opening request itself is served outside it. Stateless mode gets the matching cleanup: a per-request transport is terminated even when its request is cancelled (client went away), so the per-request task always ends. How Has This Been Tested? New tests in tests/server/test_streamable_http_manager.py, tests/shared/test_streamable_http.py, tests/server/test_streamable_http_router.py and tests/docs_src/: a deleted session is forgotten and its ID answers 404 "Session not found"; each refused opening-request shape leaves no session (and its transport is terminated), and neither does an opening request whose handler raises, is cancelled, or whose session task cannot start; a cancelled stateless request still terminates its transport; a transport whose idle period has run out answers 404; the defaults; a tools/call parked past the timeout, an open GET stream, and a request completing under an open GET stream all keep the session, after which it expires and answers 404; session max_sessions + 1 gets 503 and a slot frees as soon as a session is deleted; non-positive or non-finite values are rejected; the factories forward both settings; the transport can be constructed outside an event loop and creates its idle scope on connect(). The interaction test for DELETE asserts the new contract. Full suite (100 % coverage, strict-no-cover), pyright and ruff pass locally; also exercised end to end against streamable_http_app() under uvicorn with the SDK client and raw HTTP. Breaking Changes No signature loses anything and every new parameter has a default (keyword-only on the factories), but two defaults are now active where previously there was no limit: session_idle_timeout defaults to 1800 instead of None. A stateful session with no request in flight for 30 minutes (no open GET stream, no running call) is terminated; the client's next request gets 404 and it has to initialize again, as the spec describes. Clients that keep the GET stream open (the SDK clients do) or have a call running are unaffected. Pass session_idle_timeout=None for the previous behaviour. max_sessions defaults to 10_000. Deployments that expect more than 10 000 concurrent stateful sessions in one process should raise it or pass None. Smaller observable differences: constructing a stateless manager with a timeout no longer raises (the value is unused there); session_idle_timeout must be finite (None, not math.inf, means never); a request on a deleted session is answered by the manager (404, "Session not found") rather than by the terminated transport; StreamableHTTPServerTransport accepts an optional idle_timeout and creates idle_scope itself when it is set. Types of changes Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality) Breaking change (fix or feature that would cause existing functionality to change) Documentation update Checklist I am assigned to the linked issue (or it is labeled help wanted, or I'm a maintainer) I have disclosed any AI assistance and can explain the change in my own words I have read the MCP Documentation My code follows the repository's style guidelines New and existing tests pass locally I have added appropriate error handling I have added or updated documentation as needed Additional context docs/run/index.md, docs/run/legacy-clients.md and the Session not found entry in docs/troubleshooting.md describe the defaults and how to turn them off. Stateless mode and the 2026-07-28 request path keep no sessions and are unaffected. Thanks to @shaun0927 (#2457) and @sainikhiljuluri (#3229) for the earlier PRs in this area, which this supersedes. AI Disclaimer

Open Graph Description: Fixes #2455, fixes #3228, fixes #3300 Stateful Streamable HTTP sessions now have a lifecycle the server owns: a session is forgotten as soon as it ends, sessions with nothing in flight expire after...

X Description: Fixes #2455, fixes #3228, fixes #3300 Stateful Streamable HTTP sessions now have a lifecycle the server owns: a session is forgotten as soon as it ends, sessions with nothing in flight expire after...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0ac94697-8a34-2fee-d9e8-80c9dc3be6e4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEAE8:63875:24A48F:31C3AB:6B00C147
html-safe-nonce3f24b2a8f9a0bae0ef1bf32ba69b7bc4735ad4b042a1deec62305ad7d73121dc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUU4OjYzODc1OjI0QTQ4RjozMUMzQUI6NkIwMEMxNDciLCJ2aXNpdG9yX2lkIjoiMzc3ODU0NjYwNjI4NzE0MzIzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac74f709478bf3a2d8d0ca205cf10eb1fc5731f95f9d6f34d1bc5755b3c873ed50
hovercard-subject-tagpull_request:4367584257
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/3395/files
twitter:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
og:image:altFixes #2455, fixes #3228, fixes #3300 Stateful Streamable HTTP sessions now have a lifecycle the server owns: a session is forgotten as soon as it ends, sessions with nothing in flight expire after...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None93edd3bebc4afb7ce711ee74cb5d2a95927850b082a4d43e212222389cb1c415
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1fee81a280ea86312b69448e261b418189bfd5b5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3395%2Ffiles
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%2F3395%2Ffiles
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%2Ffiles&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
session-retention-defaultshttps://github.com/modelcontextprotocol/python-sdk/tree/session-retention-defaults
Conversation 32 https://github.com/modelcontextprotocol/python-sdk/pull/3395
Commits 6 https://github.com/modelcontextprotocol/python-sdk/pull/3395/commits
Checks 40 https://github.com/modelcontextprotocol/python-sdk/pull/3395/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/3395/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files
Expire idle Streamable HTTP sessions by default and cap concurrent sessions https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#top
Show all changes 6 commits https://github.com/modelcontextprotocol/python-sdk/pull/3395/files
95db302 Forget Streamable HTTP sessions when they end maxisbey Aug 14, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3395/commits/95db302656b02185307de92cf3d9935c12d2cb89
373e956 Expire idle Streamable HTTP sessions by default maxisbey Aug 14, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3395/commits/373e956b6feae5743290536e96471878d517f50f
ae2daca Cap concurrent Streamable HTTP sessions and expose the session limits… maxisbey Aug 14, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3395/commits/ae2daca69bba7b27c0eafbfdd972498185bbf6cf
1b50a12 End Streamable HTTP sessions through one path maxisbey Aug 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3395/commits/1b50a125fe43bbb19d1c46936ae0359b314f4db8
ab91d9c Report a full session table as a server error and hold the creation l… maxisbey Aug 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3395/commits/ab91d9c05f620168292324f429b17c178b79d1d3
2665a66 docs: describe session lifetime and limits in one place maxisbey Aug 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3395/commits/2665a66d951a1e0499835aa3eb74694d93dda972
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/3395/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files
index.md https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-b5f9cb40572b4dce535829f4f2698ea7149ff9d2d8c7bc61e1084f1c611d8210
legacy-clients.md https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-751f74d0fcc230ef045e0ecdfc190d3d67737c86b6fd6b65080757a4baf7f251
troubleshooting.md https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-373ebedf1806538a48b09135d964fe714cd54bd8c385e2ef97383324b759e82d
server.py https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
server.py https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
streamable_http_manager.py https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-1071ee05567116cb77322c376307b9071c6212871068ccf41911fc337ed473af
test_asgi.py https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-f3a61e55e7ad11ad703a7f18e5f842459e5c6469ede8a1a8461459f90f9bb461
test_legacy_clients.py https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-62bb5c0e6b44c7ed7d3c8cfc81d6aae797f69c305eff16ad2fcf3d95bdf992e6
test_hosting_session.py https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-23fb947502e0b134e093023f213e2e4e1a427996777d05da35dfe39499ad0741
test_streamable_http_manager.py https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-ee0bac8ccf39135f1347002539cc4af38ee7e89b85595884e94fb4ab304a111d
test_streamable_http_router.py https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-19d95b11a9e1249b7955143f91e9e2f482f5b09493dc88875c57b3ee08d58c08
test_streamable_http.py https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-57d1f3c64af36960aa61b1d77387fb6201b90fbc2f3d606bf2761315ce618cc5
docs/run/index.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-b5f9cb40572b4dce535829f4f2698ea7149ff9d2d8c7bc61e1084f1c611d8210
View file https://github.com/modelcontextprotocol/python-sdk/blob/2665a66d951a1e0499835aa3eb74694d93dda972/docs/run/index.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3395/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-b5f9cb40572b4dce535829f4f2698ea7149ff9d2d8c7bc61e1084f1c611d8210
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-b5f9cb40572b4dce535829f4f2698ea7149ff9d2d8c7bc61e1084f1c611d8210
docs/run/legacy-clients.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-751f74d0fcc230ef045e0ecdfc190d3d67737c86b6fd6b65080757a4baf7f251
View file https://github.com/modelcontextprotocol/python-sdk/blob/2665a66d951a1e0499835aa3eb74694d93dda972/docs/run/legacy-clients.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3395/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-751f74d0fcc230ef045e0ecdfc190d3d67737c86b6fd6b65080757a4baf7f251
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-751f74d0fcc230ef045e0ecdfc190d3d67737c86b6fd6b65080757a4baf7f251
docs/troubleshooting.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-373ebedf1806538a48b09135d964fe714cd54bd8c385e2ef97383324b759e82d
View file https://github.com/modelcontextprotocol/python-sdk/blob/2665a66d951a1e0499835aa3eb74694d93dda972/docs/troubleshooting.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3395/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-373ebedf1806538a48b09135d964fe714cd54bd8c385e2ef97383324b759e82d
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Aug 28, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#r3881402938
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-373ebedf1806538a48b09135d964fe714cd54bd8c385e2ef97383324b759e82d
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-373ebedf1806538a48b09135d964fe714cd54bd8c385e2ef97383324b759e82d
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-373ebedf1806538a48b09135d964fe714cd54bd8c385e2ef97383324b759e82d
src/mcp/server/lowlevel/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
View file https://github.com/modelcontextprotocol/python-sdk/blob/2665a66d951a1e0499835aa3eb74694d93dda972/src/mcp/server/lowlevel/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3395/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
src/mcp/server/mcpserver/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
View file https://github.com/modelcontextprotocol/python-sdk/blob/2665a66d951a1e0499835aa3eb74694d93dda972/src/mcp/server/mcpserver/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3395/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
src/mcp/server/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
View file https://github.com/modelcontextprotocol/python-sdk/blob/2665a66d951a1e0499835aa3eb74694d93dda972/src/mcp/server/streamable_http.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3395/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
https://github.com/modelcontextprotocol/python-sdk/pull/3395/files#diff-0119e4c1bbf2fde7ba89b9c9f5bc472ccc2332f84e96e47cf9e45cebef801da3
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3395/files
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.