Skip to main content
Glama

GitMCP

utils.test.ts703 B
import { describe, it, expect, vi, beforeEach, afterEach } from "vitest"; import { getReferenceDocsListAsMarkdown, getReferenceDocsContent, fetchThreeJsUrlsAsMarkdown, } from "./utils.js"; describe("Threejs Utils", () => { it("should get the reference docs list as markdown", async () => { const result = await getReferenceDocsContent({ // @ts-ignore env: {}, documents: [ { documentName: "AudioContext" }, { documentName: "api/en/constants/BufferAttributeUsage" }, { documentName: "Debugging JavaScript" }, { documentName: "en/tips#preservedrawingbuffer" }, ], }); expect(result.content[0].text).toMatchSnapshot(); }); });

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/idosal/git-mcp'

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