UNPKG

@kaminaduck/scryfall-mcp-server

Version:

A Model Context Protocol (MCP) server that provides access to the Scryfall API for Magic: The Gathering card data

36 lines 997 B
/** * Search-related MCP tools for the Scryfall server. */ export interface SearchResult { status: 'success' | 'error'; message?: string; count?: number; cards?: Record<string, any[]>; } export interface ArtworkResult { status: 'success' | 'error'; message?: string; card_name?: string; artist?: string; set?: string; set_name?: string; collector_number?: string; artwork?: { small?: string; normal?: string; large?: string; png?: string; art_crop?: string; border_crop?: string; }; } /** * Search for Magic: The Gathering cards using the Scryfall API. * Implements the same card grouping logic as the Python version. */ export declare function mcpSearchCards(query: string): Promise<SearchResult>; /** * Get the artwork for a specific Magic: The Gathering card. */ export declare function mcpGetCardArtwork(cardId: string): Promise<ArtworkResult>; //# sourceMappingURL=searchTools.d.ts.map