Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Deterministic recipe verification engine — validates AI-generated recipes against master SOPs.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://api.kaimeilabs.dev/mcp在终端中运行这条命令
claude mcp add --transport http guardian-engine https://api.kaimeilabs.dev/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"guardian-engine": {
"url": "https://api.kaimeilabs.dev/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"guardian-engine": {
"type": "http",
"url": "https://api.kaimeilabs.dev/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://api.kaimeilabs.dev/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 kaimeilabs.dev 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.0.0)于8个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Spec Driven Development, Remote Desktop Commander, OpenTakeoff
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Construction takeoff for AI agents: load plans, set scale, measure, count, export with provenance.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A deterministic oracle inside your agent's generate→verify loop. Your LLM authors the recipe; Guardian judges it. Guardian Engine catches hallucinated temperatures, missing techniques, wrong ingredients, and impossible cooking steps before they reach the pan — and returns machine-actionable patches so your agent can fix exactly what's wrong. Recipes are the first vertical — the same deterministic approach generalises to any procedural domain where correctness matters.
Why an oracle instead of another LLM critique? An LLM critique is a *sample* — it misses differently on every run. Guardian's symbolic engine makes guarantees a generative model structurally cannot:
kb_version_hash and master_hash so any verdict is reproducible as an audit record.patches (and fix_recipe can apply them deterministically); your agent authors the rest and re-verifies.master_json, not just the bundled catalog.Endpoint: https://api.kaimeilabs.dev/mcp Transport: Streamable HTTP (MCP) Auth: None — free during early access (fair use applies)
## ⚠️ Safety & Liability Notice
Guardian Engine is an automated, informational recipe-verification tool. It is not a
food-safety, medical, nutritional, or regulatory-compliance authority, and its output is not
professional advice.
- Allergens are not guaranteed. Allergen warnings (including
check_safety,
check_allergens, and theallergensfield of every verification response) come from an
automated knowledge base that may be incomplete or wrong. A
PASSEDverdict or an empty
allergen list is NOT a guarantee that a recipe is free of any allergen or safe for any
individual. Never rely on Guardian to decide whether a food is safe for someone with a
food allergy or intolerance — always verify against the actual ingredient/product labelling
and consult a qualified professional.
- Dietary and religious claims are not certifications.
verify_dietary_claimresults
(vegan, vegetarian, gluten-free, dairy-free, nut-free, halal, kosher) are automated
ingredient-level checks — they are not a substitute for certification by a recognised
dietary or religious authority.
- Repaired recipes are not certified safe.
fix_recipeoutput must be reviewed by a human
before being cooked, served, or published; allergen findings are never auto-fixed and a
repaired recipe may still fail verification.
- Cooking-safety findings are informational and must not replace certified guidance (e.g.
USDA, EU FIC, or your local food-safety authority).
- No warranty. The Service is provided "AS IS", without warranty of any kind. To the maximum
extent permitted by law, Kaimei Labs accepts no liability for any loss, injury, or damage
arising from use of, or reliance on, Guardian output.
Use of the API constitutes acceptance of the full Terms of Service
(warranty disclaimer, limitation of liability, indemnification).
Guardian is a hosted MCP server. No install, no API key, no Docker. Pick your client and paste the config.
Add to your claude_desktop_config.json:
{
"mcpServers": { "guardian": { "url": "https://api.kaimeilabs.dev/mcp", "transport": "streamable-http" } } }
Restart Claude Desktop. Ask: *"List the available dishes in Guardian Engine"* to confirm.
Open Settings → MCP Servers → Add new MCP server, then paste:
{
"guardian": { "url": "https://api.kaimeilabs.dev/mcp", "transport": "streamable-http" } }
Add to your .vscode/mcp.json (or user settings.json under "mcp"):
{
"servers": { "guardian": { "type": "http", "url": "https://api.kaimeilabs.dev/mcp" } } }
Add to your Windsurf MCP config:
{
"mcpServers": { "guardian": { "serverUrl": "https://api.kaimeilabs.dev/mcp" } } }
— auto-configures Claude Desktop, Cursor, and more.
[!WARNING]
Smithery Proxy Limitation: The default Smithery proxy URL (
guardian-engine--kaimeilabs.run.tools) does not support Streaming HTTP and will silently fail. You MUST edit your MCP config after installation to use the direct endpoint:https://api.kaimeilabs.dev/mcp.
Guardian Engine is also listed on [Glama.ai](https://glama.ai/mcp/servers/kaimeilabs/guardian-engine) — discover and connect to MCP servers from the Glama directory.
import asyncio
from mcp.client.session import ClientSession from mcp.client.streamable_http import streamable_http_client from httpx import AsyncClient
async def main(): async with AsyncClient(timeout=30.0) as http: async with streamable_http_client("https://api.kaimeilabs.dev/mcp", http_client=http) as streams: read_stream, write_stream, _ = streams async with ClientSession(read_stream, write_stream) as session: await session.initialize() result = await session.call_tool("list_dishes", arguments={"cuisine_filter": "french"}) print(result)
asyncio.run(main())
pip install mcp>=1.2.1 httpx>=0.27.0
The MCP server exposes seven tools. verify_recipe is the core loop; the rest support the compare → verify → repair cycle and master-independent safety checks.
verify_recipeVerify a candidate recipe against a Guardian master spec. Returns a structured report with a strict PASSED/FAILED verdict (no scores) and detailed findings, each citing the rule it violated. The verdict is policy-driven: any CRITICAL finding fails the recipe; more than 5 WARNINGs also fail.
| Parameter | Type | Required | Description | |
|---|---|---|---|---|
dish_name | string | Yes* | Name or alias of the dish (e.g. "carbonara", "rendang", "kung-pao", "bourguignon"). dish is accepted as a backward-compatible alias. *Optional when master_json is supplied | |
candidate_json | string \ | object | Yes | Full recipe as JSON — see schema.md. Max 500 KB |
master_json | string \ | object | No | Bring your own master — your house recipe/SOP to verify against, using the same schema as catalog masters. Bypasses the bundled catalog; the response pins your spec via master_hash (sha256) and master_source: "user" |
original_prompt | string | No | The user's original request that generated the recipe | |
response_format | string | No | "text" (default) or "json". Use "json" for machine-actionable patches in agentic self-correction loops | |
session_id | string | No | Track an agent's improvement loop across multiple attempts | |
operator_id | string | No | Audit identifier tagged into the verification log and compliance record (letters, digits, hyphens; max 64 chars) |
Tip — include the original prompt for personalised feedback: When you include original_prompt (e.g. *"Make a spicy vegan rendang"*), Guardian matches findings to the user's stated dietary needs and flavour preferences, and activates audience-sensitive safety checks (e.g. flagging honey in recipes for infants, raw egg for pregnant users). Without it, Guardian still returns the full verdict and all findings.
Unknown dish? If the dish isn't in the catalog, the UNKNOWN_DISH error carries a safety_fallback verdict — the master-independent safety layer (poultry temperature + allergen scan) still runs, so your agent always leaves with deterministic value.
Field audience: issue is a machine-readable code for programmatic handling — don't show it to end users. Use title and suggested_correction as the user-facing fields.
fix_recipeDeterministically repair a candidate recipe against a master spec. Verifies, applies every machine-actionable patch the symbolic engine produced (missing ingredients, quantities, temperatures, durations, cooking media, substitutions), then re-verifies. No LLM is involved — the repair is a deterministic function of the candidate and the ruleset.
| Parameter | Type | Required | Description | |
|---|---|---|---|---|
dish_name | string | Yes* | Dish to repair against (dish alias accepted). *Optional when master_json is supplied | |
candidate_json | string \ | object | Yes | Same schema as verify_recipe |
master_json | string \ | object | No | BYO master to repair against; patches (including suggested_step templates) are built from *your* spec |
original_prompt | string | No | Used only for safety-context awareness during verification | |
response_format | string | No | "text" (default) or "json" — use "json" to receive the full fixed_recipe object |
The response reports verdict_before → verdict_after, fully_fixed, patches_applied, patches_skipped, unresolved_findings, and the fixed_recipe. Changes that need recipe-authoring judgement (adding a whole cooking phase, rewriting instructions, ratio rebalancing) are not auto-applied — they're returned under patches_skipped, with add_step patches carrying a suggested_step template from the master for *your* agent to author in the recipe's own voice and re-verify. Allergen findings are never auto-fixed. Do not assume a fixed recipe will pass — check verdict_after.
list_dishesList all master recipes Guardian can verify against, with rich metadata (slug, title, cuisine, region, aliases, complexity).
| Parameter | Type | Required | Description |
|---|---|---|---|
cuisine_filter | string | No | Case-insensitive cuisine filter (e.g. "french", "chinese", "thai") |
get_masterReturn the canonical master recipe for a dish — a pure knowledge-base lookup, no LLM. Enables compare-then-verify loops: fetch the master, diff it against your recipe, then call verify_recipe instead of verifying blind. Master content is transparent by default: exact temperatures, timings, and EU FIC 1169/2011 allergen codes are returned verbatim. Also the live reference for the master_json schema when bringing your own master.
| Parameter | Type | Required | Description |
|---|---|---|---|
dish_name | string | Yes | Name or alias of the dish |
response_format | string | No | "json" (default) or "text" |
check_safetyMaster-independent safety checks for any recipe — no dish resolution or master spec required. Checks poultry internal-temperature safety (≥ 74 °C) and scans all ingredients against the 14 EU FIC 1169/2011 Annex II allergen groups. Use it when verify_recipe has no matching master.
| Parameter |
只显示了开头部分;其余内容请在仓库中阅读