feat: 新增 HTTP MCP Server,让 AI Agent 接入选菜

新增 packages/mcp,基于 Streamable HTTP 暴露菜谱库能力,复用 packages/cook 的选菜算法:recommend_recipes 按现有食材推荐,search_recipes 条件检索,check_incompatible 食材相克,get_recipe 菜谱详情。容器内与 nginx 共存,映射 2230 端口供 Agent 连接。
This commit is contained in:
toor
2026-10-22 16:55:29 +08:00
committed by trae-solo-agent
parent 8ff7b879b9
commit 79baab6080
12 changed files with 919 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
# 容器内的 shell 脚本必须保持 LF,CRLF 会让 /bin/sh 无法解析
*.sh text eol=lf