You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SDK includes [authorization support](https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization) for connecting to protected MCP servers:
882
+
883
+
```python
884
+
from mcp.client.auth import OAuthClientProvider, TokenStorage
885
+
from mcp.client.session import ClientSession
886
+
from mcp.client.streamable_http import streamablehttp_client
887
+
from mcp.shared.auth import OAuthClientInformationFull, OAuthClientMetadata, OAuthToken
0 commit comments