Guardian Engine
dev.kaimeilabs/guardian-engine
Serveur MCP OK 7 outils
Deterministic recipe verification engine — validates AI-generated recipes against master SOPs.
Fiche technique
- Auteur
- kaimeilabs.dev (espace de noms du registre)
- Dépôt
- github.com/kaimeilabs/guardian-api-docs
- Site
- —
- Version
- 1.0.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://api.kaimeilabs.dev/mcp Streamable HTTP
- Outils
- 7
- Catégories
- —
- Dernière mise à jour
- 27 févr. 2026
- Publication
- 27 févr. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/dev.kaimeilabs/guardian-engine)<a href="https://latlas.dev/mcp/dev.kaimeilabs/guardian-engine"><img src="https://latlas.dev/badge/fiche/dev.kaimeilabs/guardian-engine.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://api.kaimeilabs.dev/mcp
- Dernier résultat
- OK 28 nov. 2026, 10:59
- Temps de réponse
- 1 144 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- Guardian Engine 1.0.0
- Outils
- 7
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 10:59 | OK | 1 144 ms | 7 |
Outils exposés (7, réponse à tools/list, 28 nov. 2026)
verify_recipe
Verify a candidate recipe against a Guardian master recipe. Uses deterministic graph-based verification to check technique, temperature, timing, cooking medium, and required ingredients. **Verdict**: `verdict` is strictly PASSED or FAILED and is policy-driven — any CRITICAL finding fails the recipe; more than 5 WARNINGs also fail. There is no score in the response (ADR-013): gate on `verdict` and explain failures from `findings`. **Field audience**: `issue` is a machine-readable code for programmatic handling — never show it to end users. Use `title` and `suggested_correction` as the user-facing fields. Returns structured JSON by default (machine-actionable findings and patches); response_format="text" renders a human-readable report. Both formats are transparent (ADR-009 / ADR-018): exact values and ingredient names included.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| dish_name | string | non | Name of the dish to verify against (e.g. 'carbonara', 'rendang', 'roast-chicken', 'confit', 'cheesecake', 'kung-pao', 'fried-chicken', 'brisket', 'wellington', 'cheese-souffle'). Use list_dishes() to see all available recipes and their aliases. |
| candidate_json | string | object | non | The full candidate recipe as a JSON string or object. Expected schema: {"title": " ", "cuisine": " ", "serves": , "ingredients": [{"name": " ", "quantity": " "}], "steps": [{"step_number": , "title": " ", "instruction_english": " ", "technique": " ", "estimated_temperature_c": , "duration_minutes":… |
| original_prompt | string | null | non | RECOMMENDED for best results. Include the user's original cooking request. Copy the user's exact message that triggered this recipe (e.g., 'Make me a spicy vegan rendang' or 'Generate a traditional carbonara, but healthier'). WITHOUT this parameter: Guardian returns actionable findings with specifi… |
| response_format | string | non | Response format: 'json' (default — machine-actionable verdict, findings, and patches) or 'text' (human-readable report). |
| session_id | string | null | non | Optional session ID to track an agent's improvement loop across multiple attempts. |
| dish | string | null | non | Alias for dish_name — for backward compatibility with production clients. |
| operator_id | string | null | non | Optional audit identifier for the calling operator (letters, digits, hyphens; max 64 chars). Tags the verification in the tamper-evident log and compliance record. Defaults to 'anonymous'. |
| master_json | string | object | null | non | Optional user-supplied master SOP to verify against (BYO master, ADR-018), as a JSON string or object using the same schema as catalog masters (dish_name, steps[], required_ingredients[]; see get_master() for a live example). When provided, the bundled catalog is bypassed — the candidate is checked… |
fix_recipe
Deterministically repair a candidate recipe against a Guardian master. Verifies the candidate, applies every machine-actionable correction the symbolic engine produced (missing ingredients, quantities, temperatures, durations, cooking media, ingredient substitutions), then re-verifies the result. No LLM is used — the repair is a deterministic function of the candidate recipe and the master ruleset. Findings that need recipe-authoring judgement — adding a whole cooking phase, rewriting step instructions, ingredient-ratio rebalancing — are not auto-applied; they are returned under `patches_skipped`. Allergen findings are never auto-fixed. The response reports the verdict before and after so the caller can see exactly what was resolved. Note: `verdict_after` may still be FAILED when structural changes (e.g. adding a cooking step, rebalancing ingredient ratios) are needed. These require recipe-authoring judgement and are returned under `patches_skipped`. Callers should NOT assume a fixed recipe will pass verification.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| dish_name | string | non | Name of the dish to repair against (e.g. 'carbonara', 'rendang', 'roast-chicken'). Use list_dishes() to see all available recipes and their aliases. |
| candidate_json | string | object | non | The full candidate recipe as a JSON string or object — same schema as verify_recipe's candidate_json (title, cuisine, ingredients[], steps[]). |
| original_prompt | string | null | non | Optional. The user's original cooking request, used only for safety-context awareness during verification. Does not change which fixes are applied. |
| response_format | string | non | Response format: 'json' (default — includes the full fixed_recipe object) or 'text' (human-readable report). |
| dish | string | null | non | Alias for dish_name — for backward compatibility with production clients. |
| master_json | string | object | null | non | Optional user-supplied master SOP to repair against (BYO master, ADR-018), same schema as catalog masters. When provided, the catalog is bypassed and dish_name may be omitted; patches (including suggested_step templates) are built from THIS spec. |
list_dishes
List all available master dishes with rich metadata. This is a browse/discovery step, not the verification itself — after picking a dish, call verify_recipe(dish_name= , candidate_json= ) to actually check a candidate against it (or fix_recipe to auto-repair it). Returns: Dictionary with `schema_version`, a `dishes` list (slug, title, cuisine, region, aliases, complexity per dish), and a `next_step` hint describing how to proceed to verification.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| cuisine_filter | string | non | Optional cuisine to filter by. Case-insensitive exact match against the dish's cuisine field. Valid values: italian | french | spanish | british | thai | chinese | indian | indonesian | japanese | malaysian | korean | mexican | american | moroccan | turkish | levantine. Leave empty to return all av… |
get_master
Return the canonical master recipe for a dish (read-only, no LLM). Enables compare-then-verify agentic loops: fetch the master, diff it against the user's recipe, then call verify_recipe — instead of verifying blind. Pure knowledge-base lookup, no LLM in the hot path. Master content is transparent by default (ADR-009 / ADR-010): exact temperatures, timings, and EU FIC 1169/2011 allergen codes are returned verbatim, never obfuscated. No score is included (ADR-013) — this is reference data, not a verdict. Returns ingredients, steps (technique/temperature/timing/medium), and the EU FIC allergens derived from the required ingredients. Unknown dishes return a structured UNKNOWN_DISH error.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| dish_name | string | non | Name or alias of the dish to fetch the canonical master recipe for (e.g. 'carbonara', 'spaghetti bolognese', 'angel food cake'). Alias resolution and slug normalisation are applied. Use list_dishes() to browse. |
| response_format | string | non | Response format: 'json' (default, structured) or 'text' (human-readable summary). |
check_safety
Run master-independent safety checks on a candidate recipe. Works for ANY recipe — no dish resolution, no master SOP required. Checks poultry internal-temperature safety and scans all ingredients for the 14 EU FIC 1169/2011 Annex II allergen groups. The verdict is a deterministic function of (candidate, kb_version_hash) — no LLM involvement. Use this when verify_recipe has no matching master for the dish: the safety layer still applies to every recipe. Returns: Safety envelope: verdict (PASSED/FAILED per the zero-critical policy gate), safe flag, issues found, and the pinned kb_version_hash.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| candidate_json | string | oui | The full candidate recipe as a JSON string. Checked for poultry internal temperature safety (≥74°C) and EU FIC 1169 allergen presence. |
check_allergens
Check ingredients for EU FIC 1169/2011 allergen compliance. Returns a detailed audit trace mapping each ingredient to its EU Annex II allergen group with entry numbers and labels. The safety verdict is deterministic — no LLM involvement in the decision — and is pinned by the returned ``kb_version_hash``. Use check_all_eu_allergens=True for food labelling (detect all allergens). Use restrictions=['dairy', 'gluten'] to check for specific user allergies. Supplying neither runs the full 14-group Annex II scan and sets ``defaulted_to_full_scan`` — the tool never reports "safe" without checking. ``is_safe`` answers "was a supplied restriction violated?"; ``declared_allergens`` answers "what is actually present?". Read both.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| ingredients | array<string> | oui | List of ingredient names (freeform or canonical IDs). Examples: ['butter', 'wheat_flour', 'eggs', 'peanut_butter'] |
| restrictions | array<string> | null | non | Allergen group IDs to check against user restrictions. Valid IDs: gluten, crustaceans, eggs, fish, peanuts, soy, dairy, tree_nuts, celery, mustard, sesame, sulphites, lupin, molluscs. If None and check_all_eu_allergens=True, reports all detected allergens. |
| dish_name | string | null | non | Optional dish name for reporting context. |
| check_all_eu_allergens | boolean | non | If True, scans for all 14 EU Annex II allergens regardless of restrictions list. Use this for food labelling (declare all allergens present). |
| response_format | string | non | Response format: 'json' (default) for the machine-actionable payload, or 'text' for a human-readable report. |
| session_id | string | null | non | Optional session identifier so repeated checks are stitched into one trajectory. |
| operator_id | string | null | non | Optional audit identifier for the calling operator (letters, digits, hyphens; max 64 chars). Tags the check in the telemetry log. Defaults to 'anonymous'. |
verify_dietary_claim
Verify that a recipe satisfies a dietary claim (vegan, halal, gluten-free, ...). Reuses the existing allergen-detection logic plus a curated forbidden-ingredient map (apps/guardian/knowledge/dietary_claims.yaml). Returns a structured verdict with the specific offending ingredients and a short justification — never a vague paraphrase.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| candidate_json | string | non | Recipe JSON string (CandidateRecipe schema). Expected shape: {"title": "...", "ingredients": [{"name": "..."}, ...], "steps": [...]}. Only the ingredient list is required for dietary verification. |
| claim | string | non | Dietary claim to verify: vegan | vegetarian | gluten_free | dairy_free | nut_free | halal | kosher. |
| response_format | string | non | Response format: 'text' (default, human-readable) or 'json' (machine-actionable). |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://api.kaimeilabs.dev/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http guardian-engine https://api.kaimeilabs.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : guardian-engine ; URL : https://api.kaimeilabs.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : guardian-engine ; Server URL : https://api.kaimeilabs.dev/mcp ; Create as a plugin{
"mcpServers": {
"guardian-engine": {
"url": "https://api.kaimeilabs.dev/mcp"
}
}
}{
"mcpServers": {
"guardian-engine": {
"type": "http",
"url": "https://api.kaimeilabs.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"guardian-engine": {
"url": "https://api.kaimeilabs.dev/mcp"
}
}
}{
"mcpServers": {
"guardian-engine": {
"httpUrl": "https://api.kaimeilabs.dev/mcp"
}
}
}[mcp_servers.guardian-engine]
url = "https://api.kaimeilabs.dev/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Guardian Engine · L’Atlas · Test du
[Guardian Engine — L’Atlas](https://latlas.dev/mcp/dev.kaimeilabs/guardian-engine)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.