Skip to main content
Glama
index.js298 B
import fs, {promises as fsPromises} from 'node:fs'; export async function pathExists(path) { try { await fsPromises.access(path); return true; } catch { return false; } } export function pathExistsSync(path) { try { fs.accessSync(path); return true; } catch { return false; } }

Latest Blog Posts

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/madebyaris/rakitui-ai'

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