Skip to main content
Glama
index.ts198 B
export const getTextContent = (doc: any) => { if (doc.type === "text") { return doc.text; } else if (doc.content) { return doc.content.map(getTextContent).join(" "); } return ""; };

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/mouhamadalmounayar/mcp-confluence'

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