UNPKG

cook-mcp-windy

Version:

HowToCook MCP Server - Intelligent Chinese recipe management and meal planning for AI assistants

223 lines 7.38 kB
export { getAllRecipesTool, handleGetAllRecipes } from './getAllRecipes.js'; export { getRecipesByCategoryTool, handleGetRecipesByCategory } from './getRecipesByCategory.js'; export { getRecipeDetailsTool, handleGetRecipeDetails } from './getRecipeDetails.js'; export { recommendMealPlanTool, handleRecommendMealPlan } from './recommendMealPlan.js'; export { recommendDishCombinationTool, handleRecommendDishCombination } from './recommendDishCombination.js'; import type { Tool } from '@modelcontextprotocol/sdk/types.js'; export declare const allTools: Tool[]; export declare const toolHandlers: { get_all_recipes: (input: any) => Promise<import("../types/index.js").MCPResponse<import("../types/index.js").PaginatedResponse<{ name: string; id: string; category: "水产" | "早餐" | "调味料" | "甜品" | "饮品" | "荤菜" | "半成品" | "汤羹" | "主食" | "素菜"; difficulty: "简单" | "中等" | "困难"; servings: number; prepTime: string; cookTime: string; totalTime: string; ingredients: { name: string; amount: string; notes?: string | undefined; }[]; steps: { stepNumber: number; instruction: string; duration?: string | undefined; temperature?: string | undefined; tips?: string | undefined; }[]; dateAdded: string; lastModified: string; tips?: string[] | undefined; description?: string | undefined; tags?: string[] | undefined; cookingMethods?: ("炒" | "煮" | "蒸" | "烤" | "炸" | "焖" | "炖" | "煎" | "拌" | "腌" | "烧" | "卤")[] | undefined; nutritionalInfo?: { calories?: number | undefined; protein?: string | undefined; carbs?: string | undefined; fat?: string | undefined; fiber?: string | undefined; } | undefined; variations?: string[] | undefined; imageUrl?: string | undefined; source?: string | undefined; }>>>; get_recipes_by_category: (input: any) => Promise<import("../types/index.js").MCPResponse<{ category: "水产" | "早餐" | "调味料" | "甜品" | "饮品" | "荤菜" | "半成品" | "汤羹" | "主食" | "素菜"; recipes: any[]; totalCount: number; statistics?: { difficultyDistribution: Record<string, number>; averagePrepTime: string; averageCookTime: string; averageServings: number; commonTags: string[]; } | undefined; }>>; get_recipe_details: (input: any) => Promise<import("../types/index.js").MCPResponse<{ cookingAnalysis: { totalActiveTime: string; difficultyReason: string; skillsRequired: string[]; equipmentNeeded: string[]; }; recipe?: any; scaledForServings?: number | undefined; relatedRecipes?: any[] | undefined; nutritionalAnalysis?: { caloriesPerServing?: number | undefined; macronutrients?: { protein?: string | undefined; carbs?: string | undefined; fat?: string | undefined; } | undefined; dietaryInfo?: string[] | undefined; } | undefined; }>>; recommend_meal_plan: (input: any) => Promise<import("../types/index.js").MCPResponse<{ statistics: { totalRecipes: number; uniqueRecipes: number; categoriesUsed: string[]; averageCaloriesPerDay: number; totalEstimatedCookTime: number; budgetEstimate: string; }; recommendations: { cookingTips: string[]; prepAdvice: string[]; substitutions: string[]; timeManagement: string[]; }; mealPlan?: any; shoppingList?: any; }>>; recommend_dish_combination: (input: any) => Promise<import("../types/index.js").MCPResponse<{ cookingPlan: { preparationOrder: string[]; timelineEstimate: string; parallelTasks: string[]; criticalTiming: string[]; }; alternatives?: { name: string; description: string; keyDifferences: string[]; }[] | undefined; combination?: any; analysis?: { nutritionalScore: number; flavorHarmony: number; difficultyBalance: number; timeEfficiency: number; overallScore: number; strengths: string[]; improvements: string[]; } | undefined; }>>; }; export declare const toolInfo: { get_all_recipes: { name: string; description: string; category: string; examples: ({ description: string; input: { limit: number; sortBy?: never; }; } | { description: string; input: { sortBy: string; limit?: never; }; })[]; }; get_recipes_by_category: { name: string; description: string; category: string; examples: ({ description: string; input: { category: string; includeStats?: never; }; } | { description: string; input: { category: string; includeStats: boolean; }; })[]; }; get_recipe_details: { name: string; description: string; category: string; examples: ({ description: string; input: { identifier: string; scaleServings?: never; }; } | { description: string; input: { identifier: string; scaleServings: number; }; })[]; }; recommend_meal_plan: { name: string; description: string; category: string; examples: ({ description: string; input: { preferences: { numberOfPeople: number; dietaryRestrictions?: never; }; }; } | { description: string; input: { preferences: { numberOfPeople: number; dietaryRestrictions: string[]; }; }; })[]; }; recommend_dish_combination: { name: string; description: string; category: string; examples: ({ description: string; input: { preferences: { numberOfPeople: number; occasion: string; cookingTime?: never; }; }; } | { description: string; input: { preferences: { numberOfPeople: number; cookingTime: string; occasion?: never; }; }; })[]; }; }; //# sourceMappingURL=index.d.ts.map