@ttaqt/novel-workflow-mcp
Version:
MCP server for AI-assisted novel writing workflow with real-time web dashboard
22 lines • 1.07 kB
TypeScript
export declare const DASHBOARD_TEST_MESSAGE = "MCP Workflow Dashboard Online!";
export declare function findAvailablePort(): Promise<number>;
/**
* Check if a specific port is available for use
* @param port The port number to check
* @returns Promise<boolean> true if port is available, false otherwise
*/
export declare function isSpecificPortAvailable(port: number): Promise<boolean>;
/**
* Check if an existing dashboard is running on the specified port
* @param port The port number to check
* @returns Promise<boolean> true if a dashboard is running, false otherwise
*/
export declare function checkExistingDashboard(port: number): Promise<boolean>;
/**
* Validate a port number and check if it's available
* @param port The port number to validate and check
* @param skipDashboardCheck Optional flag to skip checking for existing dashboard
* @returns Promise<void> throws error if invalid or unavailable
*/
export declare function validateAndCheckPort(port: number, skipDashboardCheck?: boolean): Promise<void>;
//# sourceMappingURL=utils.d.ts.map