Skip to main content
Glama
getFullCodeCache.tsâ€ĸ571 B
// Simple file-based cache for GetFullCode import * as fs from 'fs'; import * as path from 'path'; const CACHE_FILE = path.join(process.cwd(), '.getfullcode.cache.json'); export function saveFullCodeCache(data: any) { fs.writeFileSync(CACHE_FILE, JSON.stringify(data, null, 2), 'utf-8'); } export function loadFullCodeCache(): any | null { if (fs.existsSync(CACHE_FILE)) { const raw = fs.readFileSync(CACHE_FILE, 'utf-8'); try { return JSON.parse(raw); } catch { return null; } } return null; }

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/fr0ster/mcp-abap-adt'

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