Skip to main content
Glama
bruno-utils.ts511 B
export const safeParseJson = (json: string) => { try { return JSON.parse(json); } catch (e) { return null; } }; export const indentString = (str: string) => { if (!str || !str.length) { return str || ""; } return str .split("\n") .map((line) => " " + line) .join("\n"); }; export const outdentString = (str: string) => { if (!str || !str.length) { return str || ""; } return str .split("\n") .map((line) => line.replace(/^ /, "")) .join("\n"); };

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/djkz/bruno-api-mcp'

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