Skip to main content
Glama
factoryValidator.js439 B
module.exports = function(factory) { if (typeof factory.create !== "function") { throw new TypeError("factory.create must be a function"); } if (typeof factory.destroy !== "function") { throw new TypeError("factory.destroy must be a function"); } if ( typeof factory.validate !== "undefined" && typeof factory.validate !== "function" ) { throw new TypeError("factory.validate must be a function"); } };

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/GongRzhe/REDIS-MCP-Server'

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