Skip to main content
Glama

MCP Prompts Server

#!/usr/bin/env node // This is a simple wrapper script that uses the createRequire API // to load CommonJS modules in an ESM context import { createRequire } from 'module'; import { fileURLToPath } from 'url'; import { dirname, join } from 'path'; // Set up paths const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); const rootDir = join(__dirname, '..'); // Create a require function const require = createRequire(import.meta.url); // Load the CommonJS module require(join(rootDir, 'dist', 'index.js'));

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