Cookwith logo

Cookwith

Organization
valetdotdev

Streamable HTTP MCP server for cookwith.co

Publishervaletdotdev
Repositorycookwith-mcp
LanguageJavaScript
Forks
3
Stars
0
Available tools
2
Transport typestreamable-http
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Cookwith exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 2 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    0 stars and 3 forks from the linked repository.

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 recipe
const 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-mcp
cd cookwith-mcp
npm install
npm 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.

Installation

TypingMind
{
  "mcpServers": {
    "cookwith": {
      "url": "https://cookwith.co/api/mcp",
      "env": null,
      "headers": null
    }
  }
}

Available Tools

  • generate_recipe

    Generate a new recipe based on natural language instructions and dietary preferences

  • transform_recipe

    Transform or modify an existing recipe based on natural language instructions

Use Cookwith MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Cookwith is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP connects through a hosted MCP server URL in TypingMind.

Add an MCP server URL

Use this when Cookwith is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter https://cookwith.co/api/mcp in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste https://cookwith.co/api/mcp into the Server URL field.
  2. Enter a connection name for Cookwith.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the Cookwith connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the Cookwith tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the Cookwith tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Cookwith to help me with this task?
Cookwith
Sure. I read it.
Here is what I found using Cookwith.

Frequently asked questions

What is the Cookwith MCP server used for?

Cookwith is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Cookwith MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Cookwith with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Cookwith MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Cookwith connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Cookwith MCP to TypingMind?

Cookwith can be connected in TypingMind by adding its hosted MCP server URL. This is useful when you want a remote MCP connection that is available from your TypingMind workspace.

What tools does Cookwith MCP provide in TypingMind?

Cookwith exposes 2 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Cookwith MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Cookwith requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇