Agent Card MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add agent-card -- npx -y @asgcard/mcp-server
README.md

Virtual MasterCards for AI agents.

Quick Start · Docs · Website · Twitter · Security


Public mirror — this repo is a read-only mirror of the internal monorepo. For issues and feature requests use GitHub Issues. For code contributions see CONTRIBUTING.md.

Agent Card

Agent Card is an agent-first virtual card platform. AI agents programmatically issue and manage MasterCard virtual cards, paying in USDC via the x402 protocol on Stellar.

Workswith Codex Claude Code Cursor OpenClaw Any MCP
Builtwith Stellar Circle USDC MasterCard

If it speaks MCP, it can spend.

🎬 Demo

📹 Watch the full product video

Agent Card is right for you if

  • ✅ Your AI agent needs to pay for things — hosting, domains, APIs, SaaS
  • ✅ You want a virtual MasterCard issued programmatically
  • ✅ You want your agent to manage cards autonomously via MCP
  • ✅ You want to pay in USDC without touching fiat banking
  • ✅ You need transparent, on-chain proof of every payment

Quick Start

For Codex

npx @asgcard/cli onboard -y --client codex

For Claude Code

npx @asgcard/cli onboard -y --client claude

For Cursor

npx @asgcard/cli onboard -y --client cursor

Using the SDK directly

npm install @asgcard/sdk

Via ClawHub

npx clawhub@latest install agentcard

The onboarding flow creates a Stellar wallet (~/.asgcard/wallet.json), configures MCP, installs the agent skill, and prints the next step.

Note: If you already have a wallet, run npx @asgcard/cli doctor to verify your setup.

How It Works

  1. Agent requests a card → API returns 402 Payment Required with USDC amount
  2. Agent signs a Stellar USDC transfer via the SDK
  3. x402 Facilitator verifies and settles the payment on-chain
  4. API issues a real MasterCard via the card issuer
  5. Card details returned in the response

Live pricing: `GET https://api.asgcard.dev/pricing` · Full docs: asgcard.dev/docs

MCP Server (11 tools)

@asgcard/mcp-server exposes 11 tools via the Model Context Protocol. The MCP server reads your Stellar key from ~/.asgcard/wallet.jsonno env vars needed in client configs.

Tool What it does
get_wallet_status Wallet address, USDC balance, readiness
create_card Create virtual MasterCard (x402 payment)
fund_card Top up existing card
list_cards List all wallet cards

Tools (4)

get_wallet_statusReturns the wallet address, USDC balance, and readiness status.
create_cardCreates a virtual MasterCard using an x402 payment.
fund_cardTops up an existing virtual card.
list_cardsLists all virtual cards associated with the wallet.

Configuration

claude_desktop_config.json
{"mcpServers": {"asgcard": {"command": "npx", "args": ["-y", "@asgcard/mcp-server"]}}}

Try it

Check my current wallet balance and status.
Create a new virtual MasterCard for my upcoming cloud hosting subscription.
List all the virtual cards I have currently active.
Top up my existing virtual card with more funds.

Frequently Asked Questions

What are the key features of Agent Card?

Programmatic issuance of virtual MasterCards for AI agents. Autonomous card management via MCP tools. Payments settled in USDC on the Stellar blockchain. Transparent on-chain proof of every payment. No fiat banking required for agent transactions.

What can I use Agent Card for?

AI agents paying for cloud hosting and infrastructure services. Automated purchasing of domain names and web services. Managing recurring SaaS subscriptions programmatically. Paying for API usage fees autonomously.

How do I install Agent Card?

Install Agent Card by running: npx @asgcard/cli onboard -y

What MCP clients work with Agent Card?

Agent Card works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Agent Card docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare