#!/usr/bin/env node /** * Serve MCP over stdio, until the client disconnects. * * Exported because there are two ways in and they must be the same program. * `crossline-mcp` is the binary the README documents; `crossline mcp` is the * subcommand, and it exists because the MCP registry builds its launch line as * ` @ ` — * a shape with nowhere to put `npx -y -p crossline crossline-mcp`. A registry * entry can only reach a subcommand, so `server.json` names one. Both callers * land here rather than on two copies that drift. * * Nothing but JSON-RPC may ever reach stdout on this path: a single stray * `console.log` upstream of the transport corrupts the stream and the agent * sees a parse error instead of a tool. */ export declare function startMcpServer(): Promise;