UNPKG

@tsavo/printify-mcp

Version:

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

31 lines (30 loc) 1.17 kB
export interface PrintifyShop { id: number; title: string; sales_channel: string; } export declare class PrintifyAPI { private client; private apiToken; private shopId; private shops; constructor(apiToken: string, shopId?: string); initialize(): Promise<PrintifyShop[]>; getAvailableShops(): PrintifyShop[]; getCurrentShopId(): string | null; getCurrentShop(): PrintifyShop | null; setShopId(shopId: string): void; getShops(): Promise<any[]>; getProducts(page?: number, limit?: number): Promise<any>; getProduct(productId: string): Promise<any>; createProduct(productData: any): Promise<any>; updateProduct(productId: string, productData: any): Promise<any>; deleteProduct(productId: string): Promise<any>; publishProduct(productId: string, publishData: any): Promise<any>; getBlueprints(): Promise<any>; getBlueprint(blueprintId: string): Promise<any>; getPrintProviders(blueprintId: string): Promise<any>; getVariants(blueprintId: string, printProviderId: string): Promise<any>; private enhanceError; uploadImage(fileName: string, source: string): Promise<any>; }