We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/NabiaTech/codegraph-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
hash.ts•254 B
import { createHash } from 'node:crypto';
export function makeId(parts: (string|number|undefined|null)[]) {
const h = createHash('sha1');
for (const p of parts) h.update(String(p ?? ''));
return h.digest('hex').slice(0, 16); // short but stable
}