We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jeetinida/stocknews-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
'use strict';
var globalThis = require('../internals/global-this');
var isCallable = require('../internals/is-callable');
var aFunction = function (argument) {
return isCallable(argument) ? argument : undefined;
};
module.exports = function (namespace, method) {
return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
};