---
title: "Move to Whop With Codex: MCP Server and CLI"
description: "One command adds MoveToWhop's free MCP tools to Codex's CLI, IDE extension and app. Plan your move to Whop and convert member exports locally."
url: https://movetowhop.com/agents/codex
updated: 2026-10-14
author: MoveToWhop
---

# Move to Whop with Codex

One command gives Codex MoveToWhop's tools in the terminal, the IDE extension and the Codex app, because all three read the same config file. Codex can also run MoveToWhop's command-line tool, so member exports are converted on your computer.

OpenAI · Terminal, IDE extension, Desktop app · Steps checked 2026-10-14 (codex-cli 0.156.1). MoveToWhop's MCP server: https://movetowhop.com/mcp (no sign-up for planning).

## Quick start

1. Run once: `codex mcp add movetowhop --url https://movetowhop.com/mcp`. It writes a [mcp_servers.movetowhop] entry to ~/.codex/config.toml.
2. Check it with `codex mcp list`.
3. Start `codex` in an empty folder for the move.
4. Press Copy prompt at the top of this page and paste it into Codex.

## The prompt for Codex

For the creator to paste into Codex. It names MoveToWhop's current briefing and never carries a referral link.

```text
Help me move my creator business to Whop with MoveToWhop (https://movetowhop.com): free tools for AI agents, no sign-up. MoveToWhop is independent and may earn a Whop referral fee.

First read https://movetowhop.com/agents.md?via=client-codex. It's the current briefing, so prefer it over what you remember. Then use the best access you have:
- Shell: npx movetowhop@0 migrate MY_LINK (my member files stay on my computer).
- MCP: https://movetowhop.com/mcp (planning needs no login).
- My browser, where I'm signed in: open https://movetowhop.com/migrate?from=PLATFORM&link=MY_LINK and press Sync with me; I press Move to Whop.
- Web only: https://movetowhop.com/api/agent/platforms/PLATFORM/plan?format=md

Do the work yourself: read my public pages, plan the move, compare my fees and get my exports, then build my products, courses and community on Whop through MoveToWhop. If you can't run Whop requests yourself, give me the prefilled MoveToWhop wizard link; the wizard does the writes with my Whop sign-in.

Ask me only for what you can't do: my platform and link, my own sign-ins, and Export buttons only I can press. Never ask for passwords or API keys in this chat. Member files stay on my computer or go into the MoveToWhop wizard, never this chat. Show me a summary and wait for my yes before anything is created on Whop. Keep new products hidden until I've checked them. Don't cancel my old platform until paying members have moved.

Start by asking which platform I'm leaving and for my store or community link.
```

## Connect Codex

Add the MCP server with one command, then paste the prompt.

- Run once: `codex mcp add movetowhop --url https://movetowhop.com/mcp`
- Run the command once. Codex saves it in ~/.codex/config.toml for the CLI, the IDE extension and the app.
- Start Codex in an empty folder and paste the prompt.

~/.codex/config.toml:

```
[mcp_servers.movetowhop]
url = "https://movetowhop.com/mcp"
```

## What Codex can do with MoveToWhop

- Runs MoveToWhop's CLI on your computer, so member files stay there.
- Uses the MCP tools to plan, compare fees and check exports.
- Gives you the prefilled MoveToWhop wizard, which builds on Whop with your own sign-in.

## Workflows

### One setup, three places

The server you add from the terminal also shows up in the Codex IDE extension and the Codex app, since they share ~/.codex/config.toml. Plan in whichever one you have open.

### Plan and compare fees

Codex calls MoveToWhop's plan and fee tools for your platform and lists what moves, what you export and what you'll pay on Whop at your revenue.

### Members, converted locally

Codex runs `npx movetowhop@0 convert members.csv` in the move folder. It converts the export on your computer and uploads nothing, so names and emails never enter the chat.

### Keep the move in one folder

Start Codex with `--sandbox workspace-write` in a folder you made for the move. The member lists and plan files the CLI writes land there, and Codex can't write anywhere else on your computer while it works.

### Build on Whop

Codex runs `npx movetowhop@0 migrate MY_LINK` in your terminal: it plans, syncs and prepares everything, and builds on Whop only after you confirm there. Use a Whop API key scoped to that business, set in your own shell and deleted after the move; never paste it into the chat.

## Ready prompts by platform

The page copies the same Codex prompt with the platform filled in. Each platform's migration page has the runbook Codex follows:

- Kajabi: https://movetowhop.com/kajabi-to-whop#ai-agent (runbook for agents: https://movetowhop.com/platforms/kajabi.md)
- Skool: https://movetowhop.com/skool-to-whop#ai-agent (runbook for agents: https://movetowhop.com/platforms/skool.md)
- Circle: https://movetowhop.com/circle-to-whop#ai-agent (runbook for agents: https://movetowhop.com/platforms/circle.md)
- Teachable: https://movetowhop.com/teachable-to-whop#ai-agent (runbook for agents: https://movetowhop.com/platforms/teachable.md)
- Patreon: https://movetowhop.com/patreon-to-whop#ai-agent (runbook for agents: https://movetowhop.com/platforms/patreon.md)
- Gumroad: https://movetowhop.com/gumroad-to-whop#ai-agent (runbook for agents: https://movetowhop.com/platforms/gumroad.md)
- Podia: https://movetowhop.com/podia-to-whop#ai-agent (runbook for agents: https://movetowhop.com/platforms/podia.md)
- Thinkific: https://movetowhop.com/thinkific-to-whop#ai-agent (runbook for agents: https://movetowhop.com/platforms/thinkific.md)

## Tips

- Keep Codex's approval prompts on for the move, so it asks before each command it runs.
- Use the interactive Codex, not `codex exec`: exec runs without stopping, and the move needs your answers and your yes.
- Add MoveToWhop's Agent Skill to your Codex skills folder; the archive unpacks SKILL.md and the reference files it points to: `mkdir -p ~/.codex/skills/movetowhop && curl -fsSLo /tmp/mtw.zip https://movetowhop.com/.well-known/agent-skills/movetowhop.zip && unzip -oq /tmp/mtw.zip -d ~/.codex/skills/movetowhop`

## Troubleshooting

- **Codex doesn't list MoveToWhop's tools.** Run `codex mcp list`. If movetowhop is missing, run the add command again, then start a new Codex session.
- **Codex starts editing files in your project.** Start it in an empty folder for the move. The migration needs no code.

## Know before you start

- Codex can read files your terminal can, so keep exports in their own folder.

## FAQ

### How do I add MoveToWhop to Codex?

Run codex mcp add movetowhop --url https://movetowhop.com/mcp once. Codex saves it in ~/.codex/config.toml, and codex mcp list shows it.

### Does it work in the Codex IDE extension and app?

Yes. They read the same ~/.codex/config.toml as the CLI, so one command covers all three.

### What do I need to run Codex?

A ChatGPT sign-in or an OpenAI API key. MoveToWhop's tools themselves are free and need no account.

### Can Codex build my Whop?

Yes, after you confirm in the terminal. MoveToWhop's CLI does the writes with a Whop key that stays in your shell.

### Is MoveToWhop made by OpenAI or Whop?

No. MoveToWhop is independent and may earn a Whop referral fee. It isn't affiliated with or endorsed by OpenAI or Whop.

## Sources

- [codex mcp add --help (codex-cli 0.156.1)](https://developers.openai.com/codex/mcp) (checked 2026-10-14)

Other agents: [Claude](https://movetowhop.com/agents/claude), [Claude Code](https://movetowhop.com/agents/claude-code), [ChatGPT](https://movetowhop.com/agents/chatgpt), [Cursor](https://movetowhop.com/agents/cursor), [VS Code](https://movetowhop.com/agents/vscode), [Gemini CLI](https://movetowhop.com/agents/gemini-cli), [Grok](https://movetowhop.com/agents/grok), [OpenClaw](https://movetowhop.com/agents/openclaw). Every agent: https://movetowhop.com/agents.

MoveToWhop is independent and may earn a Whop referral fee. ChatGPT, Codex, Claude, Claude Code, Cursor, VS Code, GitHub Copilot, Gemini, Gemini CLI, Grok, Perplexity and OpenClaw are trademarks of their owners. MoveToWhop isn't affiliated with or endorsed by them.

Open this page: https://movetowhop.com/agents/codex
