Skip to main content
Glama
debug-server-cli.ts810 B
#!/usr/bin/env node import { startDebugServer } from './debug-server'; const port = parseInt(process.env.DEBUG_PORT || '3001', 10); console.log('Starting Todoist MCP Debug Server...'); console.log(`Port: ${port}`); startDebugServer(port); // Handle graceful shutdown process.on('SIGINT', () => { console.log('\nReceived SIGINT, shutting down debug server...'); process.exit(0); }); process.on('SIGTERM', () => { console.log('\nReceived SIGTERM, shutting down debug server...'); process.exit(0); }); // Add global error handling process.on('uncaughtException', (error) => { console.error('Uncaught exception:', error); process.exit(1); }); process.on('unhandledRejection', (reason, promise) => { console.error('Unhandled rejection at:', promise, 'reason:', reason); 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/bkotos/todoist-mcp'

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