Skip to main content
Glama
by microsoft
azure-ai-search.genai.mjs415 B
script({ model: "small", files: "src/rag/*", tests: { files: "src/rag/*", keywords: ["lorem"], }, }) const index = await retrieval.index("docs", { type: "azure_ai_search", cacheSalt:"1" }) await index.insertOrUpdate(env.files) const chunks = await index.search("lorem") console.log(`Found ${chunks.length} chunks.`) def("FILES", chunks) $`Summarize FILES. Use one short sentence.`

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