Connect your AI agent to card payments via Model Context Protocol (MCP). Agents create purchase intents, get a locked virtual card auto-issued (or temporarily unlocked), and complete purchases wherever cards are accepted. OAuth secures interactive clients, while agent tokens power autonomous runs.
https://mcp.useproxy.ai/api/mcpProxy uses OAuth 2.0 for interactive clients (Codex, Claude, Cursor). After adding the server, run your client's login flow (for example codex mcp login proxy or /mcp in Claude). For autonomous agents, create an Agent Token in the dashboard and send it as a bearer token.
codex mcp add proxy --url https://mcp.useproxy.ai/api/mcpThen run codex mcp login proxy to complete OAuth.
claude mcp add proxy --transport http https://mcp.useproxy.ai/api/mcpThen run /mcp and select "proxy" to authenticate.
{
"mcpServers": {
"proxy": {
"type": "http",
"url": "https://mcp.useproxy.ai/api/mcp",
"headers": {
"Authorization": "Bearer $PROXY_AGENT_TOKEN"
}
}
}
}Add to your MCP client config. The Authorization header is only required for agent tokens.
Intent-based card provisioning
┌─────────────────────────────────────────────────────────────┐
│ SETUP (one-time in dashboard) │
├─────────────────────────────────────────────────────────────┤
│ 1. Create Policy → Define spending rules & limits │
│ 2. Create Agent → Assign policy to agent │
│ 3. Connect MCP → Add server to your MCP client │
│ 4. Authenticate → OAuth login or agent token │
└─────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────┐
│ RUNTIME (via MCP) │
├─────────────────────────────────────────────────────────────┤
│ 4. Check Status → proxy.kyc.status, proxy.balance.get │
│ 5. Simulate Intent → proxy.policies.simulate (optional) │
│ 6. Create Intent → Declare what agent wants to purchase │
│ 7. Auto-Evaluation → System checks against policy │
│ 8. Approval (if req)→ proxy.intents.request_approval │
│ 9. Card Issued → If within limits, card auto-issued │
│ 10. Make Payment → Get PAN via proxy.cards.get_sensitive│
│ 11. Verify → Check transaction status │
└─────────────────────────────────────────────────────────────┘Intents are required for every purchase. Cards stay locked between purchases and unlock per intent. Recurring intents keep the card unlocked during the billing window.
30+ tools for agent operations
Human-only tools are labeled; admin tools live in the dashboard
proxy.user.getGet authenticated user profile
proxy.kyc.statusCheck KYC verification status
proxy.kyc.linkGet KYC completion link if needed
proxy.balance.getCheck available balance
proxy.funding.getGet ACH/wire details and crypto deposit address (human tokens only)
proxy.funding.requestRequest funding from account owner (agent-only, sends email notification)
proxy.tools.listList available MCP tools
proxy.policies.getRead current spend policy
proxy.policies.simulateDry-run an intent and return allow/deny + advisories
proxy.intents.createCreate payment intent (auto-issues card if within policy)
proxy.intents.listList your intents
proxy.intents.getGet intent details including card info
proxy.cards.listList cards for the authenticated user (human tokens only)
proxy.cards.getGet card details by ID (human tokens only)
proxy.cards.get_sensitiveGet full card number (PAN); requires intentId + reason
proxy.cards.freezeTemporarily freeze a card (human tokens only)
proxy.cards.unfreezeUnfreeze a card (human tokens only)
proxy.cards.rotateRotate card credentials without changing policy (human tokens only)
proxy.cards.closeClose a card permanently (human tokens only)
proxy.transactions.list_for_cardList transactions for a specific card
proxy.transactions.getGet transaction details
proxy.intents.create( purpose="Buy API credits for OpenAI", expectedAmount=5000 # cents )
{
"intentId": "int_abc123",
"status": "card_issued",
"card": { "cardId": "card_xyz", "last4": "4242" },
"approvalRequired": false,
"advisories": []
}proxy.cards.get_sensitive( cardId="card_xyz", intentId="int_abc123", reason="Making purchase for OpenAI API credits" )
proxy.intents.create(
purpose="Figma subscription",
cardId="card_existing_123",
expectedAmount=1200,
expectedMerchant="Figma",
recurring={
"cadence": { "type": "monthly" },
"window": { "startDaysBefore": 3, "endDaysAfter": 2 },
"match": { "amountTolerance": 0.1, "merchantMatch": true }
}
)POLICY_REQUIREDAssign a policy to the agent in dashboard
pending_approvalAmount exceeds auto-approve threshold, needs human approval
UnauthorizedToken expired or missing. Re-authenticate or supply an agent token.
Pre-built payment skills for your agent
Skills teach your agent how to use Proxy's payment tools. Install them to give your agent knowledge of the payment flow, available tools, and best practices.
clawhub install proxy-paymentsOr: mcporter config add proxy --url https://mcp.useproxy.ai/api/mcp
clawhub install ai-agent-card-paymentsnpx skills add proxyhq/proxy-mcp-skillsIt's a Model Context Protocol (MCP) server that lets AI agents call Proxy tools to create purchase intents, get cards issued/unlocked within policy, and complete payments programmatically.
Interactive clients use OAuth 2.0 to sign in. Autonomous agents can use an Agent Token from the dashboard as a bearer token.
Intents declare what the agent plans to buy and how much it expects to spend so Proxy can evaluate the request against policy and only unlock/issue a card when it is approved.