ADK for TypeScript: API Reference
    Preparing search index...

    Class MCPSessionManager

    Manages Model Context Protocol (MCP) client sessions.

    This class is responsible for establishing and managing connections to MCP servers. It supports different transport protocols like Standard I/O (Stdio) and Server-Sent Events (SSE) over HTTP, determined by the provided connection parameters.

    The primary purpose of this manager is to abstract away the details of session creation and connection handling, providing a simple interface for creating new MCP client instances that can be used to interact with remote tools.

    Constructors

    Methods