procedure-memory-mcp-server
Version:
Procedure memory management system with MCP integration using Zep
16 lines (12 loc) • 444 B
JavaScript
import { fileURLToPath } from 'url';
import { dirname, join } from 'path';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
// Import and run the main server directly
const serverPath = join(__dirname, '..', 'dist', 'index.js');
// Import the main function and run it
import(serverPath).catch((error) => {
console.error('Error starting server:', error);
process.exit(1);
});