Skip to main content
Glama
by microsoft
html.genai.mjs454 B
script({ model: "small", title: "HTML to Text", tests: {}, }) const { text: html } = await fetchText( "https://microsoft.github.io/genaiscript/getting-started/" ) const text = await HTML.convertToText(html) def("TEXT", text) const md = await HTML.convertToMarkdown(html) const v = def("MARKDOWN", md) const tables = await HTML.convertTablesToJSON(html) defData("TABLES", tables) $`Compare TEXT and MARKDOWN. Analyze the TABLES data.`

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