Skip to main content
Glama
index.jsโ€ข317 B
'use strict'; const escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode); const hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`; const escapeUriPath = (uri) => uri.split("/").map(escapeUri).join("/"); exports.escapeUri = escapeUri; exports.escapeUriPath = escapeUriPath;

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