# mcp-stripe-acp

Wires Stripe into your agent: ACP checkout, payment links, invoices, subscriptions and the product catalog. Useful when the agent has to build a cart or finish a purchase.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 274
- Author: codespar
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/codespar/mcp-dev-latam/tree/HEAD/packages/payments/stripe-acp
- Updated: 2026-09-27
- HTML: https://affpapa.org/en/nevibecode/mcp/mcp-stripe-acp

## What it does

The server exposes 24 tools to the agent. Five of them belong to the ACP protocol: `create_checkout`, `get_checkout`, `update_checkout`, `complete_checkout`, `cancel_checkout`. The rest are plain Stripe operations — customers, products, prices, invoices, subscriptions, coupons, refunds, disputes and account balance.

A purchase runs as a sequence. The agent opens a session with items and buyer details, the seller replies with pricing and shipping choices, then the agent picks delivery and fixes the address. At the ready_for_payment stage it hands over a payment token and the order goes through.

You need a Stripe secret key in `STRIPE_API_KEY`; the README suggests a test key for development. ACP calls also read `STRIPE_ACP_BASE`, the seller endpoint URL — leave it out and only the regular Stripe tools work. The package runs through `npx` and is registered in `claude_desktop_config.json`, `.cursor/mcp.json` or `.vscode/mcp.json`.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `STRIPE_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.
- Works with: Stripe

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add mcp-stripe-acp -e STRIPE_API_KEY=<STRIPE_API_KEY> -- npx -y @codespar/mcp-stripe-acp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add stripe-acp --env STRIPE_API_KEY=<STRIPE_API_KEY> -- npx -y @codespar/mcp-stripe-acp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "stripe-acp": {
            "command": "npx",
            "args": [
                "-y",
                "@codespar/mcp-stripe-acp"
            ],
            "env": {
                "STRIPE_API_KEY": "<STRIPE_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "stripe-acp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@codespar/mcp-stripe-acp"
            ],
            "env": {
                "STRIPE_API_KEY": "<STRIPE_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e STRIPE_API_KEY=<STRIPE_API_KEY> stripe-acp npx -y @codespar/mcp-stripe-acp
```
Replace <…> with your own values

## When to use it
- open an ACP checkout session with items and buyer info
- walk a checkout to payment with shipping picked and a token submitted
- draft an invoice for a customer and finalize it
- start a subscription on a recurring price or cancel one
- review disputes and refunds on past payments

## Example prompts
- Create an ACP checkout for the two items in the cart and list the shipping options
- Update the checkout with standard shipping and the address on file for this customer
- Draft an invoice for this customer and add a line item for the consultation

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [CCXT](https://affpapa.org/en/nevibecode/mcp/ccxt.md) — MCP server · ★ 44583
- [Finance Toolkit](https://affpapa.org/en/nevibecode/mcp/finance-toolkit.md) — MCP server · ★ 5458
- [EdgarTools](https://affpapa.org/en/nevibecode/mcp/edgartools.md) — MCP server · ★ 2814
- [LetsFG — Flights & Hotels](https://affpapa.org/en/nevibecode/mcp/letsfg-flights-hotels.md) — MCP server · ★ 2188
- [AutoTS](https://affpapa.org/en/nevibecode/mcp/autots.md) — MCP server · ★ 1434

From the same set: [codespar/mcp-dev-latam](https://affpapa.org/en/nevibecode/by/codespar/mcp-dev-latam.md) — 124 cards

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