What it does
This MCP server enables AI agents to create and manage virtual MasterCard cards programmatically. It exposes 11 tools for card issuance, funding, freezing, and transaction tracking. ASG Card supports two payment rails: Stellar x402 (USDC transfers) for fully autonomous agent operation with immediate card issuance, and Stripe for human-approved payments with a web approval flow. All cards connect to real 4payments infrastructure for live balance and transaction history queries.
Who it's for
AI agents and developers building autonomous workflows that require card-based spending authority. Ideal for multi-agent systems where each agent needs an isolated budget and spending history, or autonomous services that issue cards to users at scale.
Common use cases
- Give an AI agent a $10 virtual card to spend autonomously on third-party APIs or services, funded via USDC on Stellar
- Spawn multiple agent instances, each with its own card and isolated budget, then query transaction history per card
- Top up a card's balance on demand as an agent approaches its budget, without human approval required
- Audit agent spending by fetching transaction lists and real-time balances from 4payments data
Setup pitfalls
- Four secrets were found in the repository — secure Stellar private keys and Stripe credentials via environment variables; never commit them
- Stellar x402 path requires a pre-funded USDC wallet on the Stellar network; agents cannot create cards if the wallet lacks balance
- Stripe path requires a human to approve payments via a web form at
stripe.asgcard.dev/approvebefore card issuance; agents cannot operate fully autonomously - Repository was last updated 48 days ago with no passing CI — test locally before deployment and watch for stale dependencies or upstream API changes