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:
825
+
826
+
```python
827
+
from mcp.client.auth import OAuthClientProvider, TokenStorage
828
+
from mcp.client.session import ClientSession
829
+
from mcp.client.streamable_http import streamablehttp_client
830
+
from mcp.shared.auth import OAuthClientInformationFull, OAuthClientMetadata, OAuthToken
0 commit comments