Skip to main content
Glama

@jpisnice/shadcn-ui-mcp-server

by Jpisnice
logger.ts775 B
/** * Simple console logging wrapper * All logging goes to stderr to avoid interfering with JSON-RPC stdout communication * All methods use console.error under the hood */ /** * Simple error logging function */ export function logError(message: string, error?: any): void { const errorMessage = error instanceof Error ? error.message : String(error); console.error(`ERR: ${message} - ${errorMessage}`); if (error instanceof Error && error.stack) { console.error(`Stack: ${error.stack}`); } } /** * Simple warning logging function */ export function logWarning(message: string): void { console.error(`WARN: ${message}`); } /** * Simple info logging function */ export function logInfo(message: string): void { console.error(`INFO: ${message}`); }

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/Jpisnice/shadcn-ui-mcp-server'

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