createMCPClient | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function createMCPClient

    • Create a client for an MCP server using the Streamable HTTP transport

      Parameters

      • url: string

        URL of the MCP server's endpoint

      • Optionaloptions: MCPClientOptions

        Client options, eg the bearer token to authenticate with

      Returns MCPClient