agent-card-provisioning
1
总安装量
1
周安装量
#47178
全站排名
安装命令
npx skills add https://github.com/proxyhq/proxy-mcp-skills --skill agent-card-provisioning
Agent 安装分布
windsurf
1
openclaw
1
trae
1
opencode
1
cursor
1
codex
1
Skill 文档
Agent Card Provisioning
Provision virtual payment cards for AI agents with built-in spending controls.
How It Works
- Agent requests card via payment intent
- Policy evaluates the request (amount, merchant, limits)
- Card issued if within policy OR approval required if over threshold
- Agent uses card for the specific purchase
- Transaction tracked and matched to intent
Creating a Card (Intent-Based)
Cards are provisioned through payment intents, not created directly:
proxy.intents.create
âââ merchant: "Amazon"
âââ amount: 49.99
âââ description: "Office supplies"
âââ category: "office_supplies" (optional)
If approved (auto or manual), a card is issued:
Response:
âââ id: "int_abc123"
âââ status: "pending" or "card_issued"
âââ cardId: "card_xyz789"
âââ message: "Card issued successfully"
Getting Card Details
Masked (for display)
proxy.cards.get { cardId: "card_xyz789" }
â { last4: "4242", brand: "Visa", status: "active" }
Full Details (for payment)
proxy.cards.get_sensitive { cardId: "card_xyz789" }
â {
pan: "4532015112830366",
cvv: "847",
expiryMonth: "03",
expiryYear: "2027",
billingAddress: {
line1: "123 Main St",
city: "New York",
state: "NY",
postalCode: "10001",
country: "US"
}
}
Card Controls (via Policy)
Policies define what cards can be used for:
| Control | Description |
|---|---|
| Spending limit | Max per transaction |
| Daily/monthly limits | Cumulative caps |
| Merchant categories | Allowed/blocked MCCs |
| Auto-approve threshold | Below = instant, above = human approval |
| Expiration | Card validity period |
Card Lifecycle
Intent Created
â
â¼
âââââââââââââââ
â Policy â
â Evaluation â
ââââââââ¬âââââââ
â
ââââââ´âââââ
â¼ â¼
Auto Needs
Approve Approval
â â
â¼ â¼
Card [Human]
Issued â
â â
âââââââââââ
â
â¼
Card Used
â
â¼
Transaction
Matched
â
â¼
Card
Expired
Best Practices
- One intent per purchase – Creates audit trail
- Descriptive intent names – Helps reconciliation
- Set reasonable policies – Balance autonomy vs control
- Monitor transactions – Use
proxy.transactions.list_for_card
Security
- Cards are single-purpose (one intent = one card)
- Unused cards auto-expire
- Full PAN only via
get_sensitive(requires auth) - All transactions logged and reconciled