Skip to main content
Glama
__get__.js•726 B
/** * This function will be stringified and then injected into every rewired module. * Then you can leak private variables by calling myModule.__get__("myPrivateVar"); * * All variables within this function are namespaced in the arguments array because every * var declaration could possibly clash with a variable in the module scope. * * @param {!String} name name of the variable to retrieve * @throws {TypeError} * @return {*} */ function __get__() { arguments.varName = arguments[0]; if (arguments.varName && typeof arguments.varName === "string") { return eval(arguments.varName); } else { throw new TypeError("__get__ expects a non-empty string"); } } module.exports = __get__;

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/samihalawa/brevo-mcp'

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