Get your iOS app approved with Codex
- Fixes what would get your app rejected inside Codex’s own sandbox, so each change stays on its branch.
- Added once with
codex mcp add: the Codex CLI, its IDE extension and the ChatGPT desktop app share the same settings. - Asks you mid-fix when the code can’t answer something, and asks before anything reaches Apple.
codex mcp add appscend --url https://api.appscend.ai/mcpAppScend checks your iOS app the way App Review does, ranks what will get it rejected, and your own coding agent fixes it on a branch you review.
Last updated November 2026 · All agents
What should I do today on Plantly?→ get_todayThree things, in AppScend’s order:○Answer your Mac’s questionFirst: your MacBook Pro is waiting for this answer to carry on.○Fix the missing Restore Purchases buttonBlocks the first review: Apple rejects for this about 60% of the time (published App Review data).○Merge the placeholder text fixAfter what stands before App Review: the fix is done, and it isn’t in your app until it’s merged.The question is yours to answer on AppScend’s website. Shall I start the Restore Purchases fix?
An example in your terminal, with a sample app, Plantly.
How do I add AppScend to Codex?
Run codex mcp add appscend with AppScend’s address: it opens your browser to sign in right away, and codex mcp login appscend signs in again. The Codex CLI, its IDE extension and the ChatGPT desktop app share those settings.
In Terminal. It signs in right away: Your browser opens AppScend: choose what it may do and press Allow.
codex mcp add appscend --url https://api.appscend.ai/mcpIf your browser didn’t open, or to sign in again:
codex mcp login appscendOr in the ChatGPT desktop app, where Codex now lives: Settings → MCP servers → Add server, with the name appscend, Streamable HTTP and the address https://api.appscend.ai/mcp. Save, press Restart, then Authenticate.
Without a browser
With a key in the APPSCEND_API_KEY environment variable, in ~/.codex/config.toml:
[mcp_servers.appscend] url = "https://api.appscend.ai/mcp" bearer_token_env_var = "APPSCEND_API_KEY"
How your Mac uses Codex
- For a fix, AppScend starts
codexon your Mac in a git worktree on a new branch (appscend/fix-…): your working folder and branch are never touched. - What it does for AppScend: fixes inside its own sandbox, checks and analyses that only read, and questions to you during a fix. Checks run in a copy of your project: its sandbox stops writes, not reads of secret files. No forms filled in Chrome.
- It runs as Codex is set up on that Mac, on your own plan or key. Pick it in Settings → Preferences, or with
APPSCEND_AGENT=codexon the Mac. - AppScend then scans the fix’s branch, and nothing reaches your branch until you press Merge.
These steps follow Codex’s own docs.
What can you ask Codex to do?
Ask Codex in plain words, from the CLI, its IDE extension or the ChatGPT desktop app: it calls AppScend’s tools and works in your repository. The examples use a sample app, Plantly, with replies shortened.
Set up the subscriptions my paywall sells.→ analyze scope "chat", tool "store", message "Set up my subscriptions"Your paywall sells two plans App Store Connect doesn’t have yet:plantly.pro.monthly: 1 month at $4.99, with a 1-week free trialplantly.pro.yearly: 1 year at $29.99Create them in App Store Connect from your Mac? Nothing changes there until you confirm. Undo deletes them until they first go to App Review, and their product IDs stay taken.
Fix every blocker in this repository, then scan again.→ get_finding format "all"Two blockers are in the code. Working on a new branch, in your code’s own style:⎇ fix/review-blockers 3 files +14 −3→ scan_appBoth are gone on the branch: the trial’s price shows under its button, and Restore Purchases is back on the paywall.
Which way should I connect Codex?
Sign in through the browser for your own work. For CI, keep a key in an environment variable and name it in config.toml, and npx appscend agents adds Codex with the other agents on your Mac.
| Way | Signs in | What you get | For |
|---|---|---|---|
| One command in Terminal | Signs inYour browser, once: you choose what it may do | What you getAppScend’s tools, within what you allowed and your plan | ForYou, working in Codex |
| A key from Settings → Agents | Signs inThe key, sent as an Authorization header | What you getWhat you allowed the key when you made it | ForCI, a server, or a run where no browser opens |
npx appscend agents on your Mac | Signs inYour browser, once | What you getAppScend added to Codex and the other coding agents on your Mac, each change shown and asked first | ForA Mac with more than one agent |
| The setup prompt | Signs inYour browser, once | What you getCodex adds AppScend to itself, checks what it may do and offers a block for AGENTS.md | ForLetting Codex set itself up |
What can Codex do in AppScend, and what can’t it?
Codex fixes, checks and analyses on your Mac inside its own sandbox, and can ask you questions during a fix. The one thing it doesn’t do in AppScend is fill forms in your Chrome.
It can
- On your Mac, when AppScend starts it: fixes inside its own sandbox, checks and analyses that only read, and questions to you during a fix.
- Through AppScend’s MCP server: it reads your apps, findings, Today and test runs and does the work on every plan, and with an Approval Pass it also publishes, each publish after asking you.
It can’t, or works differently
- Checks run in a copy of your project: its sandbox stops writes, not reads of secret files. No forms filled in Chrome.
- Each tool call gets 60 seconds (
tool_timeout_secin~/.codex/config.toml): AppScend answers at once and work goes on as a job on your Mac, followed withget_job(wait_secondsup to 25). - It keeps the server in
~/.codex/config.toml, under[mcp_servers.appscend], which the Codex CLI, the IDE extension and the ChatGPT desktop app share.
Is Codex the same as ChatGPT?
Not quite. Codex is OpenAI’s coding agent, in your terminal, your editor and the ChatGPT desktop app, where you pick Codex or ChatGPT for each chat. Codex reads AppScend from config.toml; ChatGPT on the web takes it as a plugin.
| Product | What it is | With AppScend | Its docs |
|---|---|---|---|
| Codex | What it isOpenAI’s coding agent: the Codex CLI, its IDE extension and Codex in the ChatGPT desktop app | With AppScendAdds AppScend with codex mcp add, and your Mac starts it to fix and check findings | Its docslearn.chatgpt.com |
| ChatGPT | What it isOpenAI’s assistant, on the web and in the ChatGPT desktop app | With AppScendTakes AppScend as a custom MCP server in its plugins on the web, where your plan allows one | Its docsdevelopers.openai.com |
Can Codex work while I sleep?
Yes, with an Approval Pass: Autopilot starts Codex on your Mac at night in its workspace-write sandbox, so a fix changes only its own worktree, and each fix waits on its branch for your merge.
- When
- From 1:00 to 6:00 in your time zone, unless you pick other hours.
- How much
- Up to 10 App Review fixes a night for each app unless you pick another limit; each area has its own limit, and no budget is shared across apps.
- Prepare
- Your agent fixes App Review problems on branches at night, blockers first, then warnings; you check each one and merge it.
- Auto
- The same, and a test run whose build fails is fixed right away. Nothing is merged or submitted by itself.
- Never by itself
- Merge, submit for review, release.
- Plans
- an Approval Pass.
Last night
What Autopilot did on the night of Friday, Oct 16.
Waiting for your OK
Accept or turn it down. Nothing here is live until you do.
Fix on a branch: Accounts can be created but not deleted in the appDone
Waiting for the next night
Or start it yourself today.
Fix on a branch: Placeholder text in the app
An example of the card Autopilot leaves on your app’s Overview.
What does AppScend check before App Review?
AppScend checks what App Review looks at: your code and in-app text against Apple’s guidelines, your App Store Connect setup, and the app itself, used in the Simulator the way a reviewer uses it.
- Approval: the scan of your code and in-app text against App Review’s guidelines, findings ranked by how likely Apple is to reject, each fixed on its own branch by your own coding agent.
- Store setup: App Store Connect checked against your code: subscriptions, purchases, screenshots, App Privacy and the listing, drafted from the code; nothing reaches App Store Connect before you confirm, with Undo.
- Test run: your app used in the Simulator the way a reviewer does: the demo account, the paywall, every screen, iPad, permissions denied. It never spends real money.
- App Review: submitting, review notes, answers to a rejection, and the release.
Questions about Codex and AppScend
- Codex doesn’t see AppScend’s tools: what should I check?
- Open
~/.codex/config.toml: it should have an[mcp_servers.appscend]table with AppScend’s address. If the sign-in lapsed, runcodex mcp login appscendagain. The Codex CLI, its IDE extension and the ChatGPT desktop app share that file; ChatGPT on the web doesn’t, so add AppScend there on its own. - Do I need an API key?
- No:
codex mcp login appscendsigns Codex in through your browser. For CI, put a key from Settings → Agents inAPPSCEND_API_KEYand name that variable withbearer_token_env_varunder[mcp_servers.appscend]. Codex itself uses the login you saved in it. - Why don’t long jobs time out in Codex?
- Codex gives each tool call 60 seconds by default (
tool_timeout_sec). AppScend answers at once and the work goes on as a job on your Mac, which Codex follows withget_job, waiting up to 25 seconds a call. - Does Codex’s sandbox apply to AppScend’s fixes?
- Yes. When your Mac runs Codex for a fix, it works in the workspace-write sandbox inside the fix’s own worktree. A check reads a copy of your project instead of your folder, since the sandbox stops writes but not reads of secret files, and none of your own MCP servers start.
- Can I add AppScend from the ChatGPT desktop app?
- Yes, for Codex in it: open Settings → MCP servers → Add server, name it appscend, choose Streamable HTTP and give AppScend’s address. Save, press Restart, then Authenticate. It writes the same
config.tomlthe Codex CLI reads. - Can Codex ask me something during a fix?
- Yes. During a fix Codex gets AppScend’s question tool: when the code can’t settle something, the question shows on AppScend’s website, you answer it there, and the fix goes on.
- Does my code leave my Mac?
- Some of it. A scan sends facts (SDKs, settings, files and lines, the text people see) and your source files with comments and keys removed; AppScend’s checking model reads them and drops them. When Codex fixes a finding on your Mac, AppScend gets its verdict, its steps and the files it changed with their line counts, never the code.
npx appscend factsprints what a scan sends. Your code is never stored, except a few lines: the cleaned code lines where a check was proven right or wrong on an app with an Approval Pass (you can turn that off), snippets you choose to send to correct a check, the one line each problem your coding agent finds quotes as its evidence, and the compiler’s errors when a test run’s build fails. - Can Codex submit my app?
- Yes, with an Approval Pass, and only after asking you.
submit_for_reviewfirst answers with what it would send and a confirm token; it sends only after your yes, or when you approve it on AppScend’s website. AppScend only submits a clean build: an open blocker holds it. Each submission goes with an Approval Pass. - Does it ever buy anything?
- No, never with real money. The test run opens Apple’s purchase sheet, reads what it needs and cancels; when a paywall is the only way in, it buys in a free StoreKit test store on your Mac, which never reaches Apple. It never taps a button that pays or orders outside the App Store, or one that books where a price shows, and any other tap that acts outside your app waits for your yes. Buying through the App Store itself, Restore after a reinstall and a subscription ending stay your own check on your iPhone, in TestFlight. An Approval Pass is something you buy yourself, at checkout.
- Is it free?
- Scanning and fixing on your Mac are free on every plan. Free: 1 agent that reads and does the work; publishing comes with the app’s Approval Pass. Approval Pass: up to 10 agents that read, do the work and publish (each publish asks first). AppScend never bills for Codex or its model: it runs on your own plan or key, and so do the fixes your Mac runs with it.
Also works with
- ChatGPTAsk what to fix and follow App Review from a chat, with a short list of tools made for ChatGPT.
- Claude CodeLet it fix what AppScend finds on a branch on your Mac, and use AppScend’s tools from your terminal.
- CursorLet Cursor’s agent fix what AppScend finds on your Mac, and use AppScend’s tools in Cursor’s chat, added with one click.
Add AppScend to Codex, or start from your Mac.