Skip to main content
Glama

MCP 3D Printer Server

generate.js450 B
const mqtt = require('../') const max = 100000 let i const buf = Buffer.from('test') // initialize it mqtt.generate({ cmd: 'publish', topic: 'test', payload: buf }) const start = Date.now() for (i = 0; i < max; i++) { mqtt.generate({ cmd: 'publish', topic: 'test', payload: buf }) } const time = Date.now() - start console.log('Total time', time) console.log('Total packets', max) console.log('Packet/s', max / time * 1000)

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/DMontgomery40/mcp-3D-printer-server'

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