Title: fix(session): return INVALID_REQUEST error instead of crashing on pre-init requests by Smeet23 · Pull Request #2411 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: fix(session): return INVALID_REQUEST error instead of crashing on pre-init requests by Smeet23 · Pull Request #2411 · modelcontextprotocol/python-sdk
X Title: fix(session): return INVALID_REQUEST error instead of crashing on pre-init requests by Smeet23 · Pull Request #2411 · modelcontextprotocol/python-sdk
Description: The official Python SDK for Model Context Protocol servers and clients - fix(session): return INVALID_REQUEST error instead of crashing on pre-init requests by Smeet23 · Pull Request #2411 · modelcontextprotocol/python-sdk
Open Graph Description: Problem When an MCP client sends a request (e.g. tools/list) before completing the initialize handshake, the server raises a RuntimeError that propagates through the anyio task group and crashes th...
X Description: Problem When an MCP client sends a request (e.g. tools/list) before completing the initialize handshake, the server raises a RuntimeError that propagates through the anyio task group and crashes th...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2411
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:5a05160d-423e-555e-d011-a80ec8c93fbe |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C434:2B893D:42628A1:5D1C43F:6A5FB049 |
| html-safe-nonce | 12d40719e2162ce66e25dee869d40ca2ac30ccfb395e719fede5af97d4ce21bf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDM0OjJCODkzRDo0MjYyOEExOjVEMUM0M0Y6NkE1RkIwNDkiLCJ2aXNpdG9yX2lkIjoiNTMwNzg2OTYyMTU0NjYyNzE0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7008771e9edad28bc5474346104e6c28d371878b49bb9518b8147cd4f3491889 |
| hovercard-subject-tag | pull_request:3507979373 |
| 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/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2411/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f09c109a55c877514ccdbaa242f5d1356b1918c50294d218e1e3c69e35ce93de/modelcontextprotocol/python-sdk/pull/2411 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f09c109a55c877514ccdbaa242f5d1356b1918c50294d218e1e3c69e35ce93de/modelcontextprotocol/python-sdk/pull/2411 |
| og:image:alt | Problem When an MCP client sends a request (e.g. tools/list) before completing the initialize handshake, the server raises a RuntimeError that propagates through the anyio task group and crashes th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Smeet23 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1ec7085bd7214c509393537f93bc21c48856549e31538b70bdb3cc4df7eb5f70 |
| 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 | b0ff0ab699186747983f122c82d4ebc71a1c22b4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width