René's URL Explorer Experiment


Title: Don't block the event loop on sync resource and prompt functions by maxisbey · Pull Request #2380 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Don't block the event loop on sync resource and prompt functions by maxisbey · Pull Request #2380 · modelcontextprotocol/python-sdk

X Title: Don't block the event loop on sync resource and prompt functions by maxisbey · Pull Request #2380 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Don't block the event loop on sync resource and prompt functions by maxisbey · Pull Request #2380 · modelcontextprotocol/python-sdk

Open Graph Description: Extends the #1909 fix to resources and prompts — sync @mcp.resource and @mcp.prompt handlers now run in worker threads instead of blocking the event loop. Motivation and Context #1909 fixed tools b...

X Description: Extends the #1909 fix to resources and prompts — sync @mcp.resource and @mcp.prompt handlers now run in worker threads instead of blocking the event loop. Motivation and Context #1909 fixed tools b...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:313f4ab1-f96b-a539-27a3-079be4b9578f
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idE94A:49D30:BD4FB7:FC05E9:6A599AF7
html-safe-nonce2fc0bac31ba0e4258f72d7d40e689e376feffe978cfc63de7b9282a6551328be
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTRBOjQ5RDMwOkJENEZCNzpGQzA1RTk6NkE1OTlBRjciLCJ2aXNpdG9yX2lkIjoiMjA5MDM4NTA1MzE3NjE0MjU4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbac2a90b0a78005c39a1ed1acee795e35823131d2760062f2c8cbdb27598c333
hovercard-subject-tagpull_request:3473125399
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2380/checks
twitter:imagehttps://opengraph.githubassets.com/71a7d1ddba3a47d201f34e159cd38e7b0ce40439bc6ffd34226bb7dd9478f0c9/modelcontextprotocol/python-sdk/pull/2380
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/71a7d1ddba3a47d201f34e159cd38e7b0ce40439bc6ffd34226bb7dd9478f0c9/modelcontextprotocol/python-sdk/pull/2380
og:image:altExtends the #1909 fix to resources and prompts — sync @mcp.resource and @mcp.prompt handlers now run in worker threads instead of blocking the event loop. Motivation and Context #1909 fixed tools b...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxisbey
hostnamegithub.com
expected-hostnamegithub.com
Nonea540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5
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
release737e0bf019c29d8431b268ae84d528b052789210
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2380/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2380%2Fchecks
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%2F2380%2Fchecks
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%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2380/checks
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2380/checks
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2380/checks
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2380/checks
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 255 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 301 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
fix/sync-resources-prompts-block-event-loophttps://github.com/modelcontextprotocol/python-sdk/tree/fix/sync-resources-prompts-block-event-loop
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2380
Commits2 (2)https://github.com/modelcontextprotocol/python-sdk/pull/2380/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2380/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2380/files
Don't block the event loop on sync resource and prompt functionshttps://github.com/modelcontextprotocol/python-sdk/pull/2380/checks#top
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
fix/sync-resources-prompts-block-event-loophttps://github.com/modelcontextprotocol/python-sdk/tree/fix/sync-resources-prompts-block-event-loop
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2380/checks
Claude Code Review https://github.com/modelcontextprotocol/python-sdk/pull/2380/checks?check_run_id=69396494319
CodeQL on: dynamic https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810636483
Analyze (actions) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810636483/job/69396369589?pr=2380
Analyze (python) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810636483/job/69396369575?pr=2380
Conformance Tests on: pull_request https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810639241
server-conformance https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810639241/job/69396374703?pr=2380
client-conformance https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810639241/job/69396374658?pr=2380
CI on: pull_request https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098
checks / pre-commit https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377822?pr=2380
checks / test (3.10, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377880?pr=2380
checks / test (3.10, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377850?pr=2380
checks / test (3.10, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377909?pr=2380
checks / test (3.10, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377897?pr=2380
checks / test (3.11, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377965?pr=2380
checks / test (3.11, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377916?pr=2380
checks / test (3.11, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377881?pr=2380
checks / test (3.11, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377947?pr=2380
checks / test (3.12, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377895?pr=2380
checks / test (3.12, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377946?pr=2380
checks / test (3.12, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377954?pr=2380
checks / test (3.12, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377975?pr=2380
checks / test (3.13, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396378021?pr=2380
checks / test (3.13, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377960?pr=2380
checks / test (3.13, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377968?pr=2380
checks / test (3.13, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377959?pr=2380
checks / test (3.14, lowest-direct, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377936?pr=2380
checks / test (3.14, lowest-direct, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377922?pr=2380
checks / test (3.14, locked, ubuntu-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396378047?pr=2380
checks / test (3.14, locked, windows-latest) https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377992?pr=2380
checks / readme-snippets https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396377669?pr=2380
all-green https://github.com/modelcontextprotocol/python-sdk/actions/runs/23810640098/job/69396962456?pr=2380
CodeQL https://github.com/modelcontextprotocol/python-sdk/pull/2380/checks?check_run_id=69396474563
Claude Code on: pull_request_review https://github.com/modelcontextprotocol/python-sdk/actions/runs/23811248351
claude https://github.com/modelcontextprotocol/python-sdk/actions/runs/23811248351/job/69398573863?pr=2380
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.