Ask a question to get started
Enter to send•Shift+Enter new line
Connect to an MCP server and initialize a session.
session( self, server_name: str, *, auto_initialize: bool = True ) -> AsyncIterator[ClientSession]
server_name
str
Name to identify this server connection
auto_initialize
bool
True
Whether to automatically initialize the session