Skip to main content
Glama

Prompt Auto-Optimizer MCP

by sloth-wq
server.ts1.01 kB
/** * GEPA MCP Server Implementation */ export async function startServer(): Promise<void> { // eslint-disable-next-line no-console console.log('GEPA MCP Server starting...'); try { // Initialize and start the GEPA MCP server const { GEPAMCPServer } = await import('./mcp/server'); const server = new GEPAMCPServer(); // Initialize all components await server.start(); // eslint-disable-next-line no-console console.log('GEPA MCP Server started successfully'); // Handle graceful shutdown process.on('SIGINT', async () => { // eslint-disable-next-line no-console console.log('\nShutting down GEPA MCP Server...'); await server.shutdown(); process.exit(0); }); process.on('SIGTERM', async () => { await server.shutdown(); process.exit(0); }); } catch (error) { // eslint-disable-next-line no-console console.error('Failed to start GEPA MCP Server:', error); process.exit(1); } }

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/sloth-wq/prompt-auto-optimizer-mcp'

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