# 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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 1737 installs
- Author: delegare
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/delegare/agent-payments
- Updated: 2026-05-27
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/agent-payments

## What it 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.

## Requirements
- Remote server: `https://agent-payments--delegare.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http agent-payments https://agent-payments--delegare.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add agent-payments --url https://agent-payments--delegare.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "agent-payments": {
            "url": "https://agent-payments--delegare.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "agent-payments": {
            "type": "http",
            "url": "https://agent-payments--delegare.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http agent-payments https://agent-payments--delegare.run.tools
```

## When to use it
- 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
- 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

## Similar
- [web-payments](https://affpapa.org/en/nevibecode/skills/web-payments.md) — skill · 302 installs
- [🚀 P-Link - Collect/Send/Receive payments](https://affpapa.org/en/nevibecode/mcp/p-link-collectsendreceive-payments.md) — MCP server · 828 installs
- [payments](https://affpapa.org/en/nevibecode/skills/payments.md) — skill · 5 installs
- [Stripe Payments](https://affpapa.org/en/nevibecode/skills/stripe-payments.md) — skill · 5100 installs
- [stripe-payments](https://affpapa.org/en/nevibecode/skills/jezweb-stripe-payments.md) — skill · 1100 installs
- [payments-wasp-drone](https://affpapa.org/en/nevibecode/agents/payments-wasp-drone.md) — subagent · ★ 96 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
