syia-mcp-vessel-accounts
Version:
MCP server for vessel account management including EyeShare API integration, vessel expenses, and purchase orders
22 lines (17 loc) • 651 B
JavaScript
import { execSync } from 'child_process';
import { fileURLToPath } from 'url';
import { dirname, join } from 'path';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
try {
console.log('Installing mcp-vessel-accounts...');
// Make the CLI executable
const cliPath = join(__dirname, 'bin', 'cli.js');
execSync(`chmod +x "${cliPath}"`, { stdio: 'inherit' });
console.log('✅ mcp-vessel-accounts installed successfully!');
console.log('Usage: mcp-vessel-accounts --help');
} catch (error) {
console.error('❌ Installation failed:', error.message);
process.exit(1);
}