| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a86878da-98ff-d5ee-9bf3-8e5497178a3e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE6C:89DD9:119B36:17207C:6B00BB01 |
| html-safe-nonce | 6c31e484b04350c42e95c296dfecf4426c52d129272e58fa6e4fea8d2043a61e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTZDOjg5REQ5OjExOUIzNjoxNzIwN0M6NkIwMEJCMDEiLCJ2aXNpdG9yX2lkIjoiNDM2MDI2NjA3MzU5ODExNDU2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 15abb3952179938ed4d2d6c7d06b184421c079d6bb45f1448fc001c7df3d5188 |
| hovercard-subject-tag | pull_request:4447459768 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
| twitter:image | https://avatars.githubusercontent.com/u/224885523?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/224885523?s=400&v=4 |
| og:image:alt | Adds an opt-in AuthSettings.validate_token_resource. When set, the bearer gate only accepts a token that the TokenVerifier reports as issued for resource_server_url (via AccessToken.resource); a to... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5429cbfc6aca8c7b9a086a3c8f47400346f38cc9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3447%2Ffiles |
| 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%2F3447%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
| modelcontextprotocol | https://github.com/modelcontextprotocol |
| python-sdk | https://github.com/modelcontextprotocol/python-sdk |
| Code | https://github.com/modelcontextprotocol/python-sdk |
| Issues308 (308) | 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose |
| maxisbey | https://github.com/maxisbey |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| bearer-resource-check | https://github.com/modelcontextprotocol/python-sdk/tree/bearer-resource-check |
|
Conversation
36
| https://github.com/modelcontextprotocol/python-sdk/pull/3447 |
|
Commits
5
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/commits |
|
Checks
42
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/checks |
|
Files changed
26
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
|
Add AuthSettings.validate_token_resource to check a bearer token's resource
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#top |
|
Show all changes
5 commits
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
|
e57f23a
Add AuthSettings.validate_token_resource to check a bearer token's re…
maxisbey Aug 26, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/commits/e57f23a4a8163ede8a25e41d8fe11345fdb72b72 |
|
84c7c13
Carry the token resource through refresh; review follow-ups
maxisbey Sep 4, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/commits/84c7c13f73fcaaf4e086f9c287043e7e9e931345 |
|
0f89376
Docs: shorter validate_token_resource guidance as a list; spell out t…
maxisbey Sep 5, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/commits/0f89376f7e6fb8c8a818ae57db66d82af17ff126 |
|
ee6cba5
Warn when AuthSettings.validate_token_resource is left unset
maxisbey Sep 5, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/commits/ee6cba57d9b7dddceadd947a0646f63aba92b221 |
|
5e8ba84
Scope the validate_token_resource default note to resource servers; s…
maxisbey Sep 5, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/commits/5e8ba84e6df1c45e04f57b11981d9a25759195d2 |
|
Clear filters
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
|
deprecated.md
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-be353385691d816defea287520145322467ba7ab577ec2496c3676b026666c44 |
|
authorization.md
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-47a591f8855d0e6c7629fcfcf8f49471b54858df074ddd11e2f6931dc6de75ca |
|
tutorial001.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-f3c8db22d21cdbe2e91efb2ab32e6845db86af22c757f1f65263079273463a85 |
|
tutorial002.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-91d0e7206c6e5d8ed295140071047fcd5e385482ca59057f8d7e2c885be698ad |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-d6f6fc5668f272edf1a3182b22b034f75510b1902067b23b39cd07c278b1aed5 |
|
token_verifier.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-488377b765d8b32e8e5fb73fa28dec511790c79066d63d37b2e18d85ee5ef19d |
|
oauth_server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-0fd30fdc44e2ca13112869868cdaa936542db78c39aafbf1ccb992cfe41c8b00 |
|
auth.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-f2f595300f009963acd386e038c070bdc7ab4ff532e5f92a11fdd17dba1f0ec1 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-c388a5df49687a92e157c2bf1ffc603dd3b4b8f0c38cb80e0707ae72ddedffe4 |
|
server_lowlevel.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-aa9b249979d77f298cbcafd888652b050a656ab8378f74b5bd8665726bcd73fb |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-094bc81d3930cc9ba26fa7efb8702c043c1e2abd4f2788b50b9f1d2cd07a25a8 |
|
server_lowlevel.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-5c648da61339fd84fa0bc4a09bfc66ebf96afce276f5699d832abc81bd04d63c |
|
bearer_auth.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-0b11aaab79fc19c511b87711ce27207efba24fbd0226bea59af663715ba0f0ec |
|
provider.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-f7e852ad288ea2750460eb8e8ef0d6152216cd97ae505acd5f06146cf866abec |
|
settings.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-ed6123a6a50ac222dad0c2887aa3186d37bbc67f7a2105d4a06320638a75fd25 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e |
|
test_identity_assertion.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-6eca092800027bcda861006898cf33b9312c05a89d114c26e4f6cfa67571f3bc |
|
_requirements.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-c12ce54cbf13a11daa3f93343e5df8c89ca2b25d0f20f00b5408a2402a223228 |
|
_harness.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-4ac9813efeab1673bfd09096e1374c2d00a185f7948b812eefeb565db6c23247 |
|
_provider.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-035114ed068ee8041a853e4fdb196c4093d0f72f9aa188b86f619673b08c099d |
|
test_bearer.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-39fa737f86bf4beb1870f6befa727071547fb7bd57257244223688eb618bd79f |
|
test_lifecycle.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-d756478b61108e8553f87789d8a37a2cf6eac3760a38eeb6caf10d51256d8839 |
|
test_bearer_auth.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-e9da357dd9e1fbd6287ffd8766f14cfb02020d11144474be22c36805c6fa6382 |
|
test_routes.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-bc60cb989fbbc80ad7d8060a2d4e94eb842ae941dde869cb293a9bd94c452ba9 |
|
test_settings.py
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-fd7f1a9ef581afff72cf31794ca2fe95bdff17d9c22442c09945b7d22b088d95 |
| docs/deprecated.md | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-be353385691d816defea287520145322467ba7ab577ec2496c3676b026666c44 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/docs/deprecated.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-be353385691d816defea287520145322467ba7ab577ec2496c3676b026666c44 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-be353385691d816defea287520145322467ba7ab577ec2496c3676b026666c44 |
| docs/run/authorization.md | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-47a591f8855d0e6c7629fcfcf8f49471b54858df074ddd11e2f6931dc6de75ca |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/docs/run/authorization.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-47a591f8855d0e6c7629fcfcf8f49471b54858df074ddd11e2f6931dc6de75ca |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-47a591f8855d0e6c7629fcfcf8f49471b54858df074ddd11e2f6931dc6de75ca |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-47a591f8855d0e6c7629fcfcf8f49471b54858df074ddd11e2f6931dc6de75ca |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-47a591f8855d0e6c7629fcfcf8f49471b54858df074ddd11e2f6931dc6de75ca |
| docs_src/authorization/tutorial001.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-f3c8db22d21cdbe2e91efb2ab32e6845db86af22c757f1f65263079273463a85 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/docs_src/authorization/tutorial001.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-f3c8db22d21cdbe2e91efb2ab32e6845db86af22c757f1f65263079273463a85 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-f3c8db22d21cdbe2e91efb2ab32e6845db86af22c757f1f65263079273463a85 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-f3c8db22d21cdbe2e91efb2ab32e6845db86af22c757f1f65263079273463a85 |
| docs_src/authorization/tutorial002.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-91d0e7206c6e5d8ed295140071047fcd5e385482ca59057f8d7e2c885be698ad |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/docs_src/authorization/tutorial002.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-91d0e7206c6e5d8ed295140071047fcd5e385482ca59057f8d7e2c885be698ad |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-91d0e7206c6e5d8ed295140071047fcd5e385482ca59057f8d7e2c885be698ad |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-91d0e7206c6e5d8ed295140071047fcd5e385482ca59057f8d7e2c885be698ad |
| examples/servers/simple-auth/mcp_simple_auth/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-d6f6fc5668f272edf1a3182b22b034f75510b1902067b23b39cd07c278b1aed5 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/examples/servers/simple-auth/mcp_simple_auth/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-d6f6fc5668f272edf1a3182b22b034f75510b1902067b23b39cd07c278b1aed5 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-d6f6fc5668f272edf1a3182b22b034f75510b1902067b23b39cd07c278b1aed5 |
| examples/servers/simple-auth/mcp_simple_auth/token_verifier.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-488377b765d8b32e8e5fb73fa28dec511790c79066d63d37b2e18d85ee5ef19d |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/examples/servers/simple-auth/mcp_simple_auth/token_verifier.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-488377b765d8b32e8e5fb73fa28dec511790c79066d63d37b2e18d85ee5ef19d |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-488377b765d8b32e8e5fb73fa28dec511790c79066d63d37b2e18d85ee5ef19d |
| examples/snippets/servers/oauth_server.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-0fd30fdc44e2ca13112869868cdaa936542db78c39aafbf1ccb992cfe41c8b00 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/examples/snippets/servers/oauth_server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-0fd30fdc44e2ca13112869868cdaa936542db78c39aafbf1ccb992cfe41c8b00 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-0fd30fdc44e2ca13112869868cdaa936542db78c39aafbf1ccb992cfe41c8b00 |
| examples/stories/_shared/auth.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-f2f595300f009963acd386e038c070bdc7ab4ff532e5f92a11fdd17dba1f0ec1 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/examples/stories/_shared/auth.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-f2f595300f009963acd386e038c070bdc7ab4ff532e5f92a11fdd17dba1f0ec1 |
| examples/stories/bearer_auth/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-c388a5df49687a92e157c2bf1ffc603dd3b4b8f0c38cb80e0707ae72ddedffe4 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/examples/stories/bearer_auth/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-c388a5df49687a92e157c2bf1ffc603dd3b4b8f0c38cb80e0707ae72ddedffe4 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-c388a5df49687a92e157c2bf1ffc603dd3b4b8f0c38cb80e0707ae72ddedffe4 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-c388a5df49687a92e157c2bf1ffc603dd3b4b8f0c38cb80e0707ae72ddedffe4 |
| examples/stories/bearer_auth/server_lowlevel.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-aa9b249979d77f298cbcafd888652b050a656ab8378f74b5bd8665726bcd73fb |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/examples/stories/bearer_auth/server_lowlevel.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-aa9b249979d77f298cbcafd888652b050a656ab8378f74b5bd8665726bcd73fb |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-aa9b249979d77f298cbcafd888652b050a656ab8378f74b5bd8665726bcd73fb |
| examples/stories/oauth_client_credentials/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-094bc81d3930cc9ba26fa7efb8702c043c1e2abd4f2788b50b9f1d2cd07a25a8 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/examples/stories/oauth_client_credentials/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-094bc81d3930cc9ba26fa7efb8702c043c1e2abd4f2788b50b9f1d2cd07a25a8 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-094bc81d3930cc9ba26fa7efb8702c043c1e2abd4f2788b50b9f1d2cd07a25a8 |
| examples/stories/oauth_client_credentials/server_lowlevel.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-5c648da61339fd84fa0bc4a09bfc66ebf96afce276f5699d832abc81bd04d63c |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/examples/stories/oauth_client_credentials/server_lowlevel.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-5c648da61339fd84fa0bc4a09bfc66ebf96afce276f5699d832abc81bd04d63c |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-5c648da61339fd84fa0bc4a09bfc66ebf96afce276f5699d832abc81bd04d63c |
| src/mcp/server/auth/middleware/bearer_auth.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-0b11aaab79fc19c511b87711ce27207efba24fbd0226bea59af663715ba0f0ec |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/src/mcp/server/auth/middleware/bearer_auth.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-0b11aaab79fc19c511b87711ce27207efba24fbd0226bea59af663715ba0f0ec |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-0b11aaab79fc19c511b87711ce27207efba24fbd0226bea59af663715ba0f0ec |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-0b11aaab79fc19c511b87711ce27207efba24fbd0226bea59af663715ba0f0ec |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-0b11aaab79fc19c511b87711ce27207efba24fbd0226bea59af663715ba0f0ec |
| src/mcp/server/auth/provider.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-f7e852ad288ea2750460eb8e8ef0d6152216cd97ae505acd5f06146cf866abec |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/src/mcp/server/auth/provider.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-f7e852ad288ea2750460eb8e8ef0d6152216cd97ae505acd5f06146cf866abec |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-f7e852ad288ea2750460eb8e8ef0d6152216cd97ae505acd5f06146cf866abec |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-f7e852ad288ea2750460eb8e8ef0d6152216cd97ae505acd5f06146cf866abec |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-f7e852ad288ea2750460eb8e8ef0d6152216cd97ae505acd5f06146cf866abec |
| src/mcp/server/auth/settings.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-ed6123a6a50ac222dad0c2887aa3186d37bbc67f7a2105d4a06320638a75fd25 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/src/mcp/server/auth/settings.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-ed6123a6a50ac222dad0c2887aa3186d37bbc67f7a2105d4a06320638a75fd25 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-ed6123a6a50ac222dad0c2887aa3186d37bbc67f7a2105d4a06320638a75fd25 |
| src/mcp/server/lowlevel/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/src/mcp/server/lowlevel/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-b21bf5e21c058ccfddb404c209f2d4288e4f32b121111ffc9d466638631d13e4 |
| src/mcp/server/mcpserver/server.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/src/mcp/server/mcpserver/server.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-51d6996c0b80b8a5c42e7071451cb9ed3c91b398facebe99b94aad911059190e |
| tests/docs_src/test_identity_assertion.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-6eca092800027bcda861006898cf33b9312c05a89d114c26e4f6cfa67571f3bc |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/tests/docs_src/test_identity_assertion.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-6eca092800027bcda861006898cf33b9312c05a89d114c26e4f6cfa67571f3bc |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-6eca092800027bcda861006898cf33b9312c05a89d114c26e4f6cfa67571f3bc |
| tests/interaction/_requirements.py | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-c12ce54cbf13a11daa3f93343e5df8c89ca2b25d0f20f00b5408a2402a223228 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/5e8ba84e6df1c45e04f57b11981d9a25759195d2/tests/interaction/_requirements.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/{{ revealButtonHref }} |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-c12ce54cbf13a11daa3f93343e5df8c89ca2b25d0f20f00b5408a2402a223228 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/3447/files#diff-c12ce54cbf13a11daa3f93343e5df8c89ca2b25d0f20f00b5408a2402a223228 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/3447/files |
|
| 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 |