@hbbio/nanoagent
    Preparing search index...

    Class MCPClient

    MCPClient is a client to a given MCP server.

    Index

    Constructors

    Properties

    baseURL: string

    Methods

    • listTools returns the list of tools for the MCP server. By default, results are cached for 5 minutes.

      Returns Promise<Tool[]>

    • Parameters

      • name: string

      Returns Promise<undefined | Tool>