1 v1.0.1 更新于 2026-11-04

Picnic MCP Server

Search products, fill the cart and pick a delivery slot at the online supermarket Picnic

适用客户端

本地客户端
Claude Desktop、Claude Code、Cursor、Cline 等支持本地 MCP 的客户端

安装配置

本地运行(npm)
{
  "mcpServers": {
    "picnic-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "picnic-mcp"
      ]
    }
  }
}

将上方 JSON 加入 MCP 客户端配置(如 Claude Desktop 的 claude_desktop_config.json 或项目的 .mcp.json)即可接入;远程接入按客户端要求填写 URL 与鉴权头。

提供的工具 接入后 Agent 可调用这 18 个工具

search_products
搜索商品,返回最佳匹配或供用户选择的候选项。
add_to_cart
按商品 ID 将一个或多个商品加入购物车并返回数量和总价。
set_cart_quantity
设置购物车中某商品的数量,0 表示移除。
remove_from_cart
按商品 ID 从购物车移除商品。
get_cart
查看购物车中的商品、数量、价格、总价和配送时段。
get_delivery_slots
列出可用的配送时段。
select_delivery_slot
为购物车选择配送时段。
get_product
查看商品的成分、过敏原、营养、储存信息、促销和价格。
get_promotions
按分区列出本周促销或某个促销的商品。
get_favorites
按货架列出常买商品,类似应用的收藏标签页。
get_deliveries
查看即将到来的或过去的配送记录。
search_recipes
搜索 Picnic 的食谱。
get_saved_recipes
列出在应用中保存的食谱。
get_recipe
查看食谱的配料、过敏原和步骤。
add_recipe_to_cart
按份量将食谱配料加入购物车。
remove_recipe_from_cart
将食谱及其配料从购物车移除。
save_recipe
在应用中保存食谱。
unsave_recipe
取消保存食谱。