| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ec222bc5-f4bb-759e-5c7b-d83c4026becd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CB78:1EB3C6:2E517F:3CA18B:6A5B1F65 |
| html-safe-nonce | ad6aaca802261b6b28f80fc2f12c52f2e2a996b424d1be13b822d838242401ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjc4OjFFQjNDNjoyRTUxN0Y6M0NBMThCOjZBNUIxRjY1IiwidmlzaXRvcl9pZCI6IjUwMzAyMTUyMDI5MjkwNTc2MzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 151a97513c96fbc2b26487ba5398aeb9e54b550a9cfb26be53df1c85fea27a8b |
| hovercard-subject-tag | pull_request:2494196937 |
| 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/610/files |
| twitter:image | https://avatars.githubusercontent.com/u/21148364?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/21148364?s=400&v=4 |
| og:image:alt | Adding a simple example for auth which was implemented in #255
This tiny server is useful:
testing auth, will need to do the same for streamable http
testing inspector
testing clients
Tested with... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/610/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F610%2Ffiles |
| 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%2F610%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/610/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/610/files |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/610/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/610/files |
|
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
258
| https://github.com/modelcontextprotocol/python-sdk/issues |
|
Pull requests
301
| 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 |
| 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 |
| ihrpr | https://github.com/ihrpr |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| ihrpr/auth-example | https://github.com/modelcontextprotocol/python-sdk/tree/ihrpr/auth-example |
|
Conversation
2
| https://github.com/modelcontextprotocol/python-sdk/pull/610 |
|
Commits
100
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits |
|
Checks
0
| https://github.com/modelcontextprotocol/python-sdk/pull/610/checks |
|
Files changed
| https://github.com/modelcontextprotocol/python-sdk/pull/610/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/610/files |
|
Auth SSE simple example
| https://github.com/modelcontextprotocol/python-sdk/pull/610/files#top |
|
Show all changes
100 commits
| https://github.com/modelcontextprotocol/python-sdk/pull/610/files |
|
682ff1e
wip
praboud-ant Mar 6, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/682ff1e9e3c8c66aafa5a9f1acd2e21deeeaa9a4 |
|
331d51e
Unwind changes
praboud-ant Mar 6, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/331d51eb04d0f667ff131c6d2315b00fd6751c00 |
|
d283f56
wip
praboud-ant Mar 7, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/d283f560cc3a461555daba6acd533ab0be157cde |
|
e96d280
Get tests passing
praboud-ant Mar 10, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/e96d280a683f0dbfab4f3939d4f5cbd93c47928a |
|
1e9dd4c
Clean up provider interface
praboud-ant Mar 10, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/1e9dd4c213a2e31920df0c7dab4e6db699c3c5bc |
|
d535089
Lint
praboud-ant Mar 10, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/d535089a661a94f43f5f0e24846c07d0fd23919e |
|
031cadf
Clean up registration endpoint
praboud-ant Mar 10, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/031cadff64ecde859f59b1a5ab19997ffe84979e |
|
765efb6
Lint
praboud-ant Mar 10, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/765efb6a096ef187c103f5a95f5d3423885514b5 |
|
0637bc3
update token + revoke to use form data
praboud-ant Mar 10, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/0637bc3c09013388438ec3fd67878e6b37b62d74 |
|
b99633a
Adjust more things to fit spec
praboud-ant Mar 10, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/b99633af2a3de7e68a6852f46d3f7c50478898dc |
|
9ae1c21
Lint
praboud-ant Mar 10, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/9ae1c2174b6fe5105bfd730f3485e03eb10471a9 |
|
50683b9
Remove dup
praboud-ant Mar 10, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/50683b9cb752663eb7a378e3db637196fbdabec7 |
|
2c5f26a
Comment
praboud-ant Mar 10, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/2c5f26a86ddb52c0f7b531d7a10470dddd43264d |
|
e605994
Refactor back to authorize()
praboud-ant Mar 10, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/e60599461b397450b10e423534ccd71e1b062ada |
|
e7c5f87
Improve validation for /token
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/e7c5f87fd30910e61fd0321a7f725d49eb782eba |
|
83c0c9f
Improve validation for registration
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/83c0c9f7b5a16e85fb814b3bda9675bd5b10399d |
|
0c1aae9
Improve /authorize validation & add tests
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/0c1aae97c7de1ea09ba33b356d3b1d41fe9a010b |
|
038fb04
Hoist oauth token expiration check into bearer auth middleware
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/038fb045f076b6aa8b151febdd7f93f827834316 |
|
a4e17f3
Add tests for /revoke validation
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/a4e17f3f13446e26fe1f6dc3dd7688e72a0c5bb5 |
|
5f11c60
Lint + typecheck
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/5f11c601f4743e2fed2dd1dd67671ad0edbbca22 |
|
571913a
Clean up unused error classes
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/571913a89397a9f1c29e7150d9cf3adecc367073 |
|
d43647f
Update to use Python 3.10 types
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/d43647f8f385207a04eb7f0eb737875cfbe70cfd |
|
9d72c1e
Use classes for handlers
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/9d72c1e598f41e8e1741e20b541ce1776c57882d |
|
a5079af
Refactor
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/a5079af9844b169a7bc34668275554fced20565a |
|
c4c2608
Simplify bearer auth logic
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/c4c26087c224d443853723913666ef0218652586 |
|
bc62d73
Avoid asyncio dependency in tests
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/bc62d73214b62415b8e6f1fe346d8a4320054041 |
|
3852179
Add comment
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/3852179c7dc1801c67c193632ccb10667346dd28 |
|
874838a
Lint
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/874838a58f54c11287a32b2f6d89e21ecc9a7c5a |
|
f788d79
Add json_response.py comment
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/f788d7900beed7fa0ae582c9e855d6b35b664af5 |
|
152feb9
Format
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/152feb94df7324f47ba9d1a1521bcc9062a1fd8d |
|
f37ebc4
Move around the response models to be closer to the handlers
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/f37ebc46e5b19d3ee0e6e57f937dfd12e40e106c |
|
c2873fd
Get rid of silly TS comments
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/c2873fdb16ca939fea14e06f6e018aa67301370c |
|
fe2c029
Remove ClientAuthRequest
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/fe2c029096e5c8e2a5d8973d7db9d3b1eefa7d59 |
|
3a13f5d
Reorganize AuthInfo
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/3a13f5d8e3458258cdaedb242ee049e93af9ee18 |
|
37c5fc4
Refactor client metadata endpoint
praboud-ant Mar 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/37c5fc4e22ee488541cec001fbc331d42318adba |
|
792d302
Make metadata more spec compliant
praboud-ant Mar 12, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/792d3020e2495ee8ef995e18df63e4b3bfa23a3b |
|
6c48b11
Use python 3.10 types everywhere
praboud-ant Mar 12, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/6c48b1107b80b91fae17fea0d7438cf392b9c5e1 |
|
a437566
Add back authorization to the /revoke endpoint, simplify revoke
praboud-ant Mar 12, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/a437566229b5b97eff4233cba5a2a86466665b43 |
|
9fee929
Move around validation logic
praboud-ant Mar 12, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/9fee92976c165d02692cb4da315b87cca1cbdde5 |
|
d79be8f
Fixups while integrating new auth capabilities
praboud-ant Mar 19, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/d79be8f227d7dd23f2a9782d4edb559273a70a31 |
|
8d637b4
Pull all auth settings out into a separate config
praboud-ant Mar 19, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/8d637b432eae7ffcfb6a21c22be4372cdcea743f |
|
8c86bce
Move router file to be routes
praboud-ant Mar 19, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/8c86bce36275c6eb5018dafe613841078d5f75da |
|
31618c1
Add auth context middleware
praboud-ant Mar 19, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/31618c148e9600dec4b0a3baeed62e8b2695c6f1 |
|
5ebbc19
Validate scopes + provide default
praboud-ant Mar 19, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/5ebbc19b713bd896764cad369cdf8432823e50c7 |
|
50673c6
Validate grant_types on registration
praboud-ant Mar 19, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/50673c6360749521db9181effec0e883ae51781a |
|
02d76f3
auth: client implementation
dsp-ant Mar 12, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/02d76f32c54a367758072b8541f755188ce20fba |
|
88edddc
update lock
dsp-ant Mar 12, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/88edddcd0a776966cc87d1673b2a8d64b27c4af5 |
|
d774be7
fix
dsp-ant Mar 12, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/d774be7daefaf6968f60b9ab9bdd3c8966153e70 |
|
a09e958
foo
dsp-ant Mar 14, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/a09e9580c71ed4ff7892468a7dbe7bfabea1fd0c |
|
4e73552
Format
praboud-ant Mar 19, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/4e73552027316dce3b3b9fa5a8130341b50d037c |
|
56f694e
Move StreamingASGITransport into the library code, so MCP integration…
praboud-ant Mar 19, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/56f694e16aa072e5e53fead581260ebae044cddb |
|
60da682
Improved error handling, generic types for provider
praboud-ant Mar 21, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/60da6822a3f836becba91b73e533bf31ca0d53fa |
|
374a0b4
Rename AuthInfo to AccessToken
praboud-ant Mar 21, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/374a0b4903ffcaf4dc0b99cb46ad1465a0f7d8a2 |
|
fb5a568
Rename
praboud-ant Mar 22, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/fb5a56831e5f0573d0cd6eaa3647d7470d0b904a |
|
76ddc65
Add docs
praboud-ant Mar 22, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/76ddc65a2dad159960b73326aab326565969c722 |
|
e42dbf5
Merge remote-tracking branch 'origin/main' into praboud/auth
praboud-ant Mar 22, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/e42dbf560ac2349958b65ded65592054e214f567 |
|
10e00e7
Typecheck
praboud-ant Mar 22, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/10e00e7e128d858091d541d56382e72d7df67ea0 |
|
87571d8
Return 401 on missing auth, not 403
praboud-ant Mar 25, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/87571d8ff4fee015709438b72c8999d3a026a780 |
|
c6f991b
Convert AuthContextMiddleware to plain ASGI middleware & add tests
praboud-ant Mar 25, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/c6f991bdd9b92349bd48a2340db3b81fea4705a3 |
|
482149e
Fix redirect_uri handling
praboud-ant Mar 25, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/482149e094ff93b4a70a2f1b6322137e22371f17 |
|
5230180
Remove client for now
praboud-ant Mar 25, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/52301804f9cd03afd9ce92bd1838e36337d0eb11 |
|
8e15abc
Add test for auth context middleware
praboud-ant Mar 25, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/8e15abcdb0185915a2384eb42b8f733d90227ea4 |
|
0a1a408
Add CORS support
praboud-ant Mar 25, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/0a1a4089450a40219db9a92f98908136c0ed1e24 |
|
3069aa3
Comment
praboud-ant Mar 27, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/3069aa3d72fd34faedb7d55d9add17c67208c290 |
|
16f0688
Merge remote-tracking branch 'origin/main' into praboud/auth
praboud-ant Mar 27, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/16f06887e50d83fc52f9c26ae998c036b6000951 |
|
5ecc7f0
Remove client tests
praboud-ant Mar 27, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/5ecc7f02195c810fba4b63e14513ed259b0d487b |
|
8c251c9
Add ignores
praboud-ant Mar 27, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/8c251c94725b39788f0805efdcd07ef91fb37c49 |
|
f46dcb1
Merge remote-tracking branch 'origin/main' into praboud/auth
praboud-ant Apr 18, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/f46dcb100230029cb118aeee5ccbef37dfcaddcc |
|
d3725cf
Review feedback
praboud-ant Apr 18, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/d3725cf5bea7fa3573e94f2aec9c20b19d5aff7e |
|
07f4e3a
Fix stream resource leaks and upgrade Starlette
bhosmer-ant Apr 13, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/07f4e3ac5ed933815d2c250c37c980566d474937 |
|
1237148
Lint
praboud-ant Apr 18, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/1237148503e9a227836a0d620113813dbbeaeaae |
|
1ad1842
Review comments
praboud-ant Apr 18, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/1ad1842af73faee2aa879638fdcada2b031caa90 |
|
fa068dd
Rename OAuthServerProvider to OAuthAuthorizationServerProvider
praboud-ant Apr 18, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/fa068dd027474d16fafbbb63cc902a86ef0f76b3 |
|
9b5709a
Merge branch 'main' into praboud/auth
ihrpr Apr 30, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/9b5709a8df21e82026817bab7adaa4d77bf2783b |
|
67d568b
revert starlette upgrade
ihrpr Apr 30, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/67d568b86ec6d111c3c69ad7c81ac0bea7cb16b2 |
|
16a7efa
add python-multipart - was missing
ihrpr Apr 30, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/16a7efa585ad1cec7daa31e62c792218805a2c73 |
|
91c09a4
ruff
ihrpr Apr 30, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/91c09a407a9c1df49ccb77485f7d87be2aad8d66 |
|
0582bf5
try fixing test
ihrpr Apr 30, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/0582bf541e997e818da477c0b428d423f5300afe |
|
8194bce
increse timeout
ihrpr Apr 30, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/8194bced3b09e5e89e36fd0e7c145e97f415f1b9 |
|
2c63020
fix test
ihrpr May 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/2c63020a05caba0c9075224bef743ea529291019 |
|
2ea68f2
test
ihrpr May 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/2ea68f2588c7f736d03ee1fb8898a0155ec32fbe |
|
b0fe041
fix test
ihrpr May 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/b0fe0418ff19f7c923e1b33b1a57bcc91e5e9383 |
|
ba366e3
test
ihrpr May 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/ba366e332d0aef7194338a74de85f8463872093f |
|
e1a9fec
test
ihrpr May 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/e1a9fec1c6068662df7d5678e15764af4a1e49e6 |
|
af4221f
skip test
ihrpr May 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/af4221f231b50e91b9e42099967d549fff4a47b6 |
|
f2840fe
Test auth (#609)
ihrpr May 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/f2840fe5d370b7d1324f0cf517da0c66caa39325 |
|
cda4401
remove pyright upgrade and ruff format
ihrpr May 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/cda4401c043a60b2249c4069315a3d0500bfd95b |
|
f2cc6ee
uv lock
ihrpr May 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/f2cc6eef7e431b7d3b88336208be292aebcf3e82 |
|
9c78e5e
add an example
ihrpr May 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/9c78e5e001cb49cbdf0123cec1f89b40a3cb5dee |
|
59e6c64
comments
ihrpr May 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/59e6c64ee756a703bf1881a6967cfb1d514f177e |
|
cb7f0c4
comment
ihrpr May 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/cb7f0c4fe70f9dfd940a700f1d4694672c4a049a |
|
8ddf7f7
ruff
ihrpr May 1, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/8ddf7f7f6329a01fc65af6f7e9ba9b87ed6dff2d |
|
2c85c66
switch to localhost
pcarleton May 2, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/2c85c6649c7d6604200f9213474c213447102a1c |
|
ed6dad2
add scopes to oauth metadata
pcarleton May 2, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/ed6dad2876deadc268b2859547d71fc54c18b751 |
|
e9cee55
separate mcp scope from github scope
pcarleton May 2, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/e9cee5519ec0ee16e16f7086f1c7ce6c801f11c0 |
|
0eef578
ruff
pcarleton May 2, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/0eef578e8566ccb676d32ffb258acdc7d503993e |
|
01f3f05
Merge branch 'main' into ihrpr/auth-example
pcarleton May 2, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/01f3f05db20744371a3214d3bb5235e684c25c9e |
|
ebb9151
Merge branch 'main' into ihrpr/auth-example
ihrpr May 6, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/ebb9151f5b66c253d63eb66025bb2829295c4b04 |
|
9cfbb1c
Merge branch 'main' into ihrpr/auth-example
ihrpr May 7, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/9cfbb1cd9e368d6684918b4062547ab0d519e49e |
|
6bfa708
Merge branch 'main' into ihrpr/auth-example
ihrpr May 7, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/610/commits/6bfa708543cd2554393fd87041a2ab41bb5e04da |
|
Clear filters
| https://github.com/modelcontextprotocol/python-sdk/pull/610/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/610/files |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/610/files |
|
README.md
| https://github.com/modelcontextprotocol/python-sdk/pull/610/files#diff-0ff3cc0252aa8b36c1cfe96c47bbb8fd5ed63b25758ba6e7a57298e5836d26d3 |
|
__init__.py
| https://github.com/modelcontextprotocol/python-sdk/pull/610/files#diff-2b96aead08eea1c623360985afb2207bb8ba09c9e1303ecf87bf86aedd4548cb |
|
__main__.py
| https://github.com/modelcontextprotocol/python-sdk/pull/610/files#diff-fbdfcc064f93ce59cbbd16d2adc9a043e8627af53207b25eeb223b227f011088 |
|
server.py
| https://github.com/modelcontextprotocol/python-sdk/pull/610/files#diff-d6f6fc5668f272edf1a3182b22b034f75510b1902067b23b39cd07c278b1aed5 |
|
pyproject.toml
| https://github.com/modelcontextprotocol/python-sdk/pull/610/files#diff-039e771fa1be035076e8f009e8f6555671a1e40f99fa725215e8aad18357920d |
|
routes.py
| https://github.com/modelcontextprotocol/python-sdk/pull/610/files#diff-6dfb076f1d9772b9a78be06b88bbbae0f92a0108284fcf247f342cd1a88433f2 |
|
uv.lock
| https://github.com/modelcontextprotocol/python-sdk/pull/610/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11 |
| examples/servers/simple-auth/README.md | https://github.com/modelcontextprotocol/python-sdk/pull/610/files#diff-0ff3cc0252aa8b36c1cfe96c47bbb8fd5ed63b25758ba6e7a57298e5836d26d3 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/6bfa708543cd2554393fd87041a2ab41bb5e04da/examples/servers/simple-auth/README.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/610/{{ revealButtonHref }} |
| examples/servers/simple-auth/mcp_simple_auth/__init__.py | https://github.com/modelcontextprotocol/python-sdk/pull/610/files#diff-2b96aead08eea1c623360985afb2207bb8ba09c9e1303ecf87bf86aedd4548cb |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/6bfa708543cd2554393fd87041a2ab41bb5e04da/examples/servers/simple-auth/mcp_simple_auth/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/610/{{ revealButtonHref }} |
| examples/servers/simple-auth/mcp_simple_auth/__main__.py | https://github.com/modelcontextprotocol/python-sdk/pull/610/files#diff-fbdfcc064f93ce59cbbd16d2adc9a043e8627af53207b25eeb223b227f011088 |
|
View file
| https://github.com/modelcontextprotocol/python-sdk/blob/6bfa708543cd2554393fd87041a2ab41bb5e04da/examples/servers/simple-auth/mcp_simple_auth/__main__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/610/{{ revealButtonHref }} |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/610/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 |