UNPKG

@tsavo/printify-mcp

Version:

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

116 lines (115 loc) 2.54 kB
/** * Printify blueprints service for Printify MCP */ import { PrintifyAPI } from '../printify-api.js'; /** * Get blueprints from Printify */ export declare function getBlueprints(printifyClient: PrintifyAPI, options?: { page?: number; limit?: number; }): Promise<{ success: boolean; blueprints: any; response: { content: { type: string; text: string; }[]; }; error?: undefined; errorResponse?: undefined; } | { success: boolean; error: any; errorResponse: { content: { type: string; text: string; }[]; isError: boolean; }; blueprints?: undefined; response?: undefined; }>; /** * Get a specific blueprint from Printify */ export declare function getBlueprint(printifyClient: PrintifyAPI, blueprintId: string): Promise<{ success: boolean; blueprint: any; response: { content: { type: string; text: string; }[]; }; error?: undefined; errorResponse?: undefined; } | { success: boolean; error: any; errorResponse: { content: { type: string; text: string; }[]; isError: boolean; }; blueprint?: undefined; response?: undefined; }>; /** * Get print providers for a blueprint */ export declare function getPrintProviders(printifyClient: PrintifyAPI, blueprintId: string): Promise<{ success: boolean; printProviders: any; response: { content: { type: string; text: string; }[]; }; error?: undefined; errorResponse?: undefined; } | { success: boolean; error: any; errorResponse: { content: { type: string; text: string; }[]; isError: boolean; }; printProviders?: undefined; response?: undefined; }>; /** * Get variants for a blueprint and print provider */ export declare function getVariants(printifyClient: PrintifyAPI, blueprintId: string, printProviderId: string): Promise<{ success: boolean; variants: any; response: { content: { type: string; text: string; }[]; }; error?: undefined; errorResponse?: undefined; } | { success: boolean; error: any; errorResponse: { content: { type: string; text: string; }[]; isError: boolean; }; variants?: undefined; response?: undefined; }>;