Skip to main content
Glama

MCP 3D Printer Server

import isNpmOrYarn from './isNpmOrYarn'; import hasNewVersion from './hasNewVersion'; import { IUpdate } from './types'; import borderedText from './borderedText'; const simpleUpdateNotifier = async (args: IUpdate) => { if ( !args.alwaysRun && (!process.stdout.isTTY || (isNpmOrYarn && !args.shouldNotifyInNpmScript)) ) { if (args.debug) { console.error('Opting out of running simpleUpdateNotifier()'); } return; } try { const latestVersion = await hasNewVersion(args); if (latestVersion) { console.error( borderedText(`New version of ${args.pkg.name} available! Current Version: ${args.pkg.version} Latest Version: ${latestVersion}`) ); } } catch (err) { // Catch any network errors or cache writing errors so module doesn't cause a crash if (args.debug && err instanceof Error) { console.error('Unexpected error in simpleUpdateNotifier():', err); } } }; export default simpleUpdateNotifier;

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