# Build Stripe checkouts with Claude Code

> Add the Swipefast MCP server to Claude Code with one command. Ask about sales from your terminal, or have Claude build a checkout and its sales page as a draft.

Canonical: https://swipefast.io/claude-code

Your checkout, one command away in Claude Code. Add Swipefast to Claude Code once. Ask about your numbers without leaving the terminal, or have Claude build a checkout and design its sales page while you work.

MCP server: https://swipefast.io/api/mcp

## Steps

1. **Add the server** Open Terminal (your normal prompt, not inside Claude Code) and paste the first command. It adds Swipefast for every project.
2. **Sign in** Start Claude Code with claude, type /mcp, pick swipefast and choose to sign in. Swipefast opens in your browser: sign in and press Allow.
3. **Or use your key** Rather paste a key? Use the second command instead. In Swipefast, Settings, Your connection key has a Copy Claude Code command button with your key already in it.
4. **Ask, or build** Ask in plain words. To build a checkout, type /mcp__swipefast__setup_checkout and say what you sell. Claude asks for the price and delivery link and creates a draft for you to publish.

Sign in with your Swipefast account

```
claude mcp add --scope user --transport http swipefast https://swipefast.io/api/mcp
```

Or with your API key

```
claude mcp add --scope user --transport http swipefast https://swipefast.io/api/mcp \
  --header "Authorization: Bearer sf_live_your_key_here"
```

## Run it from a script

- **claude -p** claude -p runs Claude Code without the chat and loads the servers you added, so a script or a scheduled job can ask Swipefast too. Leave out --bare, which skips them.
- **Allow only what it needs** In -p mode, a tool that needs your OK is refused unless you name it. List the Swipefast tools with --allowedTools, as in the command below.
- **Claude or Claude Code?** For Claude on the web, desktop, phone or Cowork, add Swipefast as a connector instead. [Swipefast for Claude](https://swipefast.io/claude)

A Monday sales summary from a script

```
claude -p "Summarise last week's Swipefast sales, checkout by checkout" \
  --allowedTools "mcp__swipefast__revenue_summary,mcp__swipefast__offer_stats"
```

## What to ask

- “List my Swipefast checkouts and their conversion rates.”
- “Build a checkout for my course at $197, with a $47 upsell.”
- “Design a sales page for The Offer Maker in my brand colours.”
- “Which coupons were used this month, and how much did they cost me?”

## Questions

### Should I sign in or use my key?

Signing in is simpler and you can disconnect it from Settings on its own. A key is handy for scripts and servers; it's the same key the REST API uses.

### Can it change a checkout people are buying from?

It can. Changes to a draft happen straight away. On a live checkout, words and design go live straight away too, and you can roll any of them back. A change that touches money, like a new price or a new upsell, waits on the Approvals page until you approve it, and you get an email.

### Can it refund orders or move money?

No. The tools read your numbers, make coupons and build or change checkouts. Refunds and payouts stay with you in the dashboard, and it can only ask to publish: a checkout goes live when you confirm it in Swipefast.

### Does connecting an AI cost extra?

No. The MCP server is included in every Swipefast plan. Your AI app's own plan is separate.

### How do I disconnect it?

Apps you signed in to are listed in Settings, under Connected apps, each with its own Disconnect button. If you used your API key, rotate it in Settings and every connection using the old one stops at once.

## Docs

- [code.claude.com/docs/en/mcp](https://code.claude.com/docs/en/mcp) (checked 2026-10-20)
- [code.claude.com/docs/en/skills](https://code.claude.com/docs/en/skills) (checked 2026-10-20)

## Related

- [Swipefast for AI agents: checkout data over MCP](https://swipefast.io/agents)
- [MCP server docs](https://swipefast.io/developers/mcp)
