Skip to main content
Glama
cfocoder

Financial Modeling Prep MCP Server

resolveAccessToken.ts397 B
import type { SessionConfig } from "../mcp-server-factory/McpServerFactory.js"; /** * Resolves access token with precedence: server-level token overrides session config. * Returns undefined if neither is present. */ export function resolveAccessToken( serverToken?: string, sessionConfig?: SessionConfig ): string | undefined { return serverToken || sessionConfig?.FMP_ACCESS_TOKEN; }

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

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