/** * Streamable HTTP stateless 서버 (MCP 표준) * - 요청마다 fresh Server + Transport → 재시작·스케일아웃 무손실 * - 인증키: 요청 헤더(X-Data-Go-Kr-Key, X-Law-Oc) 우선, 없으면 서버 env * - SERVER_AUTH_TOKEN 설정 시 MCP·챗봇 API Bearer 토큰 검사 * - TLS·사용자별 인증은 앞단 기관 게이트웨이가 담당 (DEPLOY.md 참조) * - 챗봇 API에는 기본 보안 헤더와 IP별 호출 한도가 있다 */ import { type Server as HttpServer } from "node:http"; import type { Clients } from "../tool-registry.js"; export declare function startHttpServer(clients: Clients, port: number, adapter?: import("./llm-adapter.js").LlmAdapter | null): HttpServer;