mcpField
C
cookbook-mcp-server

cookbook-mcp-server

Local
github.com/ZXreaperGames & Entertainment4Updated 79w ago

About cookbook-mcp-server

An MCP server that reads from a cookbook directory, intended for projects that need to provide recipe lookups to MCP clients. It offers tools to list all recipes or retrieve one for a named dish.

Key features

  1. 01List all recipes
  2. 02Retrieve a recipe by dish

Use cases

  1. 01Browse every recipe in the cookbook
  2. 02Look up instructions for a specific dish

MCP support

It exposes the get_all_dishes and get_recipe tools to MCP clients, and can be configured to run locally or over SSE.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

cookbook-mcp-server

一个菜谱mcp server

支持工具:

  • get_all_dishes:获取cookbook中的所有菜谱
  • get_recipe:获取任意菜品的菜谱

环境配置

# Create a new directory for our project
uv init cookbook
cd cookbook

# Create virtual environment and activate it
uv venv
source .venv/bin/activate

# Install dependencies
uv add "mcp[cli]"

使用方法

  1. 获取菜谱: 菜谱:https://github.com/Anduin2017/HowToCook/tree/master

    git clone https://github.com/Anduin2017/HowToCook/tree/master
    
  2. 替换cookbook.py中的cookbook路径。将1中clone下来的仓库的dishes文件夹路径填入下面常量

    # Constants
    COOKBOOK_URL = "/PATH/OF/YOUR/COOKBOOK"
    
  3. 配置mcp client。

     {
       "mcpServers": {
         "cookbook": {
           "command": "/PATH/OF/uv",
           "args": [
             "--directory",
             "/PATH/OF/ROOT/mcp-server-cookbook/cookbook",
             "run",
             "/PATH/OF/ROOT/mcp-server-cookbook/cookbook.py"
           ]
         }
       }
     }
    
  4. 如果使用sse server,需要进行一下修改

    • cookbook.py中修改执行入口
      if __name__ == "__main__":
         # Initialize and run the server
         mcp.run(transport='sse')
      
    • mcp client配置修改。注意端口号。
      {
       "mcpServers": {
         "cookbook": {
           "url": "http://localhost:PORT/sse"
         }
       }
      }
      

cursor中效果截图

img.png img.png

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.