# Build Stripe checkouts with Gemini CLI

> Connect Swipefast to Gemini CLI as an MCP server. Ask about your sales from the terminal, or have Gemini build a checkout as a draft for you to publish.

Canonical: https://swipefast.io/gemini

Ask Gemini what sold. Have it build what's next. Add Swipefast to the Gemini CLI once. It reads your sales, builds checkouts as drafts and makes coupons, and anything that touches money on a live checkout waits for your OK.

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

## Steps

1. **Copy your key** In Swipefast, open Settings and copy Your connection key.
2. **Add the server** Open ~/.gemini/settings.json (create it if it isn't there), add the config and replace sf_live_your_key_here with your key.
3. **Check it's on** Start gemini and type /mcp. Swipefast should be listed with its tools.
4. **Ask** Ask about your numbers, or have Gemini build a checkout. It's a draft until you publish it in Swipefast.

~/.gemini/settings.json

```
{
  "mcpServers": {
    "swipefast": {
      "httpUrl": "https://swipefast.io/api/mcp",
      "headers": {
        "Authorization": "Bearer sf_live_your_key_here"
      }
    }
  }
}
```

Antigravity CLI: ~/.gemini/config/mcp_config.json

```
{
  "mcpServers": {
    "swipefast": {
      "serverUrl": "https://swipefast.io/api/mcp",
      "headers": {
        "Authorization": "Bearer sf_live_your_key_here"
      }
    }
  }
}
```

## Gemini CLI, Antigravity CLI or the Gemini app?

- **Gemini CLI** Add the first config to ~/.gemini/settings.json, then type /mcp to check Swipefast is listed.
- **Antigravity CLI** Google replaced Gemini CLI with Antigravity CLI on 18 June 2026 for free accounts and Google AI Pro and Ultra. It reads ~/.gemini/config/mcp_config.json and calls the address serverUrl. Leave out the headers and it signs in with your Swipefast account.
- **The Gemini app** Settings, Connected Apps, Add a custom app, then paste the address and sign in. For now Google allows it for personal accounts in the US, 18 and over.

## What to ask

- “Which of my checkouts converts best this month?”
- “Build a checkout for my $49 masterclass with a $19 workbook as an order bump.”
- “How much came from my newsletter last week?”
- “Make a 15% coupon for my email list, 100 uses.”

## Questions

### I was moved to Antigravity CLI. What changes?

Google replaced Gemini CLI with Antigravity CLI on 18 June 2026 for free accounts and Google AI Pro and Ultra. Antigravity reads ~/.gemini/config/mcp_config.json and calls the address serverUrl, so use the second config. Leave the headers out and it signs in with your Swipefast account instead.

### Does it work in the Gemini app too?

Google lets the Gemini web app add a custom app by its MCP address: Settings, Connected Apps, Add a custom app, then paste the address and sign in to Swipefast. For now Google allows it for personal accounts in the US, 18 and over.

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

- [geminicli.com/docs/tools/mcp-server/](https://geminicli.com/docs/tools/mcp-server/) (checked 2026-10-20)
- [antigravity.google/docs/mcp/](https://antigravity.google/docs/mcp/) (checked 2026-10-20)
- [developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli](https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli) (checked 2026-10-20)
- [support.google.com/gemini/answer/17209137?hl=en](https://support.google.com/gemini/answer/17209137?hl=en) (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)
