-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
authIssues and PRs related to Authentication / OAuthIssues and PRs related to Authentication / OAuthenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supported
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
SDK should offer a way for developers to specify which of the authorization servers to use from the PRM document.
python-sdk/src/mcp/client/auth.py
Line 250 in 07ae8c0
| self.context.auth_server_url = str(metadata.authorization_servers[0]) |
Right now, the first server is selected.
Example Code
Python & MCP Python SDK
Latest
Metadata
Metadata
Assignees
Labels
authIssues and PRs related to Authentication / OAuthIssues and PRs related to Authentication / OAuthenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supported