Approval Rules

com.botrecipe由 botrecipe.com 发布v1.0.0更新于 Oct 24, 2026

Auto-approve small agent actions under your rules; approval cards for the rest.

发布方自己的服务:Approval Studio

已验证Streamable HTTP可网页运行效率与工作流开发者工具安全与监控

概览

AI 生成的概览

让助理按你设定的规则自动放行小额操作,其余操作以批准卡请你确认。

可以做什么
提供一组规则,让助理在执行有后果的操作前先查询是否可自动批准。check_action 返回自动批准、需要批准(附通俗说明和可点击链接的批准卡)或拒绝;get_decision 按卡片编号和令牌确认用户是否已批准;set_rules 与 get_rules 管理规则;weekly_report 生成过去七天的只读报告。
适用场景
当你让 AI 助理代为执行有后果的操作,并希望小额、可逆的操作自动放行、其余操作先征得你同意时使用。
运行要求
远程端点,无需本地运行环境。保存规则需要 API 密钥;免费方案每天 200 次调用。
安装前请注意
免费方案仅为观察模式,只报告并记录“将会”做出的决定,不会真正生效。批准卡链接可供用户点击批准,请确认规则和金额上限符合预期;升级方案需付费。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Approval Rules,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.botrecipe%2Fapprove/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "approval-rules": {
      "type": "http",
      "url": "https://approve.cloudforbots.com/mcp"
    }
  }
}

工具

6

check_action

Before a consequential action, ask whether the user's rules auto-approve it. Returns auto_approve, needs_approval (with a plain-English approval card and a link the user can tap) or deny. Free plan is watch-only: it reports what it WOULD decide and logs it for the weekly report, but nothing counts as approved, so ask your user as you normally would.

输入参数action必填

get_decision

Check whether the user approved or rejected an approval card (by card_id and card_token). Only act when status is approved.

输入参数card_id必填card_token必填

set_rules

Save the user's rules (needs an API key so they stay yours). Each rule: {name, when:{type:[...], max_usd, min_usd, reversible, target_ends_with:[...]}, verdict:"auto"|"ask"|"deny"}. First matching rule wins; anything unmatched needs approval. Call once without confirm to preview, then with confirm=true.

输入参数rules必填confirm

get_rules

Show the rules in effect for your key (or the default starter rules).

无需输入参数。

weekly_report

Draft a plain-English report of the last 7 days: actions checked, how many your rules would auto-approve, how many needed you, top kinds of asks, and rule suggestions. Read-only; sends nothing.

无需输入参数。

usage_and_upgrade

Show today's usage for your key or IP and the $49/month All Access upgrade link (cloudforbots.com/offer). Free tier: 200 calls/day. Not metered.

无需输入参数。

版本历史

1
  1. v1.0.0最新Oct 15, 2026

评分

已满足适用检查项的 72%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分

    请在注册中心条目中发布图标。

  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。

其他 Approval 集成