mcp-use TypeScript API
    Preparing search index...

    Class ListMCPServersTool

    Lists configured MCP servers and their cached capability counts.

    Hierarchy

    • MCPServerTool<typeof EnumerateServersSchema>
      • ListMCPServersTool
    Index
    description: string = ...

    Tool description exposed to the model.

    name: string = "list_mcp_servers"

    Tool name exposed to the model.

    schema: ZodObject<{}, $strip> = EnumerateServersSchema

    Empty input schema.

    • get manager(): IServerManager

      Returns IServerManager

      The server manager operated by this tool.

    • Returns Promise<string>

      A formatted list of configured servers and capability counts.