Skip to main content
Glama

MCP Index Notes

by vjsr007
logger.ts683 B
import pino from 'pino'; const level = process.env.LOG_LEVEL || 'info'; // Default: no pretty (stdout reserved for JSON-RPC). Opt-in with LOG_PRETTY=true const pretty = process.env.LOG_PRETTY === 'true'; export const logger = pino({ level, base: undefined, redact: { paths: ['metadata.secret', 'metadata.password', 'metadata.connectionString'], remove: true, }, transport: pretty ? { target: 'pino-pretty', options: { colorize: true, translateTime: 'SYS:standard', singleLine: false, ignore: 'pid,hostname', destination: 2, }, } : undefined, }, pino.destination({ fd: 2 }));

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/vjsr007/mcp-index-notes'

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