UNPKG

@tsavo/printify-mcp

Version:

A Model Context Protocol (MCP) server for integrating AI assistants with Printify's print-on-demand platform

23 lines (22 loc) 560 B
/** * Error handling utilities for Printify MCP */ /** * Format an error response for tool output */ export declare function formatErrorResponse(error: any, step: string, context?: Record<string, any>, tips?: string[]): { content: { type: string; text: string; }[]; isError: boolean; }; /** * Format a success response for tool output */ export declare function formatSuccessResponse(title: string, data?: Record<string, any>, additionalText?: string): { content: { type: string; text: string; }[]; };