Skip to main content
Glama
by microsoft
console-module.genai.mjs497 B
script({ model:"echo", group: "commit", tests: {}, }) console.log("log") console.warn(`warn`) console.error(`error`) try { throw new Error(`error`) } catch(e) { console.error(e) } await runPrompt( (_) => { _.console.log("prompt.log") _.console.warn("prompt.warn") _.console.error("prompt.error") _.$`write a movie title` }, { label: "inner prompt", model: "small" } ) console.log(`after run prompt`) $`write a poem of 2 verse.`

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