ST

starbuck93/tandoor-mcp-server

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

18 stars 9 forks Качество 54 Тренд 22

Сервер Model Context Protocol (MCP) для взаимодействия с диспетчером рецептов Tandoor.

Обзор

Сервер Model Context Protocol (MCP) для взаимодействия с диспетчером рецептов Tandoor. - ✅ : Успешно реализовано и протестировано - ✅ : Успешно реализовано и протестировано - ✅ : Успешно реализовано и протестировано - ✅ : Осуществлено - ✅ : Осуществлено - ✅ : Осуществлено - ✅ : Осуществлено - ✅ : Осуществлено - ✅ : Осуществлено - ✅ : Осуществлено - ✅ : Осуществлено - ✅ : Осуществлено - ✅ : Осуществлено (с поиском по имени) - ✅ : Осуществлено - ✅ : Осуществлено - ✅ - Создать рецепты в Tandoor с ингредиентами и инструкциями - Добавить рецепты к планам питания для конкретных дат и типов блюд - Поиск рецептов с использованием различных критериев (имя, ключевые слова, продукты питания, рейтинг) - Планы питания Retrieve, отфильтрованные по диапазону дат и типу блюд - Получить полные данные для конкретного рецепта - Список доступных типов блюд, ключевые слова, продукты и единицы - Управлять пунктами списка покупок (просмотр, добавление, обновление, удаление) 3. Запустите сервер вручную (для тестирования): 5.Если вы хотите, чтобы все было автоматически... 6. Добавить./.

Обзор (машинный перевод)

Сервер Model Context Protocol (MCP) для взаимодействия с диспетчером рецептов Tandoor.

Текущий статус

create tandoor recipe: Успешно внедрены и протестированы create tandoor meal plan: успешно реализован и протестирован get recipes: успешно реализовано и протестировано get meal plans: Успешно внедрены и протестированы get recipe details: Осуществленный get meal types: реализовано get keywords: Implemented get foods: реализовано get units: Осуществленный get shopping list: Осуществленный add shopping list item: Implemented (с поиском по имени) update shopping list item: Implemented remove shopping list item: Implemented

Особенности

Создавайте рецепты в Tandoor с ингредиентами и инструкциями Добавьте рецепты в планы питания для конкретных дат и типов блюд. Поиск рецептов с использованием различных критериев (имя, ключевые слова, продукты питания, рейтинг)

  • Ретривные планы питания, отфильтрованные по диапазону дат и типу питания Получить полную информацию для конкретного рецепта Перечислите доступные типы еды, ключевые слова, продукты и единицы
  • Управление списками покупок (просмотр, добавление, обновление, удаление)

Настройка

1.Установить зависимости:

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Tandoor MCP Server

A Model Context Protocol (MCP) server for interacting with Tandoor Recipe Manager.

Current Status

  • ✅ create_tandoor_recipe: Successfully implemented and tested
  • ✅ create_tandoor_meal_plan: Successfully implemented and tested
  • ✅ get_recipes: Successfully implemented and tested
  • ✅ get_meal_plans: Successfully implemented and tested
  • ✅ get_recipe_details: Implemented
  • ✅ get_meal_types: Implemented
  • ✅ get_keywords: Implemented
  • ✅ get_foods: Implemented
  • ✅ get_units: Implemented
  • ✅ get_shopping_list: Implemented
  • ✅ add_shopping_list_item: Implemented (with name lookup)
  • ✅ update_shopping_list_item: Implemented
  • ✅ remove_shopping_list_item: Implemented

Features

  • Create recipes in Tandoor with ingredients and instructions
  • Add recipes to meal plans for specific dates and meal types
  • Search for recipes using various criteria (name, keywords, foods, rating)
  • Retrieve meal plans filtered by date range and meal type
  • Retrieve full details for a specific recipe
  • List available meal types, keywords, foods, and units
  • Manage shopping list items (view, add, update, remove)

Setup

  1. Install dependencies:

    npm install
    
  2. Build the server:

    npm run build
    
  3. Run the server manually (for testing):

    # Windows PowerShell
    $env:TANDOOR_URL = "https://your-tandoor-instance.com"
    $env:TANDOOR_API_TOKEN = "your-api-token"
    node .\build\index.js
    
    # Windows CMD
    set TANDOOR_URL=https://your-tandoor-instance.com
    set TANDOOR_API_TOKEN=your-api-token
    node .\build\index.js
    
    # Linux/macOS
    TANDOOR_URL=https://your-tandoor-instance.com TANDOOR_API_TOKEN=your-api-token node ./build/index.js
    
  4. Configure in MCP settings:

    {
      "mcpServers": {
        "tandoor": {
          "command": "node",
          "args": ["path/to/tandoor-mcp-server/build/index.js"],
          "env": {
            "TANDOOR_URL": "https://your-tandoor-instance.com",
            "TANDOOR_API_TOKEN": "your-api-token"
          },
          "disabled": false,
          "autoApprove": []
        }
      }
    }
    
  5. If you want everything autoApprove…

      "autoApprove": [
        "add_shopping_list_item",
        "create_tandoor_meal_plan",
        "create_tandoor_recipe",
        "get_foods",
        "get_keywords",
        "get_meal_plans",
        "get_meal_types",
        "get_recipe_details",
        "get_recipes",
        "get_recipes",
        "get_shopping_list",
        "get_units",
        "remove_shopping_list_item",
        "update_shopping_list_item"
      ]

  1. Add ./.clinerules to your project directory
  • optionally also add ./memory-bank with a markdown or text file list of foods you like or dislike in case you’d like suggestions for meals from the assistant.
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "tandoor": { "command": "node", "args": ["path/to/tandoor-mcp-server/build/index.js"], "env": { "TANDOOR_URL": "https://your-tandoor-instance.com", "TANDOOR_API_TOKEN": "your-api-token" }, "disabled": false, "autoApprove": [] } } }