Skip to main content
Glama
simple-stream.js385 B
'use strict' const fastify = require('../fastify')({ logger: false }) const Readable = require('node:stream').Readable fastify .get('/', function (req, reply) { const stream = Readable.from(['hello world']) reply.send(stream) }) fastify.listen({ port: 3000 }, (err, address) => { if (err) { throw err } fastify.log.info(`server listening on ${address}`) })

Latest Blog Posts

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/krtw00/search-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server