Skip to main content
Glama
label.js469 B
'use strict'; const format = require('./format'); /* * function label (info) * Returns a new instance of the label Format which adds the specified * `opts.label` before the message. This was previously exposed as * { label: 'my label' } to transports in `winston < 3.0.0`. */ module.exports = format((info, opts) => { if (opts.message) { info.message = `[${opts.label}] ${info.message}`; return info; } info.label = opts.label; return info; });

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/PancrePal-xiaoyibao/get-biji-dev-by-gemini3pro'

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