Skip to main content
Glama

Physics MCP Server

by BlinkZer0
export-pngs.mjs524 B
import { readdirSync, mkdirSync } from 'node:fs'; import { join, parse } from 'node:path'; import sharp from 'sharp'; const IN = 'assets/svg/headers'; const OUT = 'assets/png/headers'; mkdirSync(OUT, { recursive: true }); const files = readdirSync(IN).filter(f => f.endsWith('.svg')); for (const f of files) { const base = parse(f).name; const inPath = join(IN, f); const outPath = join(OUT, base + '.png'); await sharp(inPath).png({ compressionLevel: 9 }).toFile(outPath); console.log(`Exported ${outPath}`); }

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/BlinkZer0/Phys-MCP'

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