Title: fix(auth): get_access_token reflects current request in stateful sessions by Epochex · Pull Request #2675 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: fix(auth): get_access_token reflects current request in stateful sessions by Epochex · Pull Request #2675 · modelcontextprotocol/python-sdk
X Title: fix(auth): get_access_token reflects current request in stateful sessions by Epochex · Pull Request #2675 · modelcontextprotocol/python-sdk
Description: The official Python SDK for Model Context Protocol servers and clients - fix(auth): get_access_token reflects current request in stateful sessions by Epochex · Pull Request #2675 · modelcontextprotocol/python-sdk
Open Graph Description: Fixes #2208. Stateful Streamable HTTP sessions start the server task group on the first request. Anyio copies the request contextvars into that long-lived task, so get_access_token() could keep ret...
X Description: Fixes #2208. Stateful Streamable HTTP sessions start the server task group on the first request. Anyio copies the request contextvars into that long-lived task, so get_access_token() could keep ret...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2675
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:9670db98-e79a-9168-17d9-4236a5264e80 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C206:66232:3ACD52:550DC8:6A61E68A |
| html-safe-nonce | 410adcc36bd37b5024a41d5d812a09675c47f74619b29973c9e7bf526bc1b6a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjA2OjY2MjMyOjNBQ0Q1Mjo1NTBEQzg6NkE2MUU2OEEiLCJ2aXNpdG9yX2lkIjoiMzEwODIyNzE2OTE0OTY0MjM3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f7f285eb1389c2aebe9d2681e57018ac1ccc2d20a0b1218e6a8afc413356f5f5 |
| hovercard-subject-tag | pull_request:3738530139 |
| 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/2675/commits |
| twitter:image | https://opengraph.githubassets.com/12b5f68d1c9f43856081a582bc52c92a27bf70c18dd5401374131fb113034284/modelcontextprotocol/python-sdk/pull/2675 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/12b5f68d1c9f43856081a582bc52c92a27bf70c18dd5401374131fb113034284/modelcontextprotocol/python-sdk/pull/2675 |
| og:image:alt | Fixes #2208. Stateful Streamable HTTP sessions start the server task group on the first request. Anyio copies the request contextvars into that long-lived task, so get_access_token() could keep ret... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Epochex |
| hostname | github.com |
| expected-hostname | github.com |
| None | b2de8c74e5e61e893155ba46ee41bc66170c1644cb795adefa8386d490f7781c |
| 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 | d1866027ded575df8a15c731dd8b9986c9483ceb |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width