`Client(mode="auto")` 在交互式 OAuth 超过固定的 `server/discover` 超时限制时会回退到旧版本
作者: pablozamudio创建于 2026年9月30日更新于 2026年9月30日
标签v2spec-2026-07-28
mcp==2.1.1- Python 3.12
- Streamable HTTP transport
Client(mode="auto")OAuthClientProvider
The current v2.2.0 source still defines DISCOVER_TIMEOUT_SECONDS = 10.0 and uses it directly in send_discover().
Suggested direction
内容来源: modelcontextprotocol/python-sdk