UNPKG

agentic-qe

Version:

Agentic Quality Engineering Fleet System - AI-driven quality management platform

35 lines 1.16 kB
#!/usr/bin/env node "use strict"; /** * MCP Server Startup Script for Agentic QE * This starts the MCP server that Claude Code can connect to */ Object.defineProperty(exports, "__esModule", { value: true }); const stdio_js_1 = require("@modelcontextprotocol/sdk/server/stdio.js"); const server_1 = require("./server"); async function main() { try { // Create the MCP server instance const aqeServer = new server_1.AgenticQEMCPServer(); // Create stdio transport for Claude Code const transport = new stdio_js_1.StdioServerTransport(); // Start the server (this blocks until server is stopped) await aqeServer.start(transport); // Handle graceful shutdown process.on('SIGINT', async () => { await aqeServer.stop(); process.exit(0); }); process.on('SIGTERM', async () => { await aqeServer.stop(); process.exit(0); }); } catch (error) { console.error('Failed to start MCP server:', error); process.exit(1); } } // Run the server main().catch(console.error); //# sourceMappingURL=start.js.map