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:
802
+
803
+
```python
804
+
from mcp.client.auth import OAuthClientProvider, TokenStorage
805
+
from mcp.client.session import ClientSession
806
+
from mcp.client.streamable_http import streamablehttp_client
807
+
from mcp.shared.auth import OAuthClientInformationFull, OAuthClientMetadata, OAuthToken
0 commit comments