Skip to main content
Glama
index.mjs915 B
#!/usr/bin/env node import TaskManagerMCPServer from './server.mjs'; /** * Start the Task Manager MCP server */ async function startServer() { const server = new TaskManagerMCPServer(); // Handle graceful shutdown process.on('SIGINT', async () => { await server.stop(); process.exit(0); }); // Handle SIGTERM process.on('SIGTERM', async () => { await server.stop(); process.exit(0); }); // Handle unhandled promise rejections process.on('unhandledRejection', (reason, promise) => { // Silent exit for MCP protocol compliance process.exit(1); }); // Handle uncaught exceptions process.on('uncaughtException', (error) => { // Silent exit for MCP protocol compliance process.exit(1); }); try { await server.start(); } catch (error) { // Silent exit for MCP protocol compliance process.exit(1); } } // Start the server startServer();

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/localSummer/task-manager-mcp'

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