agent-payments — Claude Code MCP server: AI agent payments
MCP server for secure AI agent payments with spending limits and card data protection. Agents can pay via Stripe (cards and ACH) or Coinbase (USDC and USDT) under a user-issued mandate.
no license 1,737 installs updated 2026-05-27
claude mcp add --transport http agent-payments https://agent-payments--delegare.run.toolsWhat agent-payments does
agent-payments gives an agent payment tools while keeping card details and private keys hidden. Before any transaction, the agent requests authorization from the user via request_payment_authorization and receives an Intent Mandate token for subsequent payments. The user sets spending limits and can adjust them anytime.
The server handles x402-protected APIs through execute_fetch — if a resource requires payment, the tool authorizes it automatically and retrieves the data. The get_balance, pay_merchant, and get_merchant_stats tools let the agent monitor spending and performance. Requires a Stripe or Coinbase account and a user-issued mandate to operate.
What it helps with
- let an agent make payments without exposing card credentials
- set hard spending caps for an agent
- pay for x402-protected APIs or paywalled content
- track agent balance and payment history
Example prompts for the agent
- Ask the user to authorize a 50-dollar spending mandate and create an Intent Mandate token
- Check remaining balance before paying for API access
- Send a payment to a merchant using a monthly 100-dollar spending limit
How to install agent-payments
Platform CLI: remote server
claude mcp add --transport http agent-payments https://agent-payments--delegare.run.toolsPlatform CLI: remote server
codex mcp add agent-payments --url https://agent-payments--delegare.run.toolsConfig file
{
"mcpServers": {
"agent-payments": {
"url": "https://agent-payments--delegare.run.tools"
}
}
}Config file
{
"servers": {
"agent-payments": {
"type": "http",
"url": "https://agent-payments--delegare.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http agent-payments https://agent-payments--delegare.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about agent-payments
How do I install agent-payments in Claude Code?
Run claude mcp add --transport http agent-payments https://agent-payments--delegare.run.tools. The agent will have access to payment tools on the next run.
What does agent-payments do?
It provides agents with payment capabilities: request spending approval, check balance, pay for APIs, or send funds to a merchant. All transactions are protected by a user mandate and spending limits.
Which payment methods does agent-payments support?
Two rails: Stripe (credit cards and ACH transfers) or Coinbase (USDC and USDT on Base). The choice depends on what the user configured in their account.