/** * `scai mcp serve` — launches the MCP server bound to a single Sitecore * environment for the lifetime of the process. * * Two transports, selected with `--transport`: * - `stdio` (default) — a desktop MCP host spawns scai as a child * process and drives it over stdin/stdout. * - `http` — a Streamable HTTP listener at `http://:/mcp` * so URL-based clients (including browser-hosted ones) can connect. * * The handler's first job is `installMcpStdoutDiscipline()` — sets the * SITECOREAI_* env vars BEFORE the heavier scai modules load, and * redirects every consola log call to stderr. After that point it's * safe to import the rest of the scai surface. */ import { Command } from "commander"; interface McpServeOptions { environmentName?: string; config?: string; transport?: string; port?: number; host?: string; telemetry?: boolean; } export declare const runMcpServe: (options: McpServeOptions) => Promise; export declare const createMcpServeCommand: () => Command; export {};