Skip to main content
Glama
by microsoft
api.mjs624 B
console.log(`loading cli`) const api = await import("genaiscript/api") console.log(api) { const res = await api.run("poem") if (res.error) throw new Error(res.error) await api.run("summarize", "packages/sample/src/rag/markdown.md") await api.run("parameters", [], { vars: { string: "abc", number: 123, boolean: true, stringSchema: "efg", numberSchema: 456, booleanSchema: true, }, }) } process.chdir("..") { await api.run( "summarize", "genaiscript/packages/sample/src/rag/markdown.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