Skip to main content
Glama
pshempel

MCP Time Server Node

by pshempel
debugCapture.ts890 B
/** * Test utility for capturing debug output * * NOTE: Debug capture doesn't work with Jest due to module loading order. * Jest loads all modules before test setup runs, so the debug singleton * is created before we can override it. * * This is kept for documentation purposes and potential future migration * to a test runner with better module control (e.g., Vitest). */ // Export stub functions that document the limitation export function captureDebugOutput(_namespace: string) { console.warn('Debug capture not supported with Jest - see debugCapture.ts for details'); return { output: '', cleanup: () => {}, getLines: () => [], contains: () => false, clear: () => {}, }; } export function setupDebugCapture(_namespace: string) { return captureDebugOutput(_namespace); } export function resetDebugState() { // No-op - kept for compatibility }

Latest Blog Posts

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/pshempel/mcp-time-server-node'

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