mcp-casual-interview
Version:
MCP server for casual interview preparation workflow management
16 lines (12 loc) • 383 B
JavaScript
import { spawn } from 'child_process';
import { fileURLToPath } from 'url';
import { dirname, join } from 'path';
const __dirname = dirname(fileURLToPath(import.meta.url));
const mcpServer = join(__dirname, '..', 'dist', 'index.js');
const child = spawn('node', [mcpServer], {
stdio: 'inherit'
});
child.on('exit', (code) => {
process.exit(code || 0);
});