mcp-chain-of-draft-server
Version:
A Model Context Protocol server which provides Chain of Draft style thinking
13 lines (12 loc) • 512 B
TypeScript
export declare const isPortAvailable: (port: number) => Promise<boolean>;
/**
* Find an available port, if the port is not provided, it will generate a random port
* if the port is provided, it will check if the port is available and if not, it will increment the port until it is available
* @param port - The port to check
* @returns The available port
*/
export declare const findAvailablePort: (port?: number) => Promise<number>;
/**
*
*/
export declare const getLocalIpAddress: () => Promise<string>;