We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/takumi0706/google-calendar-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
#!/usr/bin/env node
import mcpServer from './mcp/server';
import logger from './utils/logger';
// Process termination handling
process.on('SIGINT', async () => {
logger.debug('Received SIGINT. Graceful shutdown...');
await mcpServer.stop();
process.exit(0);
});
process.on('SIGTERM', async () => {
logger.debug('Received SIGTERM. Graceful shutdown...');
await mcpServer.stop();
process.exit(0);
});
process.on('uncaughtException', (error: Error) => {
logger.error(`Uncaught exception: ${error}`);
process.exit(1);
});
// Server startup
async function main() {
try {
await mcpServer.start();
} catch (error) {
logger.error(`Failed to start server: ${error}`);
process.exit(1);
}
}
main();