Skip to main content
Glama
quote.js•497 B
'use strict'; module.exports = function quote(xs) { return xs.map(function (s) { if (s === '') { return '\'\''; } if (s && typeof s === 'object') { return s.op.replace(/(.)/g, '\\$1'); } if ((/["\s\\]/).test(s) && !(/'/).test(s)) { return "'" + s.replace(/(['])/g, '\\$1') + "'"; } if ((/["'\s]/).test(s)) { return '"' + s.replace(/(["\\$`!])/g, '\\$1') + '"'; } return String(s).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g, '$1\\$2'); }).join(' '); };

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