FoodGen
FoodGen
モバイルフレンドリーなページで夕食のリクエストを買い物リスト + レシピに変換する MCP サーバー — Apple Notater に保存する準備ができています。
「3人分の夕食(大人2人と子供1人)、サッカーの練習前に手早く、魚はなし。」
Claude が料理を見つけ、create_dinner_plan を呼び出し、次のようなリンクで応答します。
https://foodgen.instantoffr.com/n/Hxe7gVY_YYqRi2CCeZnV5g。モバイルでは:
買い物リスト:店舗の売り場ごとにグループ化され、店内でチェックしながら使えます(デバイスに保存)
レシピ:材料と手順を下に表示
「Notater に追加」 → 共有シート → Notater がすべてを箇条書きの 1 つのノートとして保存
…/n/<id>.txtはプレーンテキスト、…/n/<id>.jsonは生データを返します
アーキテクチャ
Node 24 + Express、
/mcpで Streamable HTTP を介した MCP(ステートレス — セッションなし、すべて SQLite に格納)SQLite(
node:sqlite、ネイティブ依存なし)を Docker ボリューム内で使用モデルがレシピを記述し、サーバーが(zod で)検証・保存・公開する
プランURLは128ビットのランダム値 — 推測不可能でインデックスなし。これがアクセス制御のすべてです
MCP インターフェース
| 完全なプランを保存し、リンクを返す |
| ChatGPT コネクタ契約(検索 + 参照) |
| プランを読み戻す(ID または URL) |
| 最新のプランを新しい順に表示 |
| プランを完全に削除 |
prompt | 「〜の夕食」ショートカット |
Related MCP server: Recipe Research MCP Server
実行
cp .env.example .env # sjekk PUBLIC_URL
docker compose up -d --buildTLS とプロキシは、すでに稼働しておりポート 2400 に対して設定済みの Nginx Proxy Manager が処理します。プロキシホストで確認すべき点が 1 つあります。MCP の応答は SSE としてストリーミングされるため、バッファリングや 60 秒の読み取りタイムアウトがあるとストリームが途切れる可能性があります。Websockets Support をオンにし、必要に応じて Advanced タブに以下を追加してください:
location /mcp {
proxy_pass http://$server:$port;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Connection "";
proxy_buffering off;
proxy_cache off;
proxy_read_timeout 3600s;
}Docker を使わないローカル開発:
PUBLIC_URL=http://localhost:2400 npm run devClaude と ChatGPT に接続
Claudeアプリ / claude.ai / Cowork: 設定 → コネクタ → カスタムコネクタを追加 →
https://foodgen.instantoffr.com/mcp(認証なし)Claude Code:
claude mcp add --transport http foodgen https://foodgen.instantoffr.com/mcpChatGPT: 設定 → コネクタ → 同じアドレスのカスタム MCP コネクタを追加、認証なし。サーバーは OpenAI 契約に従って
search/fetchを公開するため、通常のコネクタ(保存済みの夕食の検索・参照、deep research)として機能します。Developer mode をオンにすると、ChatGPT はcreate_dinner_planも使用して新しい夕食を作成できます。
https://foodgen.instantoffr.com のトップページには同じ手順が表示されます。
テスト
docker compose up -d --build # eller npm start
node test/e2e.mjs # full MCP + HTTP-runde, 26 sjekker環境変数
変数 | デフォルト | |
|
| 公開オリジン。リンクはこれをもとに生成 |
|
| コンテナ内の HTTP ポート |
|
| compose がポートを公開するアドレス |
|
| SQLite ファイル(ボリューム) |
|
| N 日より古いプランを削除(0 = 削除しない) |
This server cannot be deployed
Maintenance
Related MCP Connectors
Scraps Kitchen gives any AI agent a persistent, household-aware kitchen memory. Unlike generic chatbot recall, Scraps maintains structured cooking data: what's in your fridge (with freshness tracking), who you cook for (with allergens, dietary restrictions, and preferences), your recipe collection (with cook notes and per-diner ratings), your shopping list, and your kitchen equipment. 27 tools across 6 domains let agents read kitchen context, suggest meals that respect dietary safety, update the pantry after cooking, and build a history of what works for your household. Every interaction makes the data richer. Cooking history, preference signals, kitchen awareness = better suggestions next time. All tools work via oAuth and a free scraps.kitchen account.
Family meal planning run by your agent: weekly dinners, household votes, grocery list minus pantry.
Household-aware cooking brain: pantry, meal suggestions, dietary safety, recipes, shopping lists.
AI meal plans that fill your Kroger/Instacart cart - pantry-aware lists, all from chat.
Related MCP Servers
- AlicenseDqualityBmaintenanceEnables interaction with Apple Notes via natural language, supporting note creation, search, and retrieval with iCloud integration for seamless note management.31025MIT
- FlicenseNot gradedqualityDmaintenanceEnables recipe search, storage, and meal planning using TheMealDB API. Provides comprehensive recipe discovery, automatic recipe collection management, and custom meal plan creation with detailed cooking instructions and ingredients.1-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Mealie for recipe management, meal planning, and shopping list operations. Supports searching and managing recipes, creating meal plans, and generating shopping lists from recipes or meal plans.7MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to interact with local Apple Calendar, Notes, and Contacts on macOS. Provides tools for creating, reading, updating, and deleting events, notes, and contacts through natural language.MIT