Skip to main content
Glama
json2xml.jsโ€ข399 B
var js2xml = require('./js2xml.js'); module.exports = function (json, options) { if (json instanceof Buffer) { json = json.toString(); } var js = null; if (typeof (json) === 'string') { try { js = JSON.parse(json); } catch (e) { throw new Error('The JSON structure is invalid'); } } else { js = json; } return js2xml(js, options); };

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/consigcody94/office-whisperer'

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