René's URL Explorer Experiment


Title: Sending cancellation notification to server based on client anyio.CancelScope status by davemssavage · Pull Request #628 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Sending cancellation notification to server based on client anyio.CancelScope status by davemssavage · Pull Request #628 · modelcontextprotocol/python-sdk

X Title: Sending cancellation notification to server based on client anyio.CancelScope status by davemssavage · Pull Request #628 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Sending cancellation notification to server based on client anyio.CancelScope status by davemssavage · Pull Request #628 · modelcontextprotocol/python-sdk

Open Graph Description: Motivation and Context MCP 2025-03-26 introduces a cancellation notification [1] this patch simplifies the usage of this function for the ClientSession by using the anyio.CancelScope as a trigger t...

X Description: Motivation and Context MCP 2025-03-26 introduces a cancellation notification [1] this patch simplifies the usage of this function for the ClientSession by using the anyio.CancelScope as a trigger t...

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

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:2c0f0bca-1604-a32c-d6b2-42730a0a91b6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD9B4:388C7E:79F123:A2221E:6A5A7D54
html-safe-nonce4d15488f76376c481868a11e749244aa940fb248a1c7b50ce15213a1ae9b7f34
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUI0OjM4OEM3RTo3OUYxMjM6QTIyMjFFOjZBNUE3RDU0IiwidmlzaXRvcl9pZCI6Ijg1OTk3MTU1MDU2Mjc2MjY4MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4453000d39c8253241f521c2077e97255628e2c80e270dffea196f0594944ddb
hovercard-subject-tagpull_request:2497516178
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/628/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/537c335137e9e510d7d48721d88afb20a53bc6fe83d7c2e4dbe4c1f26a578d77/modelcontextprotocol/python-sdk/pull/628
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/537c335137e9e510d7d48721d88afb20a53bc6fe83d7c2e4dbe4c1f26a578d77/modelcontextprotocol/python-sdk/pull/628
og:image:altMotivation and Context MCP 2025-03-26 introduces a cancellation notification [1] this patch simplifies the usage of this function for the ClientSession by using the anyio.CancelScope as a trigger t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedavemssavage
hostnamegithub.com
expected-hostnamegithub.com
None922bdba685ea48400234d557977f0e32d9adbae6f5125725b4f48cacc6801106
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
release0437efb828a4041956ce45d1f7fe69fff38926c7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/628#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F628
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%2F628
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/628
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/628
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/628
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/628
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 256 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
davemssavagehttps://github.com/davemssavage
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
davemssavage:cancellationhttps://github.com/davemssavage/python-sdk/tree/cancellation
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/628
Commits37 (37)https://github.com/modelcontextprotocol/python-sdk/pull/628/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/628/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/628/files
Sending cancellation notification to server based on client anyio.CancelScope statushttps://github.com/modelcontextprotocol/python-sdk/pull/628#top
davemssavagehttps://github.com/davemssavage
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
davemssavage:cancellationhttps://github.com/davemssavage/python-sdk/tree/cancellation
https://github.com/davemssavage
davemssavagehttps://github.com/davemssavage
May 4, 2025https://github.com/modelcontextprotocol/python-sdk/pull/628#issue-3038263339
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/628
#160https://github.com/modelcontextprotocol/python-sdk/issues/160
MCP Documentationhttps://modelcontextprotocol.io
https://modelcontextprotocol.io/specification/2025-03-26/basic/utilities/cancellationhttps://modelcontextprotocol.io/specification/2025-03-26/basic/utilities/cancellation
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/628
davemssavagehttps://github.com/davemssavage
May 4, 2025 17:53https://github.com/modelcontextprotocol/python-sdk/pull/628#commits-pushed-f9598ad
https://github.com/davemssavage
attempt to support cancelationhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/f9598ad80719ec72320d6d34bca1b899613b8510
f9598adhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/f9598ad80719ec72320d6d34bca1b899613b8510
https://github.com/davemssavage
fix sending cancelhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/dfb3686a5d1f7385f31b714d5a420af630ae773c
dfb3686https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/dfb3686a5d1f7385f31b714d5a420af630ae773c
https://github.com/davemssavage
add decorator for handling cancelationhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/abda067134a421878a9ce0fd6e99ed3b2c09122b
abda067https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/abda067134a421878a9ce0fd6e99ed3b2c09122b
https://github.com/davemssavage
fix capitalisation on error messagehttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/24553c65abd4944eeb4209955a85500ef6362ded
24553c6https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/24553c65abd4944eeb4209955a85500ef6362ded
https://github.com/davemssavage
try to check notification event receivedhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/fe49931a390f0a2e2cda651dc230e404c470f671
fe49931https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/fe49931a390f0a2e2cda651dc230e404c470f671
https://github.com/davemssavage
fix testhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/efd0ffdd8ed5e2d0bfe2a19811473312032364a4
efd0ffdhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/efd0ffdd8ed5e2d0bfe2a19811473312032364a4
https://github.com/davemssavage
fix debug messagehttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/1364b7a358421d202563032cc73cee741d389fc4
1364b7ahttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/1364b7a358421d202563032cc73cee741d389fc4
https://github.com/davemssavage
prevent cancel on intialisation as perhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/17ae44cec83543c7deba209702e4373b05d2da04
https://modelcontextprotocol.i…https://modelcontextprotocol.io/specification/2025-03-26/basic/utilities/cancellation
17ae44chttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/17ae44cec83543c7deba209702e4373b05d2da04
…o/specification/2025-03-26/basic/utilities/cancellationhttps://modelcontextprotocol.io/specification/2025-03-26/basic/utilities/cancellation
https://github.com/davemssavage
remove unused importshttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/06f4b3c5a3108ace2bd7028e562bd13d82b56dc7
06f4b3chttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/06f4b3c5a3108ace2bd7028e562bd13d82b56dc7
https://github.com/davemssavage
fixed long linehttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/07e1a525b02faff8f2fee9894daaaaeffc57afa5
07e1a52https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/07e1a525b02faff8f2fee9894daaaaeffc57afa5
https://github.com/davemssavage
fixed long linehttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/92f806b95912575673116c46511253c0756d8eb7
92f806bhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/92f806b95912575673116c46511253c0756d8eb7
https://github.com/davemssavage
updates from ruff formathttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/e46c693290afd29c178467fc7d25ebe87cecbc34
e46c693https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/e46c693290afd29c178467fc7d25ebe87cecbc34
https://github.com/davemssavage
removed dev print statements committed by mistakehttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/2a24e0cba16d21e68d93e79e7d61d834a9ae9bf5
2a24e0chttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/2a24e0cba16d21e68d93e79e7d61d834a9ae9bf5
https://github.com/davemssavage
davemssavagehttps://github.com/davemssavage
May 4, 2025https://github.com/modelcontextprotocol/python-sdk/pull/628#event-17511626366
davemssavagehttps://github.com/davemssavage
May 4, 2025 21:55https://github.com/modelcontextprotocol/python-sdk/pull/628#commits-pushed-87722f8
https://github.com/davemssavage
add constant for request cancelled and use it in case of cancelled taskhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/87722f8bfdf8876400207cdcf940fd4dc1e3a5e9
87722f8https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/87722f8bfdf8876400207cdcf940fd4dc1e3a5e9
https://github.com/davemssavage
fix long linehttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/f0782d251c64275df6a248bb1a779f5d2dc24699
f0782d2https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/f0782d251c64275df6a248bb1a779f5d2dc24699
https://github.com/davemssavage
fix import orderhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/a0164f989904e6f649df64ab057ac3e88cfc1bf9
a0164f9https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/a0164f989904e6f649df64ab057ac3e88cfc1bf9
https://github.com/davemssavage
add assert that cancel scope triggered on server, add comments for re…https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/bf220d58b534d9de68386bb565b19e6c8c0ee392
bf220d5https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/bf220d58b534d9de68386bb565b19e6c8c0ee392
https://github.com/davemssavage
trivial update to comment capitalisationhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/45ac52ae33105c489aaba1f014cb27759085fee7
45ac52ahttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/45ac52ae33105c489aaba1f014cb27759085fee7
https://github.com/davemssavage
simplify test codehttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/8b7f1cda328c2119883ab5e1d8822bc1faf64154
8b7f1cdhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/8b7f1cda328c2119883ab5e1d8822bc1faf64154
https://github.com/davemssavage
add tests to assert cancellable=False behaves as expectedhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/ac4b8226069f53dff177cfe2d80bdaa6120e1546
ac4b822https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/ac4b8226069f53dff177cfe2d80bdaa6120e1546
https://github.com/davemssavage
tidy up ruff checkhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/d86b4a51934d2a5954a6116f06386fd5007959b4
d86b4a5https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/d86b4a51934d2a5954a6116f06386fd5007959b4
https://github.com/davemssavage
ruff format updatehttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/6f4ae44cad46342e6c0154848b7a8b96aad2eeda
6f4ae44https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/6f4ae44cad46342e6c0154848b7a8b96aad2eeda
https://github.com/davemssavage
fixed test descriptionhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/11d2e5296c9b47af312a0abc595248a4d0aa1b1d
11d2e52https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/11d2e5296c9b47af312a0abc595248a4d0aa1b1d
https://github.com/davemssavage
davemssavagehttps://github.com/davemssavage
May 5, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/628#pullrequestreview-2813853145
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/628/files/11d2e5296c9b47af312a0abc595248a4d0aa1b1d
src/mcp/shared/session.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/628/files/11d2e5296c9b47af312a0abc595248a4d0aa1b1d#diff-aaa1596dd4db91f5cd7f743c8afbe58596daf01a2ecec4a0024768f7409fb1dc
davemssavagehttps://github.com/davemssavage
May 5, 2025https://github.com/modelcontextprotocol/python-sdk/pull/628#discussion_r2072875674
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/628
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/628
https://github.com/davemssavage
davemssavagehttps://github.com/davemssavage
May 5, 2025https://github.com/modelcontextprotocol/python-sdk/pull/628#event-17513728968
https://github.com/davemssavage
davemssavagehttps://github.com/davemssavage
May 5, 2025https://github.com/modelcontextprotocol/python-sdk/pull/628#event-17513731062
davemssavagehttps://github.com/davemssavage
May 5, 2025 06:05https://github.com/modelcontextprotocol/python-sdk/pull/628#commits-pushed-235df35
https://github.com/davemssavage
use defined types in decoratorhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/235df35de77e039653af0e20cf48f029225ec38c
235df35https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/235df35de77e039653af0e20cf48f029225ec38c
https://github.com/davemssavage
Add docstring info for cancellable and add TODO note for initialised …https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/f96aaa58dc4c7f8f894c7c300ee65e34cbadded5
f96aaa5https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/f96aaa58dc4c7f8f894c7c300ee65e34cbadded5
https://modelcontextprotocol.io/specification/2025-03-26/basic/utilities/cancellationhttps://modelcontextprotocol.io/specification/2025-03-26/basic/utilities/cancellation
https://github.com/davemssavage
set read_timeout_seconds to avoid test blocking for ever in case some…https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/bd73448b72897d1f18ca063e6cfd35b049c1216c
bd73448https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/bd73448b72897d1f18ca063e6cfd35b049c1216c
https://github.com/davemssavage
davemssavagehttps://github.com/davemssavage
May 5, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/628#pullrequestreview-2814384507
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/628/files/bd73448b72897d1f18ca063e6cfd35b049c1216c
tests/shared/test_session.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/628/files/bd73448b72897d1f18ca063e6cfd35b049c1216c#diff-c1cae39f59e7077c9b3f3310d51bd7fc70f57b80f25911dafdcf7720b71184c2
davemssavagehttps://github.com/davemssavage
May 5, 2025https://github.com/modelcontextprotocol/python-sdk/pull/628#discussion_r2073196622
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/628
davemssavagehttps://github.com/davemssavage
May 5, 2025 10:34https://github.com/modelcontextprotocol/python-sdk/pull/628#commits-pushed-3817fe2
https://github.com/davemssavage
remove unnecessary shielded cancel scopehttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/3817fe2f9d178ea1bea7f9354ff18b3315d805ba
3817fe2https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/3817fe2f9d178ea1bea7f9354ff18b3315d805ba
https://github.com/davemssavage
whitespacehttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/2fd27a28e883f27ee5c6a17a5c547cc19790c3e2
2fd27a2https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/2fd27a28e883f27ee5c6a17a5c547cc19790c3e2
https://github.com/davemssavage
clarified doc string commenthttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/2e86d32de05334e0f2cff4591d929631ca3f30db
2e86d32https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/2e86d32de05334e0f2cff4591d929631ca3f30db
https://github.com/davemssavage
fixed doc string and added comment on internal notification methodhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/1039b993ee8d11474f0d1a98668694f3cca91fc2
1039b99https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/1039b993ee8d11474f0d1a98668694f3cca91fc2
https://github.com/davemssavage
Merge branch 'main' into cancellationhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/b926970b960368b95230c295ac2e05efe2e9e33c
b926970https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/b926970b960368b95230c295ac2e05efe2e9e33c
https://github.com/davemssavage
davemssavagehttps://github.com/davemssavage
May 10, 2025https://github.com/modelcontextprotocol/python-sdk/pull/628#issuecomment-2869075416
#230https://github.com/modelcontextprotocol/python-sdk/issues/230
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/628
https://github.com/davemssavage
davemssavagehttps://github.com/davemssavage
May 10, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/628#ref-issue-2874504983
No way to get request_id for a tool call to cancel it #230 https://github.com/modelcontextprotocol/python-sdk/issues/230
davemssavagehttps://github.com/davemssavage
May 17, 2025 17:34https://github.com/modelcontextprotocol/python-sdk/pull/628#commits-pushed-cf1bb2b
https://github.com/davemssavage
merge from upstream mainhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/cf1bb2b95ad386c0a7566bf6b289c654b6bc3b3e
cf1bb2bhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/cf1bb2b95ad386c0a7566bf6b289c654b6bc3b3e
https://github.com/davemssavage
ignore type warning for internal use of send_notificationhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/39f7739a8fbb2f05d2d0a0d0c8d2f8cf71f218b7
39f7739https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/39f7739a8fbb2f05d2d0a0d0c8d2f8cf71f218b7
https://github.com/davemssavage
davemssavagehttps://github.com/davemssavage
May 18, 2025https://github.com/modelcontextprotocol/python-sdk/pull/628#issuecomment-2889036440
#744https://github.com/modelcontextprotocol/python-sdk/issues/744
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/628
https://github.com/davemssavage
davemssavagehttps://github.com/davemssavage
May 21, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/628#ref-pullrequest-3054990358
add Tool.outputSchema and CallToolResult.structuredContent #685 https://github.com/modelcontextprotocol/python-sdk/pull/685
https://github.com/davemssavage
Merge branch 'main' into cancellationhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/598756d2a23afc08d5b2c6c8ae16e2ff9811cbe6
598756dhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/598756d2a23afc08d5b2c6c8ae16e2ff9811cbe6
https://github.com/davemssavage
davemssavagehttps://github.com/davemssavage
May 26, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/628#ref-pullrequest-3088565087
Feature/resource progress #800 https://github.com/modelcontextprotocol/python-sdk/pull/800
https://github.com/davemssavage
davemssavagehttps://github.com/davemssavage
May 31, 2025 17:48https://github.com/modelcontextprotocol/python-sdk/pull/628#event-17903576131
https://github.com/davemssavage
davemssavagehttps://github.com/davemssavage
May 31, 2025https://github.com/modelcontextprotocol/python-sdk/pull/628#issuecomment-2925502032
modelcontextprotocol/modelcontextprotocol#617https://github.com/modelcontextprotocol/modelcontextprotocol/pull/617
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/628
davemssavagehttps://github.com/davemssavage
June 27, 2025 18:43https://github.com/modelcontextprotocol/python-sdk/pull/628#commits-pushed-4842cee
https://github.com/davemssavage
Merge branch 'main' into cancellationhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/4842cee2965597599063c989c1e2b698e130e29d
4842ceehttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/4842cee2965597599063c989c1e2b698e130e29d
https://github.com/davemssavage
ruff formathttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/8f2cfcaf0b27dd3e3b5c9d10422deb8397d48e02
8f2cfcahttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/8f2cfcaf0b27dd3e3b5c9d10422deb8397d48e02
https://github.com/davemssavage
remove unused importhttps://github.com/modelcontextprotocol/python-sdk/pull/628/commits/64a2ae084aafccb357022566ef2167f9b605e5b1
64a2ae0https://github.com/modelcontextprotocol/python-sdk/pull/628/commits/64a2ae084aafccb357022566ef2167f9b605e5b1
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
needs publish https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20publish%22
Sep 5, 2025https://github.com/modelcontextprotocol/python-sdk/pull/628#event-19529231566
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Sep 5, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/628#pullrequestreview-3189414823
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/628/files/64a2ae084aafccb357022566ef2167f9b605e5b1
felixweinbergerhttps://github.com/felixweinberger
https://github.com/modelcontextprotocol/python-sdk/pull/628#pullrequestreview-3189414823
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@davemssavagehttps://github.com/davemssavage
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/628
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
needs more work https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20more%20work%22
Sep 5, 2025https://github.com/modelcontextprotocol/python-sdk/pull/628#event-19529406267
https://github.com/ishan121028
ishan121028https://github.com/ishan121028
Sep 17, 2025https://github.com/modelcontextprotocol/python-sdk/pull/628#issuecomment-3304624953
@felixweinbergerhttps://github.com/felixweinberger
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/628
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
pending publish https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22pending%20publish%22
Nov 12, 2025https://github.com/modelcontextprotocol/python-sdk/pull/628#event-20894725527
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Dec 11, 2025https://github.com/modelcontextprotocol/python-sdk/pull/628#event-21501296416
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%2F628
https://github.com/felixweinberger
felixweinberger https://github.com/felixweinberger
https://github.com/modelcontextprotocol/python-sdk/pull/628/files/64a2ae084aafccb357022566ef2167f9b605e5b1
needs more work https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20more%20work%22
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/628
https://github.com/davemssavage
https://github.com/ishan121028
https://github.com/felixweinberger
https://github.com/maxisbey
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.