Skip to main content
Glama

Linear MCP Integration Server

by skspade
logging.ts807 B
// Debug mode flag const DEBUG = true; /** * Logs debug information if debug mode is enabled */ export function debugLog(...args: any[]): void { if (DEBUG) { console.error(`[DEBUG][${new Date().toISOString()}]`, ...args); } } /** * Handles and logs errors with context */ export function handleError(error: any, context: string): void { const timestamp = new Date().toISOString(); console.error(`[ERROR][${timestamp}] ${context}:`, error); if (error?.response?.data) { console.error('API Response:', error.response.data); } // Log stack trace for unexpected errors if (error instanceof Error) { console.error('Stack trace:', error.stack); } } /** * Get the debug mode status */ export function isDebugMode(): boolean { return DEBUG; }

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

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