# Let agents create their own cards

Connect to AgentCard via MCP. Create cards, check balances, and pay for things — autonomously.

```
$npx agent-cards setup-mcp|
╭──────────────────────────────────────╮
│  ✻ Claude Code                      │
│                                      │
│  /mcp to see available MCP tools    │
╰──────────────────────────────────────╯
> Create a $25 card for buying an API key
```

## Every tool

The full reference for the AgentCard MCP server.

### create_card
Create a virtual debit card with a spending limit. Cards auto-cancel after one authorized payment and expire after 7 days if unused.

- **amount_cents**: Spending limit in cents ($1–$50)(required)
- **sandbox**: Use sandbox mode for testing without real charges

### list_cards
List all virtual cards with their IDs, last four digits, expiry, balance, and status.

### get_card_details
Decrypt and display full PAN, CVV, and expiry for a card. May require human approval before returning credentials.

- **card_id**: Card ID to inspect(required)

### check_balance
Quick balance check without exposing card credentials. Faster than get_card_details when you only need the balance.

- **card_id**: Card ID to check(required)

### close_card
Permanently close a virtual card. Irreversible — the card cannot be reopened. Safe to call on already-closed cards.

- **card_id**: Card ID to close(required)

### list_transactions
Transaction history for a card — amount, merchant, status, and timestamps.

- **card_id**: Card ID to query(required)
- **limit**: Max number of transactions to return (default 20)
- **status**: Filter by status (PENDING, SETTLED, DECLINED, REVERSED, EXPIRED, REFUNDED)

## Start now

Set up the MCP server and let your agent create cards autonomously.

```
$npx agent-cards setup-mcp|
```
