@kaminaduck/scryfall-mcp-server
Version:
A Model Context Protocol (MCP) server that provides access to the Scryfall API for Magic: The Gathering card data
29 lines • 1.13 kB
TypeScript
/**
* Download-related MCP tools for the Scryfall server.
*/
export interface DownloadResult {
status: 'success' | 'error';
message: string;
filepath?: string;
card_name?: string;
set_code?: string;
collector_number?: string;
resource_uri?: string;
metadata_uri?: string;
face_index?: number | undefined;
face_name?: string | undefined;
total_faces?: number | undefined;
is_transform_card?: boolean | undefined;
faces?: DownloadResult[];
}
/**
* Download a high-resolution image of a specific Magic: The Gathering card.
* Returns response structure matching Python implementation.
*/
export declare function mcpDownloadCard(cardName: string, setCode?: string, collectorNumber?: string, forceDownload?: boolean): Promise<DownloadResult>;
/**
* Download an art crop image of a specific Magic: The Gathering card.
* Returns response structure matching Python implementation.
*/
export declare function mcpDownloadArtCrop(cardName: string, setCode?: string, collectorNumber?: string, forceDownload?: boolean): Promise<DownloadResult>;
//# sourceMappingURL=downloadTools.d.ts.map