Skip to main content
Glama
by microsoft
grep.genai.mjs591 B
script({ title: "grep search", model: "echo", group: "commit", tests: {}, }) let res res = await workspace.grep(/deftool/i) if (!res.files.length) throw new Error("No files found.") res = await workspace.grep(/deftool/i, { path: "genaisrc", glob: "*.genai.*", }) if (!res.files.length) throw new Error("No files found.") res = await workspace.grep(/deftool/i, { glob: "**/*.genai.*", }) if (!res.files.length) throw new Error("No files found.") res = await workspace.grep(/deftool/i, "**/*.genai.*") if (!res.files.length) throw new Error("No files found.")

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