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
Copy file name to clipboardExpand all lines: README.md
+42-23Lines changed: 42 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -801,31 +801,50 @@ async def main():
801
801
The SDK includes [authorization support](https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization) for connecting to protected MCP servers:
802
802
803
803
```python
804
-
from mcp.client.auth import OAuthClientProvider
804
+
from mcp.client.auth import OAuthClientProvider, TokenStorage
805
+
from mcp.client.session import ClientSession
805
806
from mcp.client.streamable_http import streamablehttp_client
0 commit comments