Skip to main content
Glama

octomind-mcp

Official
by OctoMind-dev
logger.ts614 B
import { Logger, pino } from "pino"; const buildLogger = (): Logger => { if (process.env.LOG_FILENAME) { // Create a logger that writes to the specified file return pino( { timestamp: () => `,"time":"${new Date().toISOString()}"`, base: null, level: process.env.LOG_LEVEL || "info", }, pino.destination({ dest: process.env.LOG_FILENAME, sync: false, }), ); } else { // Create a "silent" logger that doesn't output anywhere return pino({ enabled: false, }); } }; const logger = buildLogger(); export { 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/OctoMind-dev/octomind-mcp'

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