开发者与 Agent 接入中心
把 Agent 当一等访客服务。
外部 Agent 无需打开浏览器或解析 HTML,可通过来访端五件套与无状态 Streamable HTTP MCP(2026-07-28 协议)直接检索、读取并按规范引用本站配方。
1. 来访端五件套与发现端点
| 能力 | 地址 / 用法 | 规范编号 |
|---|---|---|
| 站点索引 | GET https://lab.huaiwork.com/llms.txt | V-01 / V-16 / S-03 |
| Markdown 协商 | 请求任意页面带 Accept: text/markdown 或访问 *.md(带 Vary: Accept 与 ETag) | V-02 / V-03 / V-21 |
| 爬虫与内容信号 | GET https://lab.huaiwork.com/robots.txt(search=yes, ai-input=yes, ai-train=no) | V-06 / V-07 |
| OpenAPI 3.1 | GET https://lab.huaiwork.com/openapi.json | V-04 / V-05 |
| 远程 MCP(2026-07-28) | POST https://lab.huaiwork.com/mcp · Server Card · AI Catalog | V-10 / V-11 / V-12 |
2. 在支持 MCP 的客户端中配置
{
"mcpServers": {
"huaiwork-lab": {
"type": "streamable-http",
"url": "https://lab.huaiwork.com/mcp"
}
}
}
只读工具:list_domains、search_recipes、get_recipe、get_usage_policy。额度:每来源每分钟 60 次,匿名每日 200 次;在 管理后台 签发 Bearer API 密钥后可提升每日额度。
3. 在线试调只读 API(GET /v1/recipes?limit=3)
点击上方按钮查看实时 JSON(注意观察每条结果里的 url 与 page 两个分离字段)