MCPConnection to list and call tools.
Timeouts
Pass MCP request options as the third argument:Lazy connect
getSession returns null when not connected. requireSession throws.
Reference
MCPConnection — listTools, callTool, and request options.