Codex + Swipefast

Build Stripe checkouts with Codex

  • Add Swipefast once with your Swipefast key
  • Build checkouts, order bumps and upsells by asking
  • Takes payment through your own Stripe or PayPal
  • Money changes wait for your approval, and everything rolls back

Give Codex your checkout, not your dashboard login. Add Swipefast to Codex once. It can read your sales, build a checkout as a draft and design the sales page, using a key you can switch off any time.

How to connect Codex to Swipefast

Connect once, then ask. Codex uses your Swipefast connection key, builds what you ask for as a draft, and anything on a live checkout that touches money waits for your approval.

1Connectabout 2 minutes

Add the Swipefast server

In Swipefast, open Settings and copy Your connection key. Add export SWIPEFAST_API_KEY=your key to your shell profile (~/.zshrc or ~/.bashrc), then open a new terminal.

~/.codex/config.toml
[mcp_servers.swipefast]
url = "https://swipefast.io/api/mcp"
bearer_token_env_var = "SWIPEFAST_API_KEY"

Your key is in Swipefast under Settings, Your connection key. Rotate it there and every connection using it stops at once.

2Asklive in Swipefast

Ask Codex to build it

Say what you sell and the price. It builds the checkout as a draft and sends you the link to check and publish.

Build a checkout for my $79 workshop with a $29 recording as an order bump.

Done. Your checkout and order bump are ready as a draft, so nothing is live yet. Open the link to check it, then press Publish.

via Swipefast · draft
Also try
How many sales did I make yesterday, and from where?Write a sales page for it and put it above the checkout.List coupons that expire this week.
  1. 1Copy your key

    In Swipefast, open Settings and copy Your connection key.

  2. 2Keep the key in your shell

    Add export SWIPEFAST_API_KEY=your key to your shell profile (~/.zshrc or ~/.bashrc), then open a new terminal.

  3. 3Add the server

    Add the config to ~/.codex/config.toml. Codex reads the key from SWIPEFAST_API_KEY, so it never sits in the file.

  4. 4Ask

    Start Codex and ask about your sales, or have it build a checkout. It's a draft until you publish it in Swipefast.

Codex or ChatGPT, and running it from a script

codex exec

codex exec runs Codex from a script and loads ~/.codex/config.toml, so Swipefast's tools come with it. Try the command by hand before you schedule it.

Your key stays out of the file

Codex reads it from SWIPEFAST_API_KEY in your shell, so a scheduled job needs that variable set too.

ChatGPT

For ChatGPT on the web, add Swipefast as a custom MCP server instead.

Swipefast for ChatGPT
Ask from a script
codex exec "Summarise last week's Swipefast sales, checkout by checkout"

What can Codex do with Swipefast?

It can build and run your checkout from the chat: set up offers, read how they’re selling and suggest what to change, with you approving anything that touches money.

Just ask in plain words

Say what you sell and the price. Codex sets up the checkout, an order bump and an upsell as a draft. No forms, no menus.

Your numbers, one question away

Revenue, orders, customers, traffic sources and how each checkout converts, answered in a sentence.

Order bumps and upsells

Add the extra at checkout and the offer after it, change their prices or switch off one nobody takes.

Coupons and sales pages

Make a launch coupon that ends on Friday, or design the sales page that sits above the checkout.

Money changes wait for you

A change that touches money lands on your Approvals page and in your inbox. Words and design go live straight away and are listed there too. Requests expire after 7 days, and anything can be rolled back.

Stays in your account

Every tool is tied to the account that connected it. It never refunds or pays out, and it can only ask to publish: you confirm it in Swipefast. You disconnect it in Settings.

What is the Swipefast MCP?

MCP is the standard way AI apps plug into the tools you use. Swipefast’s MCP server gives Codex your checkouts and numbers as tools, so it can answer and build without you opening a dashboard.

How Codex uses it

  • You connect Swipefast once, as above
  • Codex finds the tools on its own
  • It uses them whenever a question needs them
  • New checkouts are drafts until you publish
  • Money edits become approval requests

Every tool and how sign-in works: the MCP docs.

swipefast · 65 tools
https://swipefast.io/api/mcp

# reads (37)
  list_products
  get_product
  checkout_qr_code
  list_orders
  revenue_summary
  revenue_by_month
  top_customers
  list_accounts
  account_summary
  traffic_sources
  subscription_health
  revenue_forecast
  compare_checkouts
  affiliate_dashboard_link
  list_coupons
  coupon_stats
  get_sales_page_guide
  get_brand_guide
  get_link_page
  get_sales_page
  roast_sales_page
  check_post
  approval_status
  list_courses
  list_coaching_clients
  list_findings
  list_rules
  list_email_options
  list_email_rules
  offer_stats
  buyer_journey
  top_pages
  funnel_stats
  tracking_status
  retention_offer_stats
  affiliate_payouts
  jv_statement

# builds (28, money edits need your OK)
  create_coupon
  set_brand_guide
  set_link_page
  setup_checkout
  add_order_bump
  add_upsell
  set_sales_page
  edit_sales_page
  save_relevance_check
  update_checkout
  update_order_bump
  update_upsell
  update_price_option
  remove_order_bump
  remove_upsell
  set_offer_chain
  publish_checkout
  add_lesson
  add_coaching_clients
  resolve_finding
  create_rule
  add_email_rule
  remove_email_rule
  install_tracking
  set_retention_offers
  change_subscription_plan
  create_payout_run
  set_commission_tiers

What can I ask Codex?

Anything you’d ask someone who runs your shop. Name the offer, the price and what you want to know.

Traffic
Find what brings buyers

How many sales did I make yesterday, and from where?

Build
Build a checkout

Build a checkout for my $79 workshop with a $29 recording as an order bump.

Sales page
Design the page above it

Write a sales page for it and put it above the checkout.

Promotion
Run a promotion

List coupons that expire this week.

You stay in charge

Codex drafts. You approve.

Changes to a draft happen straight away. On a live checkout, words and design go live straight away and can be rolled back. A change that touches money waits for your OK on the Approvals page, and you get an email about it. Requests expire after 7 days.

37 tools only read

Revenue, orders, customers, traffic, products, coupons and how each checkout is doing.

28 tools build

Draft checkouts, order bumps, upsells, sales pages and coupons. Money changes on a live checkout wait for you.

Never moves money

No refunds and no payouts. It can ask to publish, and nothing goes live until you confirm it in Swipefast.

Your account only

Every tool is tied to the account that connected it. No prompt can point one at somebody else's.

Questions

The short answers.

My Codex version doesn't connect. What now?

Remote MCP servers need a recent Codex. Update it, and check Codex's own MCP docs, since the config format has changed between versions.

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.

Your checkout, run from the chat you already have open.

The AI connection is on every plan, Starter included. Try it free for 7 days, and your first payment is 30 days risk-free.