Katalog Narzędzi MCP & Endpointów REST API
Exercise Bundle & Circuit Manager
Full CRUD management for exercise bundles (`/_mcp/management/exercise-bundle`) including ADD_EXERCISE_TO_BUNDLE, UPDATE_EXERCISE_IN_BUNDLE, REMOVE_EXERCISE_FROM_BUNDLE, LIST_BUNDLE_TYPES, categories, tags, and S3 media.
management_exercise_bundle
https://www.dietspremium.com/_mcp/management/exercise-bundle
npx -y dietspremium-mcp
Schemat parametrów wejściowych (inputSchema)
| Nazwa pola | Typ JSON | Status | Opis i przeznaczenie | Przykład wartości |
|---|---|---|---|---|
action
|
string | Wymagany | Action: GET_CREATION_GUIDE, LIST_BUNDLES, GET_BUNDLE, CREATE_BUNDLE, UPDATE_BUNDLE, DELETE_BUNDLE, DEACTIVATE_BUNDLE, ADD_EXERCISE_TO_BUNDLE, UPDATE_EXERCISE_IN_BUNDLE, REMOVE_EXERCISE_FROM_BUNDLE, LIST_BUNDLE_TYPES, LIST_CATEGORIES, LIST_TAGS, GET_MEDIA, ADD_MEDIA, REPLACE_MEDIA, DELETE_MEDIA | LIST_BUNDLES
|
payload
|
object | Opcjonalny | Bundle key (bundle_key), name_pl/de/en, exercises, assign_key, exercise_key, sets, reps, rest, categories, tags, image_base64 | {}
|
locale
|
string | Opcjonalny | Language locale | pl
|
page
|
integer | Opcjonalny | Page number (max 10 items per page) | 1
|
max_results
|
integer | Opcjonalny | Items per page (1-10) | 10
|
Wywołanie JSON-RPC 2.0 (tools/call)
management_exercise_bundlenpx -y dietspremium-mcp --url https://www.dietspremium.com/_mcp
curl -X POST https://www.dietspremium.com/_mcp/management/exercise-bundle \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_MCP_KEY" \
-d '{
"action": "LIST_BUNDLES",
"page": 1,
"locale": "pl"
}'
Struktura odpowiedzi narzędzia MCP
application/json • UTF-8{
"status": "success",
"action": "LIST_BUNDLES"
}
Kroki wykonania dla management_exercise_bundle
MCP Flow
Instrukcja integracji dla programistów i agentów AI
Instrukcja integracji dla programistów i agentów AI
management_exercise_bundle
Przekaż parametry zgodne z tabelą obok (np. locale="pl").
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_exercise_bundle
“Wykonaj zapytanie do narzędzia management_exercise_bundle dla języka PL i zwróć ustrukturyzowane dane kliniczne.”
→ POST https://www.dietspremium.com/_mcp/management/exercise-bundle (tool: "management_exercise_bundle")
← 200 OK (5 zwalidowanych parametrów)