Skip to content

MCP adds a recipe or the meal plan to the shopping list - #105

Open
Stasky745 wants to merge 1 commit into
TraceApps:devfrom
Stasky745:feat/mcp-shopping-from-recipe
Open

Stasky745 wants to merge 1 commit into
TraceApps:devfrom
Stasky745:feat/mcp-shopping-from-recipe

Conversation

@Stasky745

Copy link
Copy Markdown
  • New mcp:write tools add_recipe_to_shopping_list (recipe_id, servings?, only_missing?) and add_plan_to_shopping_list (from?, to?, only_missing?), matching the Shopping screen's "add recipe" and "build from plan".
  • The list-building code moves into addRecipeToList and addPlanToList in routes/shopping.js; the routes call them too, so the app's behaviour is unchanged.

Tests: new scripts/mcp-shopping-from.test.js against a real server (scaling, in-stock skip, amounts adding up, a rebuilt plan not doubling, another user's recipe refused, tier visibility).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant