vestige/packages/vestige-mcp-npm/bin/engram-mcp.js
Sam Valladares f9c60eb5a7 Initial commit: Vestige v1.0.0 - Cognitive memory MCP server
FSRS-6 spaced repetition, spreading activation, synaptic tagging,
hippocampal indexing, and 130 years of memory research.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 01:31:03 -06:00

19 lines
463 B
JavaScript
Executable file

#!/usr/bin/env node
const { spawn } = require('child_process');
const path = require('path');
const os = require('os');
const platform = os.platform();
const arch = os.arch();
const binaryName = platform === 'win32' ? 'engram-mcp.exe' : 'engram-mcp';
const binaryPath = path.join(__dirname, '..', 'bin', binaryName);
const child = spawn(binaryPath, process.argv.slice(2), {
stdio: 'inherit',
});
child.on('exit', (code) => {
process.exit(code ?? 0);
});