Skip to main content
Glama
by microsoft
git-other.genai.mjs521 B
script({ model: "none" }) const { cwd } = await git.shallowClone("microsoft/genaiscript", { branch: "gh-pages", }) console.log(`git: ${cwd}`) const { text } = await runPrompt(`What is the current git repo and branch?`, { model: "small", system: [ { id: "system.git_info", parameters: { cwd } }, { id: "system.git_diff", parameters: { cwd, variant: "gh-pages" } }, ], label: "git info", }) console.log(text) if (!text.includes("gh-page")) throw new Error("Expected gh-pages branch")

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/microsoft/genaiscript'

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