Skip to main content
Glama

GenAIScript

Official
by microsoft
MIT License
43
2,820
  • Linux
  • Apple
poem2.md788 B
--- layout: image-left image: /poem2.jpg --- # Poet-moji to file script Poem generator to a file. <v-click> ```js // GenAIScript poem.genai.mjs $`Write a poem using emojis. Save it to file poem.txt.` ``` </v-click> <v-click> ````txt // prompt.txt Write a poem using emojis. Save it t file poem.txt. ```` </v-click> <v-click> ````json // OpenAI API request { "messages": [ { "role": "system", "content": "Use this format for files..."}] }, { "role": "user", "content": "Write a poem using emojis. Save it to file poem.txt."}, ```` </v-click> <v-click> ````text // OpenAI Text Response File: ./poem.txt 🌅🌻🌞 🌳🍃🍂 🌙✨🌌 💤🌠🌙 ```` </v-click> <v-click> ```js // poem.txt 🌅🌻🌞 🌳🍃🍂 🌙✨🌌 💤🌠🌙 ``` </v-click>

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