Skip to main content
Glama
by microsoft
local-file.genai.mjs445 B
script({ model: "echo", group: "commit" }) const __filename = path.resolveFileURL(import.meta.url) const __dirname = path.dirname(__filename) console.log("Current file path:", __filename) console.log("Current directory:", __dirname) const langgraph = await workspace.readText(path.join(__dirname, "langgraph.md")) console.log(`langgraph.md content: ${langgraph.content.length}`) if (!langgraph) throw new Error("Failed to read langgraph.md")

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