Skip to main content
Glama
getFileHash.ts227 B
import crypto from 'crypto-js'; export const getFileHash = (filePath: string) => { const hash = crypto.SHA3(filePath); return hash .toString(crypto.enc.Base64) .replace(/[^A-Z\d]/gi, '') .substring(0, 20); };

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/aymericzip/intlayer'

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