Cookwith Mcp

io.github.jkakar由 GitHub 帳號 jkakar 發布v1.0.2更新於 Nov 10, 2026

AI-powered recipe generation and transformation tools by Cookwith

已驗證STDIO僅桌面位置與生活AI 與機器學習

概覽

AI 產生的概覽

一個本機 MCP 伺服器,透過 Cookwith 的烹飪 AI,讓助理產生新食譜,並依飲食需求、過敏原與營養目標改造現有食譜。

可以做什麼
  • 依自然語言描述產生食譜,可指定飲食限制、過敏原、不喜歡的食材、熱量與蛋白質目標以及份數。
  • 依自然語言指令改造現有食譜(標題、說明、食材、步驟、份數),例如改成素食或無麩質。
  • 依新的熱量、蛋白質或份數目標調整食譜。
適用情境
適合讓助理在對話中直接發想菜色,或把現有食譜改造成符合飲食限制、過敏原、份量與營養目標的版本。
執行需求
以本機程序在桌面端執行,透過 README 所述的 npm 套件以 npx 啟動,隱含需要 Node.js 與網路連線。未宣告任何帳號、API 金鑰、環境變數或標頭。
安裝前請注意
食譜請求(包含飲食與過敏資訊)會傳送到 Cookwith 的外部烹飪 AI 服務,請謹慎處理個人健康資訊。產生的食譜為 AI 輸出,使用前應確認過敏原與食品安全。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Cookwith Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Cookwith MCP Server

An MCP (Model Context Protocol) server that provides AI-powered recipe generation and transformation tools using Cookwith's advanced culinary AI.

Features

  • Recipe Generation: Create custom recipes from natural language descriptions
  • Recipe Transformation: Modify existing recipes based on dietary needs, serving sizes, or other requirements
  • Dietary Support: Handle allergies, dietary restrictions, and nutritional goals
  • Smart Adaptations: Adjust for calories, protein targets, and serving counts

Installation

Via MCP Registry

bash
npx @modelcontextprotocol/create-server install @cookwith/mcp-server

Via npm

bash
npm install -g @cookwith/mcp-server

For Claude Desktop

Add to your Claude Desktop configuration:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{  "mcpServers": {    "cookwith": {      "command": "npx",      "args": ["@cookwith/mcp-server"]    }  }}

Available Tools

generate_recipe

Generate a new recipe based on natural language instructions.

Parameters:

  • prompt (string, required): Natural language description of the desired recipe
  • dietaryRestrictions (array): Dietary restrictions (e.g., vegetarian, vegan, gluten-free)
  • allergies (array): Ingredients to avoid due to allergies
  • dislikes (array): Foods the user doesn't like
  • calories (string): Target calories per serving
  • protein (string): Target protein in grams per serving
  • servings (number): Number of servings (1-20, default: 4)

Example:

javascript
{  "prompt": "A healthy pasta dish with lots of vegetables",  "dietaryRestrictions": ["vegetarian"],  "calories": "500",  "servings": 2}

transform_recipe

Transform or modify an existing recipe based on instructions.

Parameters:

  • recipe (object, required): The recipe to transform
    • title (string): Recipe title
    • description (string): Recipe description
    • ingredients (array): List of ingredients
    • instructions (array): Cooking instructions
    • servings (number): Number of servings
    • Additional optional fields for nutrition, timing, etc.
  • instructions (string, required): How to transform the recipe
  • calories (string): New target calories per serving
  • protein (string): New target protein per serving
  • servings (number): New number of servings

Example:

javascript
{  "recipe": {    "title": "Classic Spaghetti Carbonara",    "description": "Traditional Italian pasta dish",    "ingredients": ["400g spaghetti", "200g guanciale", "4 eggs", "100g pecorino"],    "instructions": ["Cook pasta", "Fry guanciale", "Mix eggs and cheese", "Combine"],    "servings": 4  },  "instructions": "Make it vegetarian and reduce calories",  "calories": "400"}

Usage Examples

With Claude

Once configured, you can use natural language to interact with the tools:

"Generate a healthy dinner recipe for 2 people with chicken and vegetables, around 500 calories per serving"
"Transform this pasta recipe to be gluten-free and dairy-free"

Programmatic Usage

javascript
import { Client } from '@modelcontextprotocol/sdk';
const client = new Client({  name: 'my-app',  version: '1.0.0'});
await client.connect('npx', ['@cookwith/mcp-server']);
// Generate a recipeconst result = await client.callTool('generate_recipe', {  prompt: 'Quick and healthy breakfast',  calories: '350',  servings: 1});

Development

Building from Source

bash
git clone https://github.com/blaideinc/cookwith-mcpcd cookwith-mcpnpm installnpm run build

Running Locally

bash
npm start

Testing

bash
npm test

API Endpoint

The MCP server can also be accessed via HTTP at:

  • Production: https://cookwith.co/api/mcp
  • Development: http://localhost:3000/api/mcp

License

MIT

Support

About Cookwith

Cookwith is an AI-powered cooking platform that generates personalized recipes based on your preferences, dietary restrictions, and taste profile. Learn more at cookwith.co.

來源:README.md,提交 294d135

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分