Skip to main content
Glama
utils.spec.ts550 B
import { getTextContent } from "../../utils"; describe("getTextContent", () => { it("should return the inline text of a document", () => { const doc = { type: "mock_type", content: [ { type: "text", text: "Hello", }, { type: "mock_type", content: [ { type: "text", text: "World", }, ], }, ], }; const result = getTextContent(doc); expect(result).toEqual("Hello World"); }); });

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