Skip to main content
Glama

myAI Memory Sync

by Jktfe
direct.ts952 B
#!/usr/bin/env node import { DirectMcpServer } from './directServer.js'; // Main function async function main() { try { console.error('Starting myAI Memory Sync Direct MCP server'); // Create and start the server const server = new DirectMcpServer(); server.start(); console.error('Direct MCP server ready'); // Keep the process alive process.stdin.resume(); // Handle SIGTERM gracefully process.on('SIGTERM', () => { console.error('Received SIGTERM, shutting down...'); server.stop(); process.exit(0); }); // Handle SIGINT gracefully process.on('SIGINT', () => { console.error('Received SIGINT, shutting down...'); server.stop(); process.exit(0); }); } catch (error) { console.error(`Error starting MCP server: ${error instanceof Error ? error.message : String(error)}`); process.exit(1); } } // Start the server main();

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/Jktfe/myAImemory-mcp'

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