Initial Checks
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
Initial Checks
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