@kaminaduck/scryfall-mcp-server
Version:
A Model Context Protocol (MCP) server that provides access to the Scryfall API for Magic: The Gathering card data
28 lines • 1.14 kB
TypeScript
/**
* File-serving MCP resources for the Scryfall server.
*/
/**
* Serve a downloaded card image by file ID.
*/
export declare function serveCardImage(fileId: string): Promise<[Buffer | string, string]>;
/**
* Serve a downloaded art crop image by file ID.
*/
export declare function serveArtCrop(fileId: string): Promise<[Buffer | string, string]>;
/**
* Serve metadata JSON file for a downloaded card.
*/
export declare function serveMetadata(fileId: string): Promise<[string, string]>;
/**
* Serve a specific face of a transform card image by file ID and face index.
*/
export declare function serveCardImageFace(fileId: string, faceIndex: number): Promise<[Buffer | string, string]>;
/**
* Serve a specific face of a transform card art crop by file ID and face index.
*/
export declare function serveArtCropFace(fileId: string, faceIndex: number): Promise<[Buffer | string, string]>;
/**
* Serve face-specific metadata for a transform card by file ID and face index.
*/
export declare function serveMetadataFace(fileId: string, faceIndex: number): Promise<[string, string]>;
//# sourceMappingURL=fileResources.d.ts.map