/** * MCP Daemon Management - Start, stop, and monitor MCP daemons */ import type { DaemonConfig, DaemonStatus, LockFile } from "../shared/types.js"; /** * Check if a daemon is running by reading its lock file * For Python MCP servers (uv run), the parent process may exit while the actual * server continues running. So we also check if the port is responding. */ export declare function isDaemonRunning(name: string): LockFile | null; /** * Check if a daemon is running (async version with port check) */ export declare function isDaemonRunningAsync(name: string): Promise; /** * Start a daemon process */ export declare function startDaemon(config: DaemonConfig): Promise; /** * Stop a daemon process */ export declare function stopDaemon(name: string): Promise; /** * Get status of a daemon (sync version - uses process check only) */ export declare function getDaemonStatus(name: string): DaemonStatus; /** * Get status of a daemon (async version - checks both process and port) */ export declare function getDaemonStatusAsync(name: string): Promise; /** * Get daemon port (start if not running) */ export declare function ensureDaemonRunning(config: DaemonConfig): Promise; //# sourceMappingURL=daemon.d.ts.map