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
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:57e5f66d-3bd4-d754-eb14-ae36b3a2e724 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9CFE:1DED83:C5D2:F95B:6A5918B5 |
| html-safe-nonce | fd520c101841f850eed0062041335844bf18917b4a36319ce83affa1aed4014e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0ZFOjFERUQ4MzpDNUQyOkY5NUI6NkE1OTE4QjUiLCJ2aXNpdG9yX2lkIjoiMzA1NjQzMzM0OTk1MDg5NTg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fb149c1b5cabd77ed8e36e316034ceca5ebd5fb3e23dbb1881f5999b2c657edf |
| hovercard-subject-tag | pull_request:3473125399 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2380/commits |
| twitter:image | https://opengraph.githubassets.com/71a7d1ddba3a47d201f34e159cd38e7b0ce40439bc6ffd34226bb7dd9478f0c9/modelcontextprotocol/python-sdk/pull/2380 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/71a7d1ddba3a47d201f34e159cd38e7b0ce40439bc6ffd34226bb7dd9478f0c9/modelcontextprotocol/python-sdk/pull/2380 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxisbey |
| hostname | github.com |
| expected-hostname | github.com |
| None | de7b53b927e5bfbf02672a5b2960bf82d1608d91c6d7888039c826ebf8d4ca76 |
| turbo-cache-control | no-cache |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 020f8e5d3a42ae1a22d3f297198ccfca124edd1d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width