/** * Build the `@modelcontextprotocol/sdk` MCP server exposing the seven cockpit * tools over stdio. Tools call the same internal `run()` functions the * CLI uses (spec § Design invariant #1). * * Each handler returns `ToolResult` — either `{status:"ok", data}` or * `{status:"error", class, detail}`. That envelope is serialized as * `structuredContent` so callers can dispatch on `status` without parsing * text. */ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import type { CommandRunner } from '@generacy-ai/cockpit'; export interface BuildMcpServerDeps { runner?: CommandRunner; } export declare function buildMcpServer(deps?: BuildMcpServerDeps): McpServer; //# sourceMappingURL=server.d.ts.map