tarot-mcp-server
Version:
Model Context Protocol server for Rider-Waite tarot card readings
49 lines (48 loc) • 1.3 kB
TypeScript
import { Tool } from "@modelcontextprotocol/sdk/types.js";
/**
* Main class for the Tarot MCP Server functionality.
* Use the static `create()` method to instantiate.
*/
export declare class TarotServer {
private cardManager;
private readingManager;
private sessionManager;
private cardSearch;
private cardAnalytics;
/**
* The constructor is private. Use the static async `create()` method.
*/
private constructor();
/**
* Asynchronously creates and initializes a TarotServer instance.
*/
static create(): Promise<TarotServer>;
/**
* Returns all available tools for the Tarot MCP Server
*/
getAvailableTools(): Tool[];
/**
* Executes a specific tool with the provided arguments
*/
executeTool(toolName: string, args: Record<string, any>): Promise<string>;
/**
* Handle card search requests
*/
private handleSearchCards;
/**
* Handle finding similar cards
*/
private handleFindSimilarCards;
/**
* Handle database analytics requests
*/
private handleGetAnalytics;
/**
* Handle random card requests
*/
private handleGetRandomCards;
/**
* Handle custom spread creation and reading
*/
private handleCreateCustomSpread;
}