UNPKG

checklist-mcp-server

Version:

An MCP server for hierarchical checklist management with HTTP streamable transport support.

22 lines (21 loc) 711 B
#!/usr/bin/env node "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const stdio_js_1 = require("@modelcontextprotocol/sdk/server/stdio.js"); const server_js_1 = require("./server.js"); async function main() { try { const server = (0, server_js_1.createChecklistServer)(); const transport = new stdio_js_1.StdioServerTransport(); await server.connect(transport); console.log("Checklist MCP Server (stdio) started"); } catch (error) { console.error("Error during server initialization:", error); process.exit(1); } } main().catch(error => { console.error("Unhandled error in main:", error); process.exit(1); });