Skip to content

Support upscoping on insufficient_scope 403 like in Python SDK #1039

@dmcwherter

Description

@dmcwherter

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Python auth SDK supports upscoping on 403 insufficient scope errors. Typescript does not have this functionality yet. https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/client/auth.py

Describe the solution you'd like

Equivalent functionality to the 403 handling case here:
https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/client/auth.py

Describe alternatives you've considered

None.

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Moderate issues affecting some users, edge cases, potentially valuable featureauthIssues and PRs related to Authentication / OAuthenhancementRequest for a new feature that's not currently supportedready for workEnough information for someone to start working on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions