safe-agent-mcp
v0.1.0Audit API-key privileges, check idempotency patterns, explain AI-agent guard patterns.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
audit_api_keys Audit Api Keys
Audit API keys for over-privilege using permission *descriptions* only. Pass entries like {"name": "stripe-main", "service": "Stripe", "scopes": ["charges:write", "refunds:write"]}. NEVER pass actual key values — entries that look like secrets are rejected, not stored. Returns a per-key risk level with reasons and a summary count.
| Parameter | Type | Description |
|---|---|---|
keys * | array |
check_idempotency_pattern Check Idempotency Pattern
Check a code snippet for the signals that stop duplicate execution. Paste the function that performs the side effect (sending, charging, writing). Returns which guard signals are present, which are missing, and a plain verdict. Read-only static check — the code is not executed.
| Parameter | Type | Description |
|---|---|---|
code * | string |
explain_guard_pattern Explain Guard Pattern
Explain one production guard pattern: what failure it prevents and its minimal shape. Known patterns: idempotency_key, approval_gate, outbox, key_inventory, circuit_breaker, signed_approval_link.
| Parameter | Type | Description |
|---|---|---|
pattern * | string |