Skip to main content
Glama

Financial News and Notes MCP Server

MIT License
129
199
  • Apple
  • Linux
genericFormatters.js516 B
// 通用数据格式化函数模块 // 用于处理通用的数据展示 // 格式化通用数据 export function formatGenericData(data, fields) { let output = ''; for (const item of data) { output += ' 数据记录\n'; for (const field of fields.slice(0, 10)) { // 只显示前10个字段 if (item[field] !== null && item[field] !== undefined) { output += `${field}: ${item[field]}\n`; } } output += '\n'; } return output; }

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/guangxiangdebizi/my-mcp-server'

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