You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Guidance for MCP clients talking to OIDC-flavored authorization servers about requesting refresh
tokens via the offline_access scope, and that MCP servers should not include offline_access in their responses. Pure additive guidance, no behavior change required.
rust-sdk status
Already implemented.crates/rmcp/src/transport/auth.rs has AuthorizationManager::add_offline_access_if_supported(..), called from select_scopes(..), with a
comment explicitly citing SEP-2207: "when the AS advertises offline_access in scopes_supported,
append it so OIDC-flavored Authorization Servers will issue refresh tokens." It also guards against
duplicate/empty appends. The SEP itself lists rust-sdk#676 as the implementing PR.
Proposed work (verification only)
Confirm add_offline_access_if_supported is exercised on all token-request paths (initial auth + refresh + step-up re-auth), not just the initial one.
Confirm the server side does not advertise offline_access in its own scopes_supported.
If both hold, close as already-implemented (no new code).
Affected areas
crates/rmcp/src/transport/auth.rs (only if a gap is found on a token path).
Notes
Effectively a no-op beyond verification; included for release completeness.
This issue is verification-only: confirm the existing implementation satisfies the finalized SEP-2207 guidance across all token paths. Close as done if it does.
Activity
michaelneale commentedon Jun 9, 2026
this is nearly implemented: #897 should have the missing piece now cc @localden @alexhancock