Skip to main content
Glama

Financial Modeling Prep MCP Server

Apache 2.0
17
59
  • Linux
  • Apple
computeClientId.ts529 B
import crypto from 'node:crypto'; /** * Computes a stable client identifier from an access token. * - If a token is provided, returns `client:<sha256(token)>`. * - If no token is provided, returns a per-request unique `anon:<uuid>`. */ export function computeClientId(accessToken?: string): string { if (typeof accessToken === 'string' && accessToken.length > 0) { const hash = crypto.createHash('sha256').update(accessToken).digest('hex'); return `client:${hash}`; } return `anon:${crypto.randomUUID()}`; }

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/imbenrabi/Financial-Modeling-Prep-MCP-Server'

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