Skip to main content
Glama
logger.ts706 B
import debug from 'debug'; // Set up debug logger export const log = debug('auth0-mcp'); // Make sure debug output goes to stderr debug.log = (...args) => { const msg = `[DEBUG:auth0-mcp] ${args.join(' ')}\n`; process.stderr.write(msg); return true; }; export const logInfo = (...args: any[]) => { if (process.env.DEBUG == 'auth0-mcp') { return; } const msg = `[INFO:auth0-mcp] ${args.join(' ')}\n`; process.stderr.write(msg); return true; }; export const logError = (msg: string, error: any = undefined) => { const formattedMsg = `[ERROR:auth0-mcp] ${msg}`; if (error) { console.error(formattedMsg, error); } else { console.error(formattedMsg); } return true; };

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

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