Payment tools your agent can call directly
Point any MCP client at the AgentPay server and your agent gains a scoped, policy-enforced wallet — without you writing a tool layer.
{
"mcpServers": {
"agentpay": {
"type": "http",
"url": "https://mcp.agentpay.dev/v1",
"headers": { "Authorization": "Bearer sk_test_••••4f2a" }
}
}
}Eleven tools, one policy engine behind them
Every tool call is evaluated against the same budgets, policies, and risk signals as the API and dashboard.
create_cardMint a single-use or multi-use card with amount, merchant, and expiry.
list_cardsCards assigned to the connected agent, with balances and status.
get_cardNon-sensitive card detail: type, limits, restrictions, spend.
get_card_credentialsElevated permission only. Short-lived, fully audited, never logged.
get_balanceAgent budget, card balance, and organization wallet balance.
list_transactionsTransactions for the connected agent with status and decline reasons.
request_purchaseOpen a purchase task with product, merchant preference, and cap.
request_approvalPage a human approver with the cart and all-in total.
get_approval_statusPoll whether a pending purchase was approved or declined.
cancel_cardCancel an active card and release its reserved balance.
buyEnd-to-end purchase workflow for supported merchant integrations.
The buy tool refuses to check out early
Checkout only proceeds once required information is collected, the final total is calculated, policies are evaluated, any required approval is received, and a valid card exists.
> buy({ description: "Standing desk under $400", merchant: "Amazon" })
blocked: approval_required
policy pol_office_250 — amount above $250 in office_supplies
approver finance@northwind.co (notified in Slack)
expires_at 2026-08-02T20:14:00Z
> get_approval_status({ id: "apr_71bc" })
approved amount_cents: 38900 by: finance@northwind.coConnect your agent in five minutes
Run agentpay setup-mcp, paste the config, and your assistant can issue its first simulated card.