/** * `astramem-local mcp-stdio` — MCP server over the stdio transport. * * Everything HTTP/POST-/mcp gets from buildMcpServer() (src/mcp/server.ts), * this subcommand gets too — same tool set, same db/embed wiring — just * connected to a StdioServerTransport instead of a Fastify route. No daemon * lifecycle (no instance lock, no worker, no shipper, no timers): this * process is meant to be spawned per-client-session by an MCP host and to * exit when that host closes stdin, not to run as a long-lived service. * * Reuses the same config/datadir resolution and mock-provider opt-in * (ASTRA_MEMORY_MOCK_PROVIDERS=1) as `serve` so tests can drive it without * Ollama — see tests/smoke/mcp-stdio.e2e.test.ts. */ export interface McpStdioOpts { dataDir?: string; } export declare function mcpStdio(opts?: McpStdioOpts): Promise;