Skip to main content
Glama

WeChat Publisher MCP

by BobGod
MIT License
8
  • Apple
  • Linux
logger.js700 B
/** * 日志工具 * 提供统一的日志记录功能,支持不同级别的日志输出 */ const logger = { info: (message, ...args) => { if (process.env.NODE_ENV !== 'production') { console.log(`[INFO] ${message}`, ...args); } }, error: (message, error) => { if (error && error.stack) { console.error(`[ERROR] ${message}\n${error.stack}`); } else { console.error(`[ERROR] ${message}`, error || ''); } }, debug: (message, ...args) => { if (process.env.DEBUG) { console.log(`[DEBUG] ${message}`, ...args); } }, warn: (message, ...args) => { console.warn(`[WARN] ${message}`, ...args); } }; export default logger;

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/BobGod/wechat-publisher-mcp'

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