UNPKG

elasticsearch-mcp

Version:

Secure MCP server for Elasticsearch integration with comprehensive tools and Elastic Cloud support

28 lines 862 B
#!/usr/bin/env node "use strict"; /** * Elastic MCP Server Entry Point * * This is the main entry point for the Elastic MCP server that provides * standardized tools for interacting with Elasticsearch clusters. */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const server_js_1 = __importDefault(require("./server.js")); async function main() { try { const server = new server_js_1.default(); await server.start(); } catch (error) { console.error('Failed to start Elastic MCP Server:', error); process.exit(1); } } main().catch((error) => { console.error('Unhandled error in main:', error); process.exit(1); }); //# sourceMappingURL=index.js.map