René's URL Explorer Experiment


Title: sketch: refactor lowlevel server to handler pattern by maxisbey · Pull Request #1968 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: sketch: refactor lowlevel server to handler pattern by maxisbey · Pull Request #1968 · modelcontextprotocol/python-sdk

X Title: sketch: refactor lowlevel server to handler pattern by maxisbey · Pull Request #1968 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - sketch: refactor lowlevel server to handler pattern by maxisbey · Pull Request #1968 · modelcontextprotocol/python-sdk

Open Graph Description: Replaces decorator-based handler registration with RequestHandler/NotificationHandler classes. Changes New files: request_handler.py and notification_handler.py with typed overloaded constructors ...

X Description: Replaces decorator-based handler registration with RequestHandler/NotificationHandler classes. Changes New files: request_handler.py and notification_handler.py with typed overloaded constructors ...

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

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:bda1beb2-5bf7-ca60-861f-b27da5192492
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id815C:30460E:1959DE5:2083285:6A5C623D
html-safe-nonce1d6bc2582e5c7da781132bc0b138058bf7d4c296b251479e7135a1bc67b49485
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTVDOjMwNDYwRToxOTU5REU1OjIwODMyODU6NkE1QzYyM0QiLCJ2aXNpdG9yX2lkIjoiMzQxMjk0MjMwNDA5MjkwNjA0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac34d5ffddd44f658feb7b10887f0c5cedf5dacbcc0f8d07fff9e273f1c5304f47
hovercard-subject-tagpull_request:3218864104
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/1968/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b6cf0d4e23d8ff3ab81767f889ca489897933e30540c9ca8a102413f42071279/modelcontextprotocol/python-sdk/pull/1968
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b6cf0d4e23d8ff3ab81767f889ca489897933e30540c9ca8a102413f42071279/modelcontextprotocol/python-sdk/pull/1968
og:image:altReplaces decorator-based handler registration with RequestHandler/NotificationHandler classes. Changes New files: request_handler.py and notification_handler.py with typed overloaded constructors ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxisbey
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/1968#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1968
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%2F1968
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/1968
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1968
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1968
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
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.7k 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 307 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
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
sketch/lowlevel-server-v2https://github.com/modelcontextprotocol/python-sdk/tree/sketch/lowlevel-server-v2
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/1968
Commits17 (17)https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/1968/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files
sketch: refactor lowlevel server to handler patternhttps://github.com/modelcontextprotocol/python-sdk/pull/1968#top
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
sketch/lowlevel-server-v2https://github.com/modelcontextprotocol/python-sdk/tree/sketch/lowlevel-server-v2
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jan 28, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#issue-3865501458
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jan 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1968#pullrequestreview-3716787443
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1968/files
src/mcp/server/lowlevel/notification_handler.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-7ee000a2fad04db7bf13c6d70fd2c8cf8c3f60bf393436e027c09eb2a4c34a87
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Kludexhttps://github.com/Kludex
January 28, 2026 15:22https://github.com/modelcontextprotocol/python-sdk/pull/1968#event-22349059505
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jan 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1968#pullrequestreview-3717786745
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1968/files
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jan 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1968#pullrequestreview-3717790610
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1968/files
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
Kludexhttps://github.com/Kludex
Jan 28, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2737532863
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
maxisbeyhttps://github.com/maxisbey
Jan 28, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2738554111
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jan 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1968#pullrequestreview-3717799252
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1968/files
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jan 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1968#pullrequestreview-3717808379
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1968/files
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
Kludexhttps://github.com/Kludex
Jan 28, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2737547260
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
Kludexhttps://github.com/Kludex
Jan 28, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2737548090
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
maxisbeyhttps://github.com/maxisbey
Jan 28, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2738558220
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jan 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1968#pullrequestreview-3717815497
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1968/files
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jan 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1968#pullrequestreview-3717823273
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1968/files
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
Kludexhttps://github.com/Kludex
Jan 28, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2737559129
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
maxisbeyhttps://github.com/maxisbey
Jan 28, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2738397718
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
maxisbeyhttps://github.com/maxisbey
Jan 28, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2738560609
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jan 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1968#pullrequestreview-3717831570
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1968/files
src/mcp/server/lowlevel/experimental.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-3e62e66c84aff2e748e8c750f1144de569f6e6e0fe2b9a45ab39794032b10b92
Kludexhttps://github.com/Kludex
Jan 28, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2737565786
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
maxisbeyhttps://github.com/maxisbey
Jan 28, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2738563069
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jan 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1968#pullrequestreview-3717844520
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1968/files
src/mcp/server/lowlevel/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jan 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1968#pullrequestreview-3717856537
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1968/files
src/mcp/server/lowlevel/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jan 28, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1968#pullrequestreview-3717882264
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1968/files
src/mcp/server/mcpserver/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Kludexhttps://github.com/Kludex
January 28, 2026 20:58https://github.com/modelcontextprotocol/python-sdk/pull/1968#event-22357741396
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jan 29, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1968#pullrequestreview-3721497839
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1968/files
Kludexhttps://github.com/Kludex
https://github.com/modelcontextprotocol/python-sdk/pull/1968#pullrequestreview-3721497839
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
src/mcp/server/lowlevel/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
src/mcp/shared/context.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-39333468a87a8b7df9e7916239f97203647716e5465b846328ec277e179c7ceb
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
src/mcp/shared/context.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-39333468a87a8b7df9e7916239f97203647716e5465b846328ec277e179c7ceb
Kludexhttps://github.com/Kludex
Jan 29, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2740671920
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
maxisbeyhttps://github.com/maxisbey
Jan 29, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2742413437
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
Kludexhttps://github.com/Kludex
Jan 30, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2746596256
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
maxisbeyhttps://github.com/maxisbey
Jan 30, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2747348579
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
SEP-1699https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1699
https://github.com/modelcontextprotocol/python-sdk/blob/5e1bf86/src/mcp/server/streamable_http.py#L225-L250https://github.com/modelcontextprotocol/python-sdk/blob/5e1bf86/src/mcp/server/streamable_http.py#L225-L250
https://github.com/modelcontextprotocol/python-sdk/blob/5e1bf86/src/mcp/server/mcpserver/server.py#L1279-L1309https://github.com/modelcontextprotocol/python-sdk/blob/5e1bf86/src/mcp/server/mcpserver/server.py#L1279-L1309
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
src/mcp/server/mcpserver/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
Kludexhttps://github.com/Kludex
Jan 29, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2740675883
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
maxisbeyhttps://github.com/maxisbey
Jan 29, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2742491858
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
python-sdk/src/mcp/server/mcpserver/server.pyhttps://github.com/modelcontextprotocol/python-sdk/blob/b38716e5e3761dd2d52809d2d68ce65325faad5e/src/mcp/server/mcpserver/server.py#L490
b38716ehttps://github.com/modelcontextprotocol/python-sdk/commit/b38716e5e3761dd2d52809d2d68ce65325faad5e
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
Kludexhttps://github.com/Kludex
Jan 30, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2746600376
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jan 29, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#issuecomment-3818694886
@Kludexhttps://github.com/Kludex
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Kludexhttps://github.com/Kludex
January 29, 2026 16:25https://github.com/modelcontextprotocol/python-sdk/pull/1968#event-22381906109
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jan 30, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1968#pullrequestreview-3728558461
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1968/files
docs/experimental/index.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-9fdad40404ae06571e2184d17271a7cbe176853a3066edde9479316a02e702b3
Kludexhttps://github.com/Kludex
Jan 30, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2746472877
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
maxisbeyhttps://github.com/maxisbey
Jan 30, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2747100156
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
src/mcp/server/lowlevel/__init__.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-23afa7c38ae84d72d250bef2c82600dea679b780385858d1f71047a5fa04e218
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
src/mcp/server/lowlevel/experimental.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-3e62e66c84aff2e748e8c750f1144de569f6e6e0fe2b9a45ab39794032b10b92
Kludexhttps://github.com/Kludex
Jan 30, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2746480472
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
maxisbeyhttps://github.com/maxisbey
Jan 30, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2747076974
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
src/mcp/shared/context.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-39333468a87a8b7df9e7916239f97203647716e5465b846328ec277e179c7ceb
Kludexhttps://github.com/Kludex
Jan 30, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2746596256
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
src/mcp/server/mcpserver/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e
Kludexhttps://github.com/Kludex
Jan 30, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#discussion_r2746600376
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jan 30, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#issuecomment-3824798906
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
maxisbeyhttps://github.com/maxisbey
February 2, 2026 19:24https://github.com/modelcontextprotocol/python-sdk/pull/1968#commits-pushed-ec9815f
https://github.com/maxisbey
sketch: lowlevel server v2 with overloaded handler classeshttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/ec9815f636677549c94d6b1f5481bb04ee76c457
ec9815fhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/ec9815f636677549c94d6b1f5481bb04ee76c457
https://github.com/maxisbey
refactor: replace decorator-based handlers with RequestHandler/Notifi…https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/eb35b3ca8c1668e1cf9beceff1d5776d529142da
eb35b3chttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/eb35b3ca8c1668e1cf9beceff1d5776d529142da
https://github.com/maxisbey
refactor: split RequestContext into handler context hierarchyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/0b60fad14c0255750e846f4ee7e820ebf646225a
0b60fadhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/0b60fad14c0255750e846f4ee7e820ebf646225a
https://github.com/maxisbey
rename: self.endpoint -> self.handler in handler classeshttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/bed7e3c8d0c907d8f6725f3e253bfcdacb0b9299
bed7e3chttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/bed7e3c8d0c907d8f6725f3e253bfcdacb0b9299
https://github.com/maxisbey
refactor: decouple ExperimentalHandlers from Server internals, update…https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/860e8d6e9465542c10451770d5ea3f0d021517b8
860e8d6https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/860e8d6e9465542c10451770d5ea3f0d021517b8
https://github.com/maxisbey
refactor: update MCPServer to use RequestHandler pattern instead of d…https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/17c459c4e53e10f00c7b248a857509a328068d0c
17c459chttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/17c459c4e53e10f00c7b248a857509a328068d0c
https://github.com/maxisbey
refactor: collapse context hierarchy into single RequestContext classhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/8100870fb60f9395a794e439d59a2f3c3a81a783
8100870https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/8100870fb60f9395a794e439d59a2f3c3a81a783
https://github.com/maxisbey
refactor: move _ping_handler below Server classhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/d5c3b5fd26549a9835d1d26c72cf9d286f61cc86
d5c3b5fhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/d5c3b5fd26549a9835d1d26c72cf9d286f61cc86
https://github.com/maxisbey
refactor: merge request_handler.py and notification_handler.py into h…https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/952a29cc389a10ea34b719d26830dd7250d52f49
952a29chttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/952a29cc389a10ea34b719d26830dd7250d52f49
https://github.com/maxisbey
refactor: move request_ctx contextvar to lowlevel server, remove per-…https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/6f0b041662ff219ad8bc8c8127b61258c9b951af
6f0b041https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/6f0b041662ff219ad8bc8c8127b61258c9b951af
https://github.com/maxisbey
docs: fix migration guide — request_ctx contextvar still existshttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/aa6d861257fe196b90f00818f3b0d77b8842c4a0
aa6d861https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/aa6d861257fe196b90f00818f3b0d77b8842c4a0
https://github.com/maxisbey
docs: fix stale examples in migration guidehttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/24f1f39bf4cdbbd3fa59ab9da308331128411652
24f1f39https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/24f1f39bf4cdbbd3fa59ab9da308331128411652
maxisbeyhttps://github.com/maxisbey
February 2, 2026 19:24https://github.com/modelcontextprotocol/python-sdk/pull/1968#commits-pushed-8eb7299
https://github.com/maxisbey
refactor: address review — kw_only dataclass, type Experimental prope…https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/8eb72990bdc9401111f0fde3b72ff5c170a7aecc
8eb7299https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/8eb72990bdc9401111f0fde3b72ff5c170a7aecc
@DataClasshttps://github.com/DataClass
https://github.com/maxisbey
fix: allow ping handler override, add task overloads, update stale do…https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/cafb3e505ec63e823479fa8da7b744324b95ed9d
cafb3e5https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/cafb3e505ec63e823479fa8da7b744324b95ed9d
https://github.com/maxisbey
docs: move lowlevel server sections to Breaking Changes in migration …https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/4255a996733d7577e2103a8e4c06488439bba494
4255a99https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/4255a996733d7577e2103a8e4c06488439bba494
https://github.com/maxisbey
https://github.com/Kludex
Update src/mcp/server/lowlevel/__init__.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/044e12813b0da9f5d510d6cff829b7e014dc84de
044e128https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/044e12813b0da9f5d510d6cff829b7e014dc84de
https://github.com/maxisbey
refactor: remove request_ctx from lowlevel public API, fix experiment…https://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/f10995ed9810fd62f456ee2b5c3028e763ad05e0
f10995ehttps://github.com/modelcontextprotocol/python-sdk/pull/1968/commits/f10995ed9810fd62f456ee2b5c3028e763ad05e0
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
force-pushedhttps://github.com/modelcontextprotocol/python-sdk/compare/5e1bf86aa9aee5058f4f058bac22bacd34c113b3..f10995ed9810fd62f456ee2b5c3028e763ad05e0
5e1bf86https://github.com/modelcontextprotocol/python-sdk/commit/5e1bf86aa9aee5058f4f058bac22bacd34c113b3
f10995ehttps://github.com/modelcontextprotocol/python-sdk/commit/f10995ed9810fd62f456ee2b5c3028e763ad05e0
Compare https://github.com/modelcontextprotocol/python-sdk/compare/5e1bf86aa9aee5058f4f058bac22bacd34c113b3..f10995ed9810fd62f456ee2b5c3028e763ad05e0
February 2, 2026 19:24https://github.com/modelcontextprotocol/python-sdk/pull/1968#event-22475726832
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Feb 3, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#issuecomment-3841515529
#1985https://github.com/modelcontextprotocol/python-sdk/pull/1985
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Feb 3, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1968#event-22498396790
https://github.com/Kludex
Kludexhttps://github.com/Kludex
February 3, 2026 14:54https://github.com/modelcontextprotocol/python-sdk/pull/1968#event-22499925730
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Feb 3, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/1968#ref-pullrequest-3887840105
refactor: replace lowlevel Server decorators with on_* constructor kwargs #1985 https://github.com/modelcontextprotocol/python-sdk/pull/1985
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%2F1968
https://github.com/Kludex
Kludex https://github.com/Kludex
https://github.com/modelcontextprotocol/python-sdk/pull/1968/files/0cf57f40b9a20dcbb9d512a5fe910d139ce10206
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1968
https://github.com/maxisbey
https://github.com/Kludex
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.