Skip to content

FastMCP Auth Context in tools #638

@anant-singh

Description

@anant-singh

I wanted to know how I can get the Auth context within the tools/resources. Couldn't find any documentation or examples for it. I was able to add Oauth to my server and it completes the login flow. But I need to pass the auth token to the tools being called. Is that possible right now or is it still to be implemented

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Significant bug affecting many users, highly requested featureauthIssues and PRs related to Authentication / OAuthfeature requestRequest 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