Skip to main content
Glama
feedback-loop-mcp.js780 B
#!/usr/bin/env node import path from 'path'; import { spawn } from 'child_process'; import { fileURLToPath } from 'url'; import { dirname } from 'path'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); // Get the directory where this package is installed const packageDir = path.dirname(path.dirname(__filename)); const mcpServerPath = path.join(packageDir, 'server', 'mcp-server.js'); // Execute the MCP server as a child process const serverProcess = spawn('node', [mcpServerPath], { stdio: 'inherit' }); // Handle process termination process.on('SIGINT', () => { serverProcess.kill('SIGINT'); }); process.on('SIGTERM', () => { serverProcess.kill('SIGTERM'); }); serverProcess.on('exit', (code) => { process.exit(code); });

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/tuandinh-org/feedback-loop-mcp'

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