Skip to main content
Glama

MCP Files

by OrionPotter
util.tsโ€ข424 B
import fs from 'fs' const testUtil = { createTempFile(name: string, content: string): string { const tempPath = `/tmp/temp-${name}-${Date.now()}.ts` fs.writeFileSync(tempPath, content) return tempPath }, cleanupTempFiles(paths: string[]) { paths.forEach(path => { try { fs.unlinkSync(path) } catch { // Ignore cleanup errors } }) }, } export default testUtil

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/OrionPotter/flesler-mcp-tools'

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