| 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:8f5361d4-dd4e-4eb9-a730-9368ee36b931 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AEF2:18D41C:24F6351:31A8E7B:6A59B116 |
| html-safe-nonce | e24f6341f089be2e8917a2676125b9d3120a167a345ef10267bf56c6827c6c28 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUYyOjE4RDQxQzoyNEY2MzUxOjMxQThFN0I6NkE1OUIxMTYiLCJ2aXNpdG9yX2lkIjoiNzc4OTk4NDE2NTk2NjQ5MTkyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1bf77a6926cddab638851322b0588ff85c4a0549893bf4bcc22ddadee959ad40 |
| hovercard-subject-tag | pull_request:3848055716 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2836/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d27175985a99ebfa95969d7866f8ff4d24fd903b92817761a8d46b0404a07e66/modelcontextprotocol/python-sdk/pull/2836 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d27175985a99ebfa95969d7866f8ff4d24fd903b92817761a8d46b0404a07e66/modelcontextprotocol/python-sdk/pull/2836 |
| og:image:alt | Bundled fixes around the same version/dispatch seams: unknown methods now get the JSON-RPC-correct error code on both sides, and protocol version comparisons go through a small registry instead of ... |
| 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 | ba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353 |
| 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 | ab680789ae4a316cdaf0d5a292a1760140931cc4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/2836#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2836 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F2836 |
|
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 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2836 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2836 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2836 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2836 |
|
modelcontextprotocol
| https://github.com/modelcontextprotocol |
| python-sdk | https://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
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 |
| maxisbey | https://github.com/maxisbey |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| maxisbey/method-not-found-and-version-registry | https://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/method-not-found-and-version-registry |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/2836 |
| Commits9 (9) | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/2836/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/2836/files |
| Fix unknown-method error code and add a protocol version registry | https://github.com/modelcontextprotocol/python-sdk/pull/2836#top |
| maxisbey | https://github.com/maxisbey |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| maxisbey/method-not-found-and-version-registry | https://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/method-not-found-and-version-registry |
|
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| Jun 11, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2836#issue-4641479462 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2836 |
| #1561 | https://github.com/modelcontextprotocol/python-sdk/issues/1561 |
| MCP Documentation | https://modelcontextprotocol.io |
| AI Disclaimer | https://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2836 |
| maxisbey | https://github.com/maxisbey |
| June 11, 2026 13:44 | https://github.com/modelcontextprotocol/python-sdk/pull/2836#commits-pushed-89722dd |
|
| https://github.com/maxisbey |
| Compare protocol versions through a known-version registry | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/89722dd3df5a695dabe7082780eee2ae95b39ccb |
| 89722dd | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/89722dd3df5a695dabe7082780eee2ae95b39ccb |
|
| https://github.com/maxisbey |
| Return METHOD_NOT_FOUND for requests with unknown methods | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/3230c3f6dd9cca1712bc09b9be321b374e3ff4f4 |
| 3230c3f | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/3230c3f6dd9cca1712bc09b9be321b374e3ff4f4 |
|
| https://github.com/maxisbey |
| Answer unknown methods with METHOD_NOT_FOUND before the initialize gate | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/4468a7fdd368ba0578df3fb29e6237b4dcd1e5ef |
| 4468a7f | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/4468a7fdd368ba0578df3fb29e6237b4dcd1e5ef |
|
| https://github.com/maxisbey |
| Expose the negotiated protocol version on ServerSession | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/3789d001a58944976a8cbe1c5e01e4a369b671c5 |
| 3789d00 | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/3789d001a58944976a8cbe1c5e01e4a369b671c5 |
|
| https://github.com/maxisbey |
| docs: extra fields on MCP types are ignored, not rejected | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/2374c997e0b585dcdf56d393f329c943e7065a83 |
| 2374c99 | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/2374c997e0b585dcdf56d393f329c943e7065a83 |
|
| https://github.com/maxisbey |
| Limit the version registry to released protocol versions | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/22176efcd13f6ad9ea79a12ffc4c40bbdac5e194 |
| 22176ef | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/22176efcd13f6ad9ea79a12ffc4c40bbdac5e194 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| June 11, 2026 14:44 | https://github.com/modelcontextprotocol/python-sdk/pull/2836#event-26631252028 |
| maxisbey | https://github.com/maxisbey |
| June 11, 2026 14:57 | https://github.com/modelcontextprotocol/python-sdk/pull/2836#commits-pushed-b978383 |
|
| https://github.com/maxisbey |
| docs: record the unknown-method error-code change in the migration guide | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/b97838344709565def2513c1b33a4d7a8f3d35eb |
| b978383 | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/b97838344709565def2513c1b33a4d7a8f3d35eb |
|
| https://github.com/maxisbey |
| Clarify protocol-version docstrings and tighten new tests | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/e1bf53f708fbd5bb5458084c430fff658de00d09 |
| e1bf53f | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/e1bf53f708fbd5bb5458084c430fff658de00d09 |
|
| https://github.com/maxisbey |
| Answer any unserved method with METHOD_NOT_FOUND before the initializ… | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/5dd7e4a26aa5ab93876766ec2a90ad6e9c916b40 |
| 5dd7e4a | https://github.com/modelcontextprotocol/python-sdk/pull/2836/commits/5dd7e4a26aa5ab93876766ec2a90ad6e9c916b40 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| felixweinberger | https://github.com/felixweinberger |
| June 11, 2026 15:20 | https://github.com/modelcontextprotocol/python-sdk/pull/2836#event-26633124349 |
| https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
|
Jun 11, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2836#pullrequestreview-4478337180 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/2836/files/5dd7e4a26aa5ab93876766ec2a90ad6e9c916b40 |
| src/mcp/shared/version.py | https://github.com/modelcontextprotocol/python-sdk/pull/2836/files/5dd7e4a26aa5ab93876766ec2a90ad6e9c916b40#diff-cbd997f5b52f8757771f4257216d82d29862715947778ae776ec13385baf9184 |
| felixweinberger | https://github.com/felixweinberger |
| Jun 11, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2836#discussion_r3397263765 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2836 |
| maxisbey | https://github.com/maxisbey |
| Jun 11, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2836#discussion_r3397280081 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2836 |
| https://github.com/felixweinberger |
| felixweinberger | https://github.com/felixweinberger |
|
Jun 11, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2836#pullrequestreview-4478343645 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/2836/files/5dd7e4a26aa5ab93876766ec2a90ad6e9c916b40 |
| src/mcp/shared/version.py | https://github.com/modelcontextprotocol/python-sdk/pull/2836/files/5dd7e4a26aa5ab93876766ec2a90ad6e9c916b40#diff-cbd997f5b52f8757771f4257216d82d29862715947778ae776ec13385baf9184 |
| felixweinberger | https://github.com/felixweinberger |
| Jun 11, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2836#discussion_r3397274054 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2836 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| 7267818 | https://github.com/modelcontextprotocol/python-sdk/commit/7267818e44ec41bea169d8499ce205d2e6614753 |
| Jun 11, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2836#event-26634317871 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2836 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| June 11, 2026 15:47 | https://github.com/modelcontextprotocol/python-sdk/pull/2836#event-26634319875 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
|
Jun 11, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2836#ref-pullrequest-4642346713 |
|
[v2] ClientSession runs on JSONRPCDispatcher; BaseSession removed
#2838
| https://github.com/modelcontextprotocol/python-sdk/pull/2838 |
| https://github.com/anneheartrecord |
| anneheartrecord | https://github.com/anneheartrecord |
|
Jun 13, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2836#ref-pullrequest-4650667722 |
|
fix: correlate invalid JSON-RPC envelope errors with the original request id
#2852
| https://github.com/modelcontextprotocol/python-sdk/pull/2852 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Jun 16, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2836#issuecomment-4723959402 |
| v2.0.0a2 | https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.0.0a2 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2836 |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2836 |
|
| https://github.com/felixweinberger |
|
felixweinberger
| https://github.com/felixweinberger |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2836/files/5dd7e4a26aa5ab93876766ec2a90ad6e9c916b40 |
|
Invalid method names return error code -32602 instead of -32601
| https://github.com/modelcontextprotocol/python-sdk/issues/1561 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2836 |
|
| https://github.com/maxisbey |
|
| https://github.com/felixweinberger |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |