We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/m-shirt/paytal-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { promptPaths } from "../prompts/paths.js";
/**
* Discovers and loads available prompts from the prompts directory
* @returns {Promise<Array>} Array of prompt objects
*/
export async function discoverPrompts() {
const promptPromises = promptPaths.map(async (file) => {
const module = await import(`../prompts/${file}`);
return {
...module.default,
path: file,
};
});
return Promise.all(promptPromises);
}