Skip to content

Handle OAuth lifecycle completely within the MCP server #60

@alistair3149

Description

@alistair3149

Describe the problem

User should not need to create OAuth client, copy the token, and set it up in the MCP server manually.
The process introduces more friction to the user flow, and increase additional security risks.

This becomes important when the MCP server is being hosted remotely, as we might not be able to ensure a secure way to pass the OAuth token.

Describe the solution

When an action (e.g. using a tool) requires elevated permission, the MCP server should create an OAuth client on behalf of the user, and handle the tokens internally.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions