-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
authIssues and PRs related to Authentication / OAuthIssues and PRs related to Authentication / OAuthneeds confirmationNeeds confirmation that the PR is actually required or needed.Needs confirmation that the PR is actually required or needed.
Description
Initial Checks
- I confirm that I'm using the latest version of MCP Python SDK
- I confirm that I searched for my issue in https://github.com/modelcontextprotocol/python-sdk/issues before opening this issue
Description
It looks like that the “authorization_servers” field is incorrect (https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/shared/auth.py#L138). It should be optional as defined in the RFC.
This issue does not exist in the TS SDK: https://github.com/modelcontextprotocol/typescript-sdk/blob/main/packages/core/src/shared/auth.ts#L32
Example Code
Python & MCP Python SDK
v1.26.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
authIssues and PRs related to Authentication / OAuthIssues and PRs related to Authentication / OAuthneeds confirmationNeeds confirmation that the PR is actually required or needed.Needs confirmation that the PR is actually required or needed.