/** * Thin MCP client for the Cortex tool endpoint. * * Why MCP and not REST: the query capabilities (lookup / aggregate / indicators / * hotspot / EPD) are published there as tools with JSON Schemas, which lets the * CLI generate its subcommands and flags at runtime — no schema copy in this * package to drift when the server adds a field. Search is the one exception * (REST + SSE, see search.ts). * * This is an implementation detail. Users never see an MCP endpoint. */ import { Client } from "@modelcontextprotocol/sdk/client/index.js"; import type { Tool } from "@modelcontextprotocol/sdk/types.js"; export declare function getClient(): Promise; export declare function listTools(): Promise; /** Call one tool; returns its text payload (the tools return JSON strings). */ export declare function callTool(name: string, args: Record): Promise; //# sourceMappingURL=mcpClient.d.ts.map