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

    enhancementRequest for a new feature that's not currently supported

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions