/** * 서버·클라이언트 조립 — stdio와 HTTP 모드가 공유하는 팩토리 */ import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { type Clients } from "../tool-registry.js"; /** 프로세스당 1개 — 캐시는 요청·사용자 간 공유된다 (조회 결과에 개인정보 없음) */ export declare function createClients(): Clients; /** MCP Server 인스턴스 생성 + 도구 등록. HTTP stateless 모드에서는 요청마다 호출된다 */ export declare function createMcpServer(clients: Clients): Server;