Skip to main content
Glama

MCP Prompts Server

#!/usr/bin/env node import { spawn } from 'child_process'; import { join } from 'path'; const serverPath = join(__dirname, 'index.js'); const child = spawn('node', [serverPath, ...process.argv.slice(2)], { stdio: 'inherit', cwd: process.cwd() }); child.on('exit', (code) => { process.exit(code || 0); }); process.on('SIGINT', () => { child.kill('SIGINT'); }); process.on('SIGTERM', () => { child.kill('SIGTERM'); });

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/sparesparrow/mcp-prompts'

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