Skip to main content
Glama

MCP 3D Printer Server

topic-alias-recv.js630 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class TopicAliasRecv { constructor(max) { this.aliasToTopic = {}; this.max = max; } put(topic, alias) { if (alias === 0 || alias > this.max) { return false; } this.aliasToTopic[alias] = topic; this.length = Object.keys(this.aliasToTopic).length; return true; } getTopicByAlias(alias) { return this.aliasToTopic[alias]; } clear() { this.aliasToTopic = {}; } } exports.default = TopicAliasRecv; //# sourceMappingURL=topic-alias-recv.js.map

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