Approval Rules
Auto-approve small agent actions under your rules; approval cards for the rest.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"approve": {
"url": "https://approve.cloudforbots.com/mcp"
}
}
}원격 엔드포인트
https://approve.cloudforbots.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (6)
🟢check_action(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.
입력 스키마
{
"type": "object",
"properties": {
"action": {
"type": "object",
"description": "The action your agent wants to take.",
"properties": {
"type": {
"type": "string",
"description": "Short verb: read, search, draft, send_email, send_message, post, purchase, payment, delete, deploy, change_settings, ..."
},
"summary": {
"type": "string",
"description": "One plain sentence of what will happen, e.g. \"Buy a $3.99 domain renewal for example.com\"."
},
"amount_usd": {
"type": "number",
"description": "Money involved, if any."
},
"target": {
"type": "string",
"description": "Who or what it touches: a recipient email, domain, file, repo."
},
"reversible": {
"type": "boolean",
"description": "Can it be undone easily?"
}
},
"required": [
"type",
"summary"
]
}
},
"required": [
"action"
]
}🟢get_decision(card_id, card_token)
Check whether the user approved or rejected an approval card (by card_id and card_token). Only act when status is approved.
입력 스키마
{
"type": "object",
"properties": {
"card_id": {
"type": "string"
},
"card_token": {
"type": "string"
}
},
"required": [
"card_id",
"card_token"
]
}🟡set_rules(rules, confirm)
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.
입력 스키마
{
"type": "object",
"properties": {
"rules": {
"type": "array",
"items": {
"type": "object"
}
},
"confirm": {
"type": "boolean"
}
},
"required": [
"rules"
]
}🟢get_rules
Show the rules in effect for your key (or the default starter rules).
입력 스키마
{
"type": "object",
"properties": {}
}🟢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.
입력 스키마
{
"type": "object",
"properties": {}
}🟢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.
입력 스키마
{
"type": "object",
"properties": {}
}커뮤니티
증거