About AgentCard
AgentCard is an MCP server for AI agents to issue and use virtual debit cards with fixed USD budgets. Its tools cover card management, checkout payments, and human approval requests without exposing a user's personal card.
Key features
- 01Create cards with fixed USD budgets
- 02Check balances and list transactions
- 03Retrieve card credentials and close cards
- 04Detect, fill, and pay checkout forms
- 05Manage funding and identity details
- 06Handle human approvals and support chats
Use cases
- 01Give an agent a bounded budget for purchases
- 02Review card activity and available balances
- 03Complete browser checkout using an AgentCard
MCP support
Exposes tools to MCP clients over Streamable HTTP or stdio, including card operations, checkout assistance, and approval handling.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.agentcard.sh/mcpclaude mcp add --transport http agent-cards https://mcp.agentcard.sh/mcp{"mcpServers":{"agent-cards":{"type":"http","url":"https://mcp.agentcard.sh/mcp"}}}Open in Cursor{"servers":{"agent-cards":{"type":"http","url":"https://mcp.agentcard.sh/mcp"}}}Open in VS Code{"mcpServers":{"agent-cards":{"type":"http","url":"https://mcp.agentcard.sh/mcp"}}}{"mcpServers":{"agent-cards":{"serverUrl":"https://mcp.agentcard.sh/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
55| Parameter | Type | Required | Description |
|---|---|---|---|
| request | string | Yes | The natural-language ask or follow-up, e.g. "order a caesar salad from Zuni on DoorDash", "deliver to 123 Main St", or "yes, place the order". |
| new_order | boolean | No | Start a fresh shopping conversation instead of continuing the current one. Use when beginning an unrelated order (ignores any conversation_id). |
| conversation_id | string | No | The conversation_id returned by a previous buy call. Pass it to continue the SAME order (keeps the cart + confirmation). Omit to start a new order. |
Details
From the project README@agent-cards/mcp
Give your AI agent a debit card. AgentCard lets AI agents create and spend virtual debit cards — each with a fixed budget, real card credentials, and full MCP integration. Your agent can create a card, pay for things, check its balance, and auto-fill checkout forms — without ever needing your personal card.
Quick Setup
The fastest way to connect your agent is through the CLI:
npx agent-cards signup # create an account (one-time)
npx agent-cards setup-mcp # auto-configures Claude Code
That's it. Restart Claude Code and the tools are ready to use.
Manual Setup
HTTP (recommended)
Add to your MCP client config (Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"agent-cards": {
"url": "https://mcp.agentcard.sh/mcp",
"headers": {
"Authorization": "Bearer <your-jwt>"
}
}
}
}
Get your JWT with npx agent-cards login, then find it in ~/.agent-cards/config.json.
stdio (local)
{
"mcpServers": {
"agent-cards": {
"command": "node",
"args": ["/path/to/packages/mcp/dist/src/index.js"],
"env": {
"AGENT_CARDS_JWT": "<your-jwt>",
"AGENT_CARDS_API_URL": "https://your-backend.example.com"
}
}
}
}
Tools
| Tool | Description |
|---|---|
list_cards | List all virtual cards with balances, expiry, and status |
create_card | Create a new virtual debit card with a fixed USD budget |
get_card_details | Get decrypted PAN, CVV, expiry (may require human approval) |
check_balance | Fast balance check without exposing credentials |
close_card | Permanently close a virtual card |
list_transactions | List transactions for a card with optional status filter |
approve_request | Approve or deny a pending human-in-the-loop request |
submit_user_info | Submit identity info for card issuance verification |
setup_payment_method | Set up a payment method for funding cards |
remove_payment_method | Remove a saved payment method |
pay_checkout | Auto-detect and pay a checkout page using an AgentCard |
detect_checkout | Detect checkout forms on the current browser tab |
fill_card | Fill card credentials into a payment form in the browser |
start_support_chat | Start a support conversation |
send_support_message | Send a message in a support thread |
read_support_chat | Read support conversation history |
Endpoints
| Method | Path | Description |
|---|---|---|
POST | /mcp | MCP Streamable HTTP transport |
GET | /health | Health check ({"ok":true}) |
GET | /.well-known/mcp/server-card.json | Auto-discovery metadata |
Environment Variables
| Variable | Required | Description |
|---|---|---|
AGENT_CARDS_API_URL | yes | Backend API URL |
AGENT_CARDS_JWT | stdio only | User JWT (HTTP gets it from the Authorization header) |
PORT | no | HTTP server port (default: 3002) |
Development
pnpm dev # stdio mode
pnpm dev:http # HTTP mode
pnpm build # compile TypeScript
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.