@tsavo/printify-mcp
Version:
A Model Context Protocol (MCP) server for integrating AI assistants with Printify's print-on-demand platform
102 lines (101 loc) • 2.16 kB
TypeScript
/**
* Printify shops service for Printify MCP
*/
import { PrintifyAPI } from '../printify-api.js';
/**
* Get Printify status
*/
export declare function getPrintifyStatus(printifyClient: PrintifyAPI): Promise<{
success: boolean;
shops: any[];
currentShop: import("../printify-api.js").PrintifyShop | null;
response: {
content: {
type: string;
text: string;
}[];
};
error?: undefined;
errorResponse?: undefined;
} | {
success: boolean;
error: any;
errorResponse: {
content: {
type: string;
text: string;
}[];
isError: boolean;
};
shops?: undefined;
currentShop?: undefined;
response?: undefined;
}>;
/**
* List Printify shops
*/
export declare function listPrintifyShops(printifyClient: PrintifyAPI): Promise<{
success: boolean;
shops: never[];
response: {
content: {
type: string;
text: string;
}[];
};
currentShopId?: undefined;
error?: undefined;
errorResponse?: undefined;
} | {
success: boolean;
shops: any[];
currentShopId: string | null;
response: {
content: {
type: string;
text: string;
}[];
};
error?: undefined;
errorResponse?: undefined;
} | {
success: boolean;
error: any;
errorResponse: {
content: {
type: string;
text: string;
}[];
isError: boolean;
};
shops?: undefined;
response?: undefined;
currentShopId?: undefined;
}>;
/**
* Switch Printify shop
*/
export declare function switchPrintifyShop(printifyClient: PrintifyAPI, shopId: string): Promise<{
success: boolean;
shop: any;
response: {
content: {
type: string;
text: string;
}[];
};
error?: undefined;
errorResponse?: undefined;
} | {
success: boolean;
error: any;
errorResponse: {
content: {
type: string;
text: string;
}[];
isError: boolean;
};
shop?: undefined;
response?: undefined;
}>;