René's URL Explorer Experiment


Title: Send `application_type` during Dynamic Client Registration (SEP-837) by Kludex · Pull Request #2930 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Send `application_type` during Dynamic Client Registration (SEP-837) by Kludex · Pull Request #2930 · modelcontextprotocol/python-sdk

X Title: Send `application_type` during Dynamic Client Registration (SEP-837) by Kludex · Pull Request #2930 · modelcontextprotocol/python-sdk

Description: Implements SEP-837 (the third client-side item of #2902): send application_type during Dynamic Client Registration. What changed Added application_type: Literal["web", "native"] = "native" to OAuthClientMetadata. It serializes into the DCR /register body via the existing model_dump. Default is "native", matching the Rust SDK and the common MCP case (CLI/desktop clients with loopback redirect URIs - all our examples). Remote browser-based clients override to "web". Per the spec: omitting application_type defaults to "web" under OIDC, which an authorization server can reject for the localhost redirect URIs native clients use; non-OIDC servers ignore the parameter. Conformance Unblocks and removes from the expected-failures baselines: Default leg (expected-failures.yml): the 6 auth/iss-* and auth/offline-access-not-supported (their iss/scope checks already passed under #2921; they only failed sep-837-application-type-present at DCR). 2026-07-28 leg (expected-failures.2026-07-28.yml): the above plus auth/metadata-default, auth/metadata-var{1,2,3}, auth/scope-from-*, auth/scope-omitted-when-undefined, and auth/token-endpoint-auth-{basic,post,none}. The 2026-07-28 leg passes cleanly with no stale or unexpected entries. Note - pre-existing default-leg failure, not from this PR: the default leg still reports auth/scope-step-up as an unexpected failure. This fails identically on clean main (verified): #2927 removed it from expected-failures.yml for the alpha.5 harness (which gates the SEP-2350 scope-union check to 2026-07-28+), but CI is still pinned to alpha.4, where the check fires on the default leg. It resolves when the harness pin moves to alpha.5 (already a TODO in conformance.yml) or when SEP-2350 lands. Out of scope here. AI Disclaimer This PR was developed with the assistance of either Claude or Codex. I've reviewed and verified the changes.

Open Graph Description: Implements SEP-837 (the third client-side item of #2902): send application_type during Dynamic Client Registration. What changed Added application_type: Literal["web", "native"...

X Description: Implements SEP-837 (the third client-side item of #2902): send application_type during Dynamic Client Registration. What changed Added application_type: Literal["web", "...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2930

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1ebd8832-a769-1257-41f1-96238e72c478
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9EB4:130EDA:3D17A3:56C75C:6A59FA63
html-safe-nonce0afd979547eddaf4e3d7bb1feaf945aef957db2dde9488ac1308f471ce626c79
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUI0OjEzMEVEQTozRDE3QTM6NTZDNzVDOjZBNTlGQTYzIiwidmlzaXRvcl9pZCI6IjQ2MzkwNjA4OTE5MjA4OTA0NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac64175950a6b2ee16e93bf4806629ce58c3bcf8ebdebdaa64a56724035bfc009a
hovercard-subject-tagpull_request:3904314068
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2930/files
twitter:imagehttps://avatars.githubusercontent.com/u/7353520?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/7353520?s=400&v=4
og:image:altImplements SEP-837 (the third client-side item of #2902): send application_type during Dynamic Client Registration. What changed Added application_type: Literal["web", "native"...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4d3f961cfc83a4348ee5be7691cf4ae3515aab3ef5200c13a7e41b048125fb61
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseac4d28603af300ac851b62521abb878ab5d3319a
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2930%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F2930%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
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://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
Sign up for GitHub https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
Kludexhttps://github.com/Kludex
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
sep-837-application-typehttps://github.com/modelcontextprotocol/python-sdk/tree/sep-837-application-type
Conversation 3 https://github.com/modelcontextprotocol/python-sdk/pull/2930
Commits 1 https://github.com/modelcontextprotocol/python-sdk/pull/2930/commits
Checks 34 https://github.com/modelcontextprotocol/python-sdk/pull/2930/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/2930/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files
Send application_type during Dynamic Client Registration (SEP-837) https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#top
Show all changes 1 commit https://github.com/modelcontextprotocol/python-sdk/pull/2930/files
0c5cb09 Send application_type during Dynamic Client Registration (SEP-837) Kludex Jun 20, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2930/commits/0c5cb092eacde0e6eee2b861ec9bf927f83f44d1
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/2930/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files
expected-failures.2026-07-28.yml https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-a8ea36ef04436cd253292c3fbbe06e88795d93362fba66a5919cc6793c5f2aef
expected-failures.yml https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-9554cfe66b53ce3771454545473fbd08be68a3c6ecdd0f837273a3e41e6b67d7
migration.md https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
auth.py https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-01350058961f3196e3373d707e2178962377dc9a85f481ade94e8f05e4701c8d
test_auth.py https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-f083d075f463e8b1ecfa6b931c33288c3d09b00ee3af3e5f74df16b7e75c3ab1
test_flow.py https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-2a572c9bff06790dc0655966553e6d8cc41877f4dacaf5f561bb04bf0f91ad61
.github/actions/conformance/expected-failures.2026-07-28.ymlhttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-a8ea36ef04436cd253292c3fbbe06e88795d93362fba66a5919cc6793c5f2aef
View file https://github.com/modelcontextprotocol/python-sdk/blob/0c5cb092eacde0e6eee2b861ec9bf927f83f44d1/.github/actions/conformance/expected-failures.2026-07-28.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2930/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-a8ea36ef04436cd253292c3fbbe06e88795d93362fba66a5919cc6793c5f2aef
https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-a8ea36ef04436cd253292c3fbbe06e88795d93362fba66a5919cc6793c5f2aef
.github/actions/conformance/expected-failures.ymlhttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-9554cfe66b53ce3771454545473fbd08be68a3c6ecdd0f837273a3e41e6b67d7
View file https://github.com/modelcontextprotocol/python-sdk/blob/0c5cb092eacde0e6eee2b861ec9bf927f83f44d1/.github/actions/conformance/expected-failures.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2930/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-9554cfe66b53ce3771454545473fbd08be68a3c6ecdd0f837273a3e41e6b67d7
https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-9554cfe66b53ce3771454545473fbd08be68a3c6ecdd0f837273a3e41e6b67d7
docs/migration.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
View file https://github.com/modelcontextprotocol/python-sdk/blob/0c5cb092eacde0e6eee2b861ec9bf927f83f44d1/docs/migration.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2930/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-758ba107a728fccfdf0d098b2c06ded59127dd53ea287d630f72fb51040bc72d
src/mcp/shared/auth.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-01350058961f3196e3373d707e2178962377dc9a85f481ade94e8f05e4701c8d
View file https://github.com/modelcontextprotocol/python-sdk/blob/0c5cb092eacde0e6eee2b861ec9bf927f83f44d1/src/mcp/shared/auth.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2930/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-01350058961f3196e3373d707e2178962377dc9a85f481ade94e8f05e4701c8d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files
https://github.com/modelcontextprotocol/python-sdk/pull/2930/checks?check_run_id=82497334290
claudehttps://github.com/apps/claude
Jun 20, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#r3446967030
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files
https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-01350058961f3196e3373d707e2178962377dc9a85f481ade94e8f05e4701c8d
tests/client/test_auth.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-f083d075f463e8b1ecfa6b931c33288c3d09b00ee3af3e5f74df16b7e75c3ab1
View file https://github.com/modelcontextprotocol/python-sdk/blob/0c5cb092eacde0e6eee2b861ec9bf927f83f44d1/tests/client/test_auth.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2930/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-f083d075f463e8b1ecfa6b931c33288c3d09b00ee3af3e5f74df16b7e75c3ab1
https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-f083d075f463e8b1ecfa6b931c33288c3d09b00ee3af3e5f74df16b7e75c3ab1
https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-f083d075f463e8b1ecfa6b931c33288c3d09b00ee3af3e5f74df16b7e75c3ab1
tests/interaction/auth/test_flow.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-2a572c9bff06790dc0655966553e6d8cc41877f4dacaf5f561bb04bf0f91ad61
View file https://github.com/modelcontextprotocol/python-sdk/blob/0c5cb092eacde0e6eee2b861ec9bf927f83f44d1/tests/interaction/auth/test_flow.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/2930/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-2a572c9bff06790dc0655966553e6d8cc41877f4dacaf5f561bb04bf0f91ad61
https://github.com/modelcontextprotocol/python-sdk/pull/2930/files#diff-2a572c9bff06790dc0655966553e6d8cc41877f4dacaf5f561bb04bf0f91ad61
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2930/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.