MCP Tools & API Platform 5.0 Endpoints
Culinary Recipe Builder & S3 Media Manager
Dedicated MCP endpoint for AI-assisted creation and editing of culinary recipes. Supports GET_CREATION_GUIDE, paginated listing, full recipe inspection, creating recipes with ingredients and step-by-step instructions, updating/removing ingredients, and managing S3 images/videos.
management_recipe
https://www.dietspremium.com/_mcp/management/recipe
npx -y dietspremium-mcp
Input Parameters Schema (inputSchema)
| Field name | JSON Type | Status | Description | Example value |
|---|---|---|---|---|
action
|
string | Required | Action: GET_CREATION_GUIDE, LIST_RECIPES, GET_RECIPE, CREATE_RECIPE, UPDATE_RECIPE, DELETE_RECIPE, DEACTIVATE_RECIPE, ADD_INGREDIENT, UPDATE_INGREDIENT, REMOVE_INGREDIENT, ADD_STEP, UPDATE_STEP, DELETE_STEP, LIST_MEASURE_UNITS, LIST_DIET_TYPES, LIST_CATEGORIES, LIST_TAGS, GET_MEDIA, ADD_MEDIA, REPLACE_MEDIA, DELETE_MEDIA | LIST_RECIPES
|
payload
|
object | Optional | Recipe key (recipe_key), name_pl, time, hard, portions, kcal_total, ingredients, steps, image_base64, filename | {}
|
locale
|
string | Optional | Language locale | pl
|
page
|
integer | Optional | Page number (max 10 items per page) | 1
|
max_results
|
integer | Optional | Items per page (1-10) | 10
|
JSON-RPC 2.0 Request (tools/call)
management_recipenpx -y dietspremium-mcp --url https://www.dietspremium.com/_mcp
curl -X POST https://www.dietspremium.com/_mcp/management/recipe \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_MCP_KEY" \
-d '{
"action": "GET_CREATION_GUIDE",
"locale": "pl"
}'
MCP Tool Response Structure
application/json • UTF-8{
"status": "success",
"action": "GET_CREATION_GUIDE",
"entity": "recipe"
}
Kroki wykonania dla management_recipe
MCP Flow
Instrukcja integracji dla programistów i agentów AI
Instrukcja integracji dla programistów i agentów AI
management_recipe
Przekaż parametry zgodne z tabelą obok (np. locale="en").
McpKeyCodec
Każdy zwrócony rekord posiada pole "key" (Base64), które można bezpiecznie przekazać do narzędzi management_*.
Specjalizowany Agent dla narzędzia management_recipe
“Wykonaj zapytanie do narzędzia management_recipe dla języka EN i zwróć ustrukturyzowane dane kliniczne.”
→ POST https://www.dietspremium.com/_mcp/management/recipe (tool: "management_recipe")
← 200 OK (5 zwalidowanych parametrów)