| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:72a5c9fa-cfb8-fb46-4d0f-7038eda08f00 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A87C:5662:285776A:354063E:6B05758B |
| html-safe-nonce | aa634fdb1ea583a65f03b96526ad7942ef285a8343b199601e281d84d28061e3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODdDOjU2NjI6Mjg1Nzc2QTozNTQwNjNFOjZCMDU3NThCIiwidmlzaXRvcl9pZCI6IjgzNTA5ODQ4NTI3ODY3Mzg1NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3df00ce7b15361754357c826d7c4ea1c048ce5ed42424eb509af882517306ea6 |
| hovercard-subject-tag | pull_request:4150358998 |
| 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/3201/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/86ab5cdde333b91858772465d2dc06ec5e84f239cf84442b9b72906600201992/modelcontextprotocol/python-sdk/pull/3201 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/86ab5cdde333b91858772465d2dc06ec5e84f239cf84442b9b72906600201992/modelcontextprotocol/python-sdk/pull/3201 |
| og:image:alt | Two related changes on the 2026-07-28 subscriptions/listen server path. Supersedes #3197 (a subscriptions-specific authorization hook), taking the smaller route of reusing the existing middleware s... |
| 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 | 507b2d62524c0f595c35a2a2ee8a6ec54b119f245b3c59eaa070013b70ed1ada |
| 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 | e7a883ae3b439b8952652eaa7803e2587f30e339 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/3201#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3201 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3201 |
| 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/3201 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| modelcontextprotocol | https://github.com/modelcontextprotocol |
| python-sdk | https://github.com/modelcontextprotocol/python-sdk |
| Code | https://github.com/modelcontextprotocol/python-sdk |
| Issues320 (320) | https://github.com/modelcontextprotocol/python-sdk/issues |
| Pull requests112 (112) | https://github.com/modelcontextprotocol/python-sdk/pulls |
| Actions | https://github.com/modelcontextprotocol/python-sdk/actions |
| Projects | https://github.com/modelcontextprotocol/python-sdk/projects |
| Security and quality12 (12) | https://github.com/modelcontextprotocol/python-sdk/security |
| Insights | https://github.com/modelcontextprotocol/python-sdk/insights |
| https://github.com/modelcontextprotocol/python-sdk |
| maxisbey | https://github.com/maxisbey |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| subscriptions-listen-authz | https://github.com/modelcontextprotocol/python-sdk/tree/subscriptions-listen-authz |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| Commits1 (1) | https://github.com/modelcontextprotocol/python-sdk/pull/3201/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/3201/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/3201/files |
| Expose the middleware chain on MCPServer and stop sending unrequested change notifications | https://github.com/modelcontextprotocol/python-sdk/pull/3201#top |
| maxisbey | https://github.com/maxisbey |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| subscriptions-listen-authz | https://github.com/modelcontextprotocol/python-sdk/tree/subscriptions-listen-authz |
|
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| Jul 28, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3201#issue-4997390625 |
| #3197 | https://github.com/modelcontextprotocol/python-sdk/pull/3197 |
| MCP Documentation | https://modelcontextprotocol.io |
| AI Disclaimer | https://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Jul 28, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3201#issuecomment-5102802497 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| https://pr-3201.mcp-python-docs.pages.dev | https://pr-3201.mcp-python-docs.pages.dev |
| https://8c03cc9e.mcp-python-docs.pages.dev | https://8c03cc9e.mcp-python-docs.pages.dev |
| @maxisbey | https://github.com/maxisbey |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
|
Jul 28, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3201#ref-pullrequest-4993180497 |
|
Add a subscription authorization hook and stop sending unrequested change notifications
#3197
| https://github.com/modelcontextprotocol/python-sdk/pull/3197 |
| https://github.com/apps/cubic-dev-ai |
| cubic-dev-ai | https://github.com/apps/cubic-dev-ai |
|
Jul 28, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3201#pullrequestreview-4796271261 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/3201/files |
| cubic-dev-ai | https://github.com/apps/cubic-dev-ai |
| https://github.com/modelcontextprotocol/python-sdk/pull/3201#pullrequestreview-4796271261 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Re-trigger cubic | https://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/3201/ai_pr_review_1785233453881_2917788f-7ec4-4153-96db-d83566595b8b?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3201 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| docs/migration.md | https://github.com/modelcontextprotocol/python-sdk/pull/3201/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d |
| cubic-dev-ai | https://github.com/apps/cubic-dev-ai |
| Jul 28, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3201#discussion_r3664738917 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| https://github.com/apps/claude |
| claude | https://github.com/apps/claude |
|
Jul 28, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3201#pullrequestreview-4796392943 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/3201/files |
| claude | https://github.com/apps/claude |
| https://github.com/modelcontextprotocol/python-sdk/pull/3201#pullrequestreview-4796392943 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| docs/client/subscriptions.md | https://github.com/modelcontextprotocol/python-sdk/pull/3201/files#diff-cf4fb602edf8b43efbcedd12a1f45ac757e569f7acc4e34150fc2940ec61803a |
| claude | https://github.com/apps/claude |
| Jul 28, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3201#discussion_r3664836367 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Subscriptions | https://github.com/modelcontextprotocol/python-sdk/handlers/subscriptions.md |
| Subscriptions | https://github.com/modelcontextprotocol/python-sdk/handlers/subscriptions.md |
| Subscriptions | https://github.com/modelcontextprotocol/python-sdk/handlers/subscriptions.md |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| docs/advanced/middleware.md | https://github.com/modelcontextprotocol/python-sdk/pull/3201/files#diff-d487d26dc9137511088441a2870b257f3672f6cfc7a9a55b82a52f17b7defbbc |
| claude | https://github.com/apps/claude |
| Jul 28, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3201#discussion_r3664836377 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Pagination | https://github.com/modelcontextprotocol/python-sdk/pull/pagination.md |
| Middleware | https://github.com/modelcontextprotocol/python-sdk/pull/middleware.md |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| docs_src/subscriptions/tutorial006.py | https://github.com/modelcontextprotocol/python-sdk/pull/3201/files#diff-80863253ce80fc4aa1e4fa9b56a2b90176a7d483828c0c2f8d06b87fb6016a3e |
| claude | https://github.com/apps/claude |
| Jul 28, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3201#discussion_r3664836392 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
|
| https://github.com/maxisbey |
| Expose the middleware chain on MCPServer and stop sending unrequested… | https://github.com/modelcontextprotocol/python-sdk/pull/3201/commits/b920a3981ac51ed66c753f9b13c47a4b818d4241 |
| b920a39 | https://github.com/modelcontextprotocol/python-sdk/pull/3201/commits/b920a3981ac51ed66c753f9b13c47a4b818d4241 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| force-pushed | https://github.com/modelcontextprotocol/python-sdk/compare/869efd1a391255ba542864e46e07563bdfbd1627..b920a3981ac51ed66c753f9b13c47a4b818d4241 |
| 869efd1 | https://github.com/modelcontextprotocol/python-sdk/commit/869efd1a391255ba542864e46e07563bdfbd1627 |
| b920a39 | https://github.com/modelcontextprotocol/python-sdk/commit/b920a3981ac51ed66c753f9b13c47a4b818d4241 |
|
Compare
| https://github.com/modelcontextprotocol/python-sdk/compare/869efd1a391255ba542864e46e07563bdfbd1627..b920a3981ac51ed66c753f9b13c47a4b818d4241 |
| July 28, 2026 11:21 | https://github.com/modelcontextprotocol/python-sdk/pull/3201#event-28594364119 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| c9c431b | https://github.com/modelcontextprotocol/python-sdk/commit/c9c431b71aeb48e3c4405f9d32144f8ed13fd116 |
| Jul 28, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3201#event-28594493899 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| July 28, 2026 11:24 | https://github.com/modelcontextprotocol/python-sdk/pull/3201#event-28594495369 |
| https://github.com/apps/claude |
| claude | https://github.com/apps/claude |
|
Jul 28, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3201#pullrequestreview-4796803486 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/3201/files/b920a3981ac51ed66c753f9b13c47a4b818d4241 |
| claude | https://github.com/apps/claude |
| https://github.com/modelcontextprotocol/python-sdk/pull/3201#pullrequestreview-4796803486 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| docs/advanced/middleware.md | https://github.com/modelcontextprotocol/python-sdk/pull/3201/files/b920a3981ac51ed66c753f9b13c47a4b818d4241#diff-d487d26dc9137511088441a2870b257f3672f6cfc7a9a55b82a52f17b7defbbc |
| claude | https://github.com/apps/claude |
| Jul 28, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/3201#discussion_r3665166602 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #3197 | https://github.com/modelcontextprotocol/python-sdk/pull/3197 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| https://github.com/apps/claude |
| claude | https://github.com/apps/claude |
|
Jul 28, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3201#ref-pullrequest-4980143022 |
|
Present v2 as the stable release across the README, docs, and policies
#3178
| https://github.com/modelcontextprotocol/python-sdk/pull/3178 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
|
Jul 29, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3201#ref-pullrequest-5009992031 |
|
Retire wording tied to pre-2.0 milestones
#3211
| https://github.com/modelcontextprotocol/python-sdk/pull/3211 |
| 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%2F3201 |
|
| https://github.com/apps/cubic-dev-ai |
|
cubic-dev-ai[bot]
| https://github.com/apps/cubic-dev-ai |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3201/files/869efd1a391255ba542864e46e07563bdfbd1627 |
|
| https://github.com/apps/claude |
|
claude[bot]
| https://github.com/apps/claude |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3201/files/b920a3981ac51ed66c753f9b13c47a4b818d4241 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3201 |
|
| https://github.com/maxisbey |
|
| 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 |