René's URL Explorer Experiment


Title: OAuth client: refresh before re-authorizing, and discover before refreshing by maxisbey · Pull Request #3328 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: OAuth client: refresh before re-authorizing, and discover before refreshing by maxisbey · Pull Request #3328 · modelcontextprotocol/python-sdk

X Title: OAuth client: refresh before re-authorizing, and discover before refreshing by maxisbey · Pull Request #3328 · modelcontextprotocol/python-sdk

Description: On a 401, OAuthClientProvider now tries the stored refresh token (after rediscovery) before falling back to interactive authorization, and the pre-request refresh only runs once authorization-server metadata is known, so it never guesses {origin}/token. A restarted or headless client with a persisted refresh token recovers from an expired access token without a browser. Closes #3240, closes #3250, closes #1318. Motivation and Context The provider had two ways to obtain a token that each lacked half of what they needed: the pre-request branch could refresh but never ran discovery, and the 401 branch ran discovery but never tried the refresh token. After a restart nothing restores an expiry, so the pre-request branch is skipped, the stale bearer draws a 401, and the flow goes to the browser with a usable refresh token in hand — headless clients just fail. If an application forced the pre-request path by reporting the loaded token as expired, the refresh went to a path derived from the server origin, which 404s for any authorization server under a path, and the refresh token was then discarded. #1318 reported this a year ago; #3240 and #3250 are the same defect from two angles. The 401 branch did refresh in 1.10/1.11; #1071 moved that block ahead of the request instead of duplicating it and nothing tested the restart path. What changed 401 branch, Step 5: if can_refresh_token(): refresh → on success retry the request; otherwise (no refresh token, or the server rejected it) run the full grant as before. Pre-request refresh: additionally gated on oauth_metadata is not None. In-process behaviour is unchanged (metadata is cached after the first flow); on a cold start the request goes out and the 401 branch discovers, then refreshes. A failed refresh (either site) resets _initialized inside _handle_refresh_response, so the next request re-reads storage; a long-lived headless provider whose one refresh hit a transient error retries it rather than staying tokenless for the life of the process. Classifying failures (keep the refresh token on 5xx, clear only on invalid_grant) is left for the follow-up below. A fresh dynamic registration clears any held tokens (they were issued to a previous client and can't be refreshed by the new one). A CIMD client_id is portable across authorization servers, but tokens issued under it are not: when the issuer that becomes known (from PRM, or from AS metadata on the legacy no-PRM path) differs from the record's SEP-2352 stamp — or the record carries no stamp, so its tokens have no confirmed origin — the record is kept and re-stamped and its tokens (and any cached metadata from the previous server) are dropped before anything is refreshed (the TypeScript SDK's discardIfIssuerMismatch). The existing bound-credential discard and this rule now live in one _apply_issuer_binding method called at both points the issuer becomes known, replacing the two inline copies. src/ is +55/−41. No public API change, TokenStorage untouched. This is the TypeScript SDK's ordering (auth() refreshes before startAuthorization) and matches C#/Rust. How Has This Been Tested? Interaction tests against the SDK's own AS+RS in process, each logging in as a "first process" and then connecting a fresh provider over the same storage: refresh on 401 after restart (no handlers wired); the same against an AS mounted under /oauth2/v1 (bare /token 404s) proving the refresh goes to the advertised endpoint; a rejected 401-path refresh falling back to authorization; a headless provider retrying the refresh on its next connection after a failed one; a fresh registration not presenting tokens left from a previous client; and a CIMD client keeping its id but dropping its tokens on an issuer change. Each was mutation-checked against the line it pins. Unit tests pin that an expired token is not refreshed ahead of the request while metadata is unknown, and the CIMD rebinding on both discovery paths (stamped elsewhere, and unstamped). Manifest gains client-auth:refresh:on-401 and client-auth:refresh:discovered-endpoint; the harness gains a path-prefixed-AS shim and expire_access_token. Also driven over real sockets (uvicorn serving the SDK AS with 3 s access tokens, then under a prefix; a separate application process with file-backed storage run repeatedly): headless runs after expiry show 401 → PRM → ASM → POST …/token grant_type=refresh_token → 200; with tokens.json rewritten to expires_in=-1 and an app that derives expiry on load (the #3240 setup) there is no guessed /token request and the refresh lands on /oauth2/v1/token. Breaking Changes None. Behavioural notes: a 401 with a refresh token in storage now produces one token-endpoint request before any redirect (a scope= challenge wider than the grant is then met by the 403 step-up on the retry, as in the TypeScript SDK). A cold start with an access token the server no longer accepts costs one 401 round trip before the refresh, unless the application restores both the expiry and the AS metadata itself. Against 2025-03-26-era servers that publish no metadata at all, in-process expiry now also goes through that 401 (and the failing well-known probes) instead of a single pre-request refresh; everywhere else in-process behaviour is unchanged. Types of changes Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality) Breaking change (fix or feature that would cause existing functionality to change) Documentation update Checklist I have read the MCP Documentation My code follows the repository's style guidelines New and existing tests pass locally I have added appropriate error handling I have added or updated documentation as needed Additional context An earlier revision of this branch also folded in the #3256 recovery (expired DCR secret / invalid_client → re-register once) and a cold-start pre-request discovery mode. Review surfaced enough edge cases in both (403 step-up path, pre-registered credentials, tokens outliving their registration, a coarse-clock test knob) that they're better handled separately, so this PR is cut back to the refresh fix and the rest follows: #3256 (lapsed client_secret_expires_at, invalid_client handling incl. the 403 step-up exchange) — separate PR. Stored-token contract: an SDK-stamped issuer (and client binding) plus issued_at on the persisted token, following the OAuthClientInformationFull.issuer precedent, and a way for TokenStorage to forget tokens. Known exposures until then, stated rather than fixed here: (a) for pre-registered / unstamped client_info the 401-path refresh presents the stored refresh token (and client secret, as the code exchange already did) to whichever issuer the resource server's PRM now names — needs a token issuer stamp to detect; (b) clear_tokens() is memory-only, so a process that re-registers but cannot complete authorization leaves the previous client's tokens.json beside the new client_info, and the next process presents that refresh token under the new client once (rejected as invalid_grant) before authorizing; (c) verbatim storages get no real expiry across restarts. Refresh-failure classification and the {server-origin} fallback base used when PRM named an AS whose metadata could not be fetched belong in the same pass. No conformance scenario issues a refresh token today (modelcontextprotocol/conformance#139 is the nearest), so this isn't observable there yet. Supersedes #2492, #2875, #3263. (#1784 and #3248 restore expiry in _initialize, which this PR deliberately doesn't; the stored-token follow-up covers that.) AI Disclaimer

Open Graph Description: On a 401, OAuthClientProvider now tries the stored refresh token (after rediscovery) before falling back to interactive authorization, and the pre-request refresh only runs once authorization-serve...

X Description: On a 401, OAuthClientProvider now tries the stored refresh token (after rediscovery) before falling back to interactive authorization, and the pre-request refresh only runs once authorization-serve...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actionfiles
fetch-noncev2:593342d2-0dc7-5178-758b-d62b0165c072
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB0EE:D5AA4:16836EF:1DFBBA9:6B013261
html-safe-nonceb47138d5fff8a8303e476e704ddc04488e7c28c8aacb82035877b18d2dd3ebdc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEVFOkQ1QUE0OjE2ODM2RUY6MURGQkJBOTo2QjAxMzI2MSIsInZpc2l0b3JfaWQiOiIxNjgyMzg3MjE2MTc4OTUwNzUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4b1f7510d5c7f56d3bd8f7b76fbb41a27d2332f034d4f3bd6e753c91d0ab3985
hovercard-subject-tagpull_request:4300001549
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/3328/files
twitter:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
og:image:altOn a 401, OAuthClientProvider now tries the stored refresh token (after rediscovery) before falling back to interactive authorization, and the pre-request refresh only runs once authorization-serve...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3328%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3328%2Ffiles
Sign uphttps://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/3328/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files
modelcontextprotocolhttps://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Codehttps://github.com/modelcontextprotocol/python-sdk
Issues315 (315)https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests112 (112)https://github.com/modelcontextprotocol/python-sdk/pulls
Actionshttps://github.com/modelcontextprotocol/python-sdk/actions
Projectshttps://github.com/modelcontextprotocol/python-sdk/projects
Security and quality12 (12)https://github.com/modelcontextprotocol/python-sdk/security
Insightshttps://github.com/modelcontextprotocol/python-sdk/insights
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
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
oauth-refresh-on-401https://github.com/modelcontextprotocol/python-sdk/tree/oauth-refresh-on-401
Conversation 29 https://github.com/modelcontextprotocol/python-sdk/pull/3328
Commits 5 https://github.com/modelcontextprotocol/python-sdk/pull/3328/commits
Checks 41 https://github.com/modelcontextprotocol/python-sdk/pull/3328/checks
Files changed https://github.com/modelcontextprotocol/python-sdk/pull/3328/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files
OAuth client: refresh before re-authorizing, and discover before refreshing https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#top
Show all changes 5 commits https://github.com/modelcontextprotocol/python-sdk/pull/3328/files
2bc618a OAuth client: refresh before re-authorizing, and discover before refr… maxisbey Aug 18, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3328/commits/2bc618ab6de57dcb6ae08181d2e40ddd77cdd49a
ab40324 Address review: refresh-failure parity, CIMD token binding, pinning t… maxisbey Aug 18, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3328/commits/ab4032413f75e98f6f3609a64c376fa12cb61da1
76542f8 Handle the CIMD issuer change beside the SEP-2352 guard so stale meta… maxisbey Aug 18, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3328/commits/76542f8cffb0b2109c754cb254f2f75bdd71469a
7f01cd0 Treat an unstamped CIMD record like one stamped elsewhere: drop its t… maxisbey Aug 18, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3328/commits/7f01cd0cab0e93d162d776abf6bbe8ed24f09ec6
caa022f Fold the SEP-2352 issuer-binding rules into one method used at both d… maxisbey Aug 18, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3328/commits/caa022fabafa1b36edb5dbecf9aa2075c1a32200
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/3328/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files
oauth-clients.md https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-fddbc8202fcc19df6fe65cb61729b4ac59bc61a267deb348d4abe479061bad70
oauth2.py https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
test_auth.py https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-f083d075f463e8b1ecfa6b931c33288c3d09b00ee3af3e5f74df16b7e75c3ab1
_requirements.py https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-c12ce54cbf13a11daa3f93343e5df8c89ca2b25d0f20f00b5408a2402a223228
_harness.py https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-4ac9813efeab1673bfd09096e1374c2d00a185f7948b812eefeb565db6c23247
_provider.py https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-035114ed068ee8041a853e4fdb196c4093d0f72f9aa188b86f619673b08c099d
test_lifecycle.py https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-d756478b61108e8553f87789d8a37a2cf6eac3760a38eeb6caf10d51256d8839
docs/client/oauth-clients.mdhttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-fddbc8202fcc19df6fe65cb61729b4ac59bc61a267deb348d4abe479061bad70
View file https://github.com/modelcontextprotocol/python-sdk/blob/caa022fabafa1b36edb5dbecf9aa2075c1a32200/docs/client/oauth-clients.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3328/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-fddbc8202fcc19df6fe65cb61729b4ac59bc61a267deb348d4abe479061bad70
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-fddbc8202fcc19df6fe65cb61729b4ac59bc61a267deb348d4abe479061bad70
src/mcp/client/auth/oauth2.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
View file https://github.com/modelcontextprotocol/python-sdk/blob/caa022fabafa1b36edb5dbecf9aa2075c1a32200/src/mcp/client/auth/oauth2.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3328/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/3328/checks?check_run_id=95737673183
claudehttps://github.com/apps/claude
Aug 18, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#r3804826498
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://legit-as.example.comhttps://legit-as.example.com
https://legit-as.example.comhttps://legit-as.example.com
https://attacker.example/tokenhttps://attacker.example/token
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
claudehttps://github.com/apps/claude
Aug 18, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#r3804717856
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files
https://github.com/modelcontextprotocol/python-sdk/pull/3328/checks?check_run_id=95737673183
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files
claudehttps://github.com/apps/claude
Aug 18, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#r3804510260
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files
claudehttps://github.com/apps/claude
Aug 18, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#r3804717845
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://as.example.com/oauth2/v1https://as.example.com/oauth2/v1
https://rs.example.comhttps://rs.example.com
https://rs.example.com/tokenhttps://rs.example.com/token
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files
claudehttps://github.com/apps/claude
Aug 18, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#r3804826491
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-b7aaf2062da175cea9a532176d6eb78b659eaadb757cc48929f0bafccfdb8d98
tests/client/test_auth.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-f083d075f463e8b1ecfa6b931c33288c3d09b00ee3af3e5f74df16b7e75c3ab1
View file https://github.com/modelcontextprotocol/python-sdk/blob/caa022fabafa1b36edb5dbecf9aa2075c1a32200/tests/client/test_auth.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3328/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-f083d075f463e8b1ecfa6b931c33288c3d09b00ee3af3e5f74df16b7e75c3ab1
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-f083d075f463e8b1ecfa6b931c33288c3d09b00ee3af3e5f74df16b7e75c3ab1
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-f083d075f463e8b1ecfa6b931c33288c3d09b00ee3af3e5f74df16b7e75c3ab1
cubic-dev-aihttps://github.com/apps/cubic-dev-ai
Aug 18, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#r3804665543
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files
tests/interaction/_requirements.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-c12ce54cbf13a11daa3f93343e5df8c89ca2b25d0f20f00b5408a2402a223228
View file https://github.com/modelcontextprotocol/python-sdk/blob/caa022fabafa1b36edb5dbecf9aa2075c1a32200/tests/interaction/_requirements.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3328/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-c12ce54cbf13a11daa3f93343e5df8c89ca2b25d0f20f00b5408a2402a223228
https://github.com/modelcontextprotocol/python-sdk/pull/3328/files#diff-c12ce54cbf13a11daa3f93343e5df8c89ca2b25d0f20f00b5408a2402a223228
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3328/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3328/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.