Skip to main content
Glama

Bitrefill Search and Shop

Official
by bitrefill
index.ts612 B
/** * Utility functions for Bitrefill MCP server */ /** * Log an error with a standardized format * @param error - Error object or message * @param context - Optional context information */ export function logError(error: Error | string, context?: string): void { const timestamp = new Date().toISOString(); const errorMessage = error instanceof Error ? error.message : error; const stackTrace = error instanceof Error ? error.stack : undefined; console.error(`[${timestamp}] ERROR${context ? ` [${context}]` : ''}: ${errorMessage}`); if (stackTrace) { console.error(stackTrace); } }

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

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