UNPKG

safe-commander-mcp

Version:

A secure MCP server for executing whitelisted development commands with comprehensive security controls and resource limits

23 lines (22 loc) 600 B
#!/usr/bin/env node "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const mcp_server_1 = require("./server/mcp-server"); /** * Main entry point for the Safe Commander MCP server * Minimal bootstrap that delegates to the server startup logic */ async function main() { try { await (0, mcp_server_1.startMCPServer)(); } catch (error) { console.error('FATAL:', error); process.exit(1); } } // Start the server with comprehensive error handling main().catch((error) => { console.error('FATAL:', error); process.exit(1); });