UNPKG

@iflow-mcp/chess-mcp

Version:

Chess MCP server with position evaluation, move validation, and masters database

39 lines (38 loc) 1.11 kB
import { CallToolRequest } from '@modelcontextprotocol/sdk/types.js'; import { Handler } from './types.js'; import { ChessImageService } from '../chess-image-service.js'; export declare const toolSpec: { name: string; description: string; inputSchema: { type: string; properties: { fen: { type: string; description: string; }; size: { type: string; description: string; minimum: number; maximum: number; }; light: { type: string; description: string; pattern: string; }; dark: { type: string; description: string; pattern: string; }; }; required: string[]; }; }; export declare class GenerateImageHandler implements Handler<CallToolRequest> { private imageService; constructor(imageService: ChessImageService); handle(request: CallToolRequest): Promise<any>; }