Skip to main content
Glama
index-enhanced.ts931 B
#!/usr/bin/env node import { EnhancedUmbrellaMcpServer } from './enhanced-logging-server.js'; import dotenv from 'dotenv'; // Load environment variables dotenv.config(); // Get the base URL from environment variables const baseURL = process.env.UMBRELLA_API_BASE_URL || 'https://api.umbrellacost.io/api/v1'; // Create and run the enhanced server with comprehensive logging const server = new EnhancedUmbrellaMcpServer(baseURL); // Handle unhandled promise rejections process.on('unhandledRejection', (reason, promise) => { console.error('🚨 Unhandled Rejection at:', promise, 'reason:', reason); process.exit(1); }); // Handle uncaught exceptions process.on('uncaughtException', (error) => { console.error('🚨 Uncaught Exception:', error); process.exit(1); }); // Start the server server.run().catch((error) => { console.error('❌ Failed to start Enhanced Umbrella MCP Server:', error); process.exit(1); });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daviddraiumbrella/invoice-monitoring'

If you have feedback or need assistance with the MCP directory API, please join our Discord server