MCP.so
Sign In
Servers

AgentCard

@agent-cards

MCP server for Agent Cards — prepaid virtual Visa cards for AI agents

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

ToolDescription
list_cardsList all virtual cards with balances, expiry, and status
create_cardCreate a new virtual debit card with a fixed USD budget
get_card_detailsGet decrypted PAN, CVV, expiry (may require human approval)
check_balanceFast balance check without exposing credentials
close_cardPermanently close a virtual card
list_transactionsList transactions for a card with optional status filter
approve_requestApprove or deny a pending human-in-the-loop request
submit_user_infoSubmit identity info for card issuance verification
setup_payment_methodSet up a payment method for funding cards
remove_payment_methodRemove a saved payment method
pay_checkoutAuto-detect and pay a checkout page using an AgentCard
detect_checkoutDetect checkout forms on the current browser tab
fill_cardFill card credentials into a payment form in the browser
start_support_chatStart a support conversation
send_support_messageSend a message in a support thread
read_support_chatRead support conversation history

Endpoints

MethodPathDescription
POST/mcpMCP Streamable HTTP transport
GET/healthHealth check ({"ok":true})
GET/.well-known/mcp/server-card.jsonAuto-discovery metadata

Environment Variables

VariableRequiredDescription
AGENT_CARDS_API_URLyesBackend API URL
AGENT_CARDS_JWTstdio onlyUser JWT (HTTP gets it from the Authorization header)
PORTnoHTTP server port (default: 3002)

Development

pnpm dev       # stdio mode
pnpm dev:http  # HTTP mode
pnpm build     # compile TypeScript

More from AI & Agents