zrald0
Version:
š§ zrald0 - Master Planning & Orchestration MCP Server. The intelligent conductor that creates comprehensive plans and orchestrates the entire zrald ecosystem (zrald1-4) to execute user requests with precision.
35 lines ⢠1.16 kB
JavaScript
import { Zrald0MCPServer } from './mcp-server.js';
import { config } from 'dotenv';
// Load environment variables
config();
async function main() {
try {
console.log('š§ Starting zrald0 - Master Planning & Orchestration Server');
const server = new Zrald0MCPServer();
// Handle graceful shutdown
process.on('SIGINT', async () => {
console.log('\nš Received SIGINT, shutting down gracefully...');
await server.shutdown();
process.exit(0);
});
process.on('SIGTERM', async () => {
console.log('\nš Received SIGTERM, shutting down gracefully...');
await server.shutdown();
process.exit(0);
});
// Start the server
await server.start();
}
catch (error) {
console.error('š„ Failed to start zrald0 server:', error);
process.exit(1);
}
}
main().catch((error) => {
console.error('š„ Fatal error:', error);
process.exit(1);
});
export { Zrald0MCPServer } from './mcp-server.js';
export * from './types/planning.js';
//# sourceMappingURL=index.js.map