UNPKG

askme-cli

Version:

askme-cli MCP server that collects user's next plan or confirmation through terminal window

21 lines • 647 B
// MCP-CLI Server Entry Point import { startMCPServer } from "./server/core/mcp-server.js"; // Set up global process event listeners for resource cleanup process.on("exit", () => { // Clean up when process exits console.error("šŸ”š Server is exiting..."); }); process.on("SIGINT", () => { console.error("\nāš ļø Received interrupt signal, cleaning up resources..."); process.exit(); }); process.on("uncaughtException", (error) => { console.error("āŒ Uncaught exception:", error); process.exit(1); }); // Start server async function main() { await startMCPServer(); } main(); //# sourceMappingURL=mcp-cli-server.js.map