Skip to main content
Glama
helpers.d.ts1.15 kB
/** * Utility functions for the Canny MCP Server * Following CIQ's Efficient principle - maximize existing resources */ export declare function formatDate(dateString: string): string; export declare function truncateText(text: string, maxLength?: number): string; export declare function formatPostStatus(status: string): string; export declare function formatPostSummary(post: any): string; export declare function validateBoardId(boardId: string): boolean; export declare function validatePostId(postId: string): boolean; export declare class CannyError extends Error { statusCode?: number | undefined; cause?: Error | undefined; constructor(message: string, statusCode?: number | undefined, cause?: Error | undefined); } export declare function handleApiError(error: any, context: string): never; /** * Logger utility following CIQ's transparency principle */ export declare const logger: { info: (message: string, data?: any) => void; error: (message: string, error?: Error) => void; warn: (message: string, data?: any) => void; debug: (message: string, data?: any) => void; }; //# sourceMappingURL=helpers.d.ts.map

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

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