Skip to content
AppScend

Get your iOS app approved with Factory

  • Added with one droid mcp add command, saved in ~/.factory/mcp.json so every project has it.
  • Signs in once from /mcp, and that sign-in lives in your system keyring (or a fallback file), shared by every project.
  • Reads findings, Today and test runs from AppScend, then changes the code in the repository you’re in.
Add AppScend to Factory
droid mcp add appscend https://api.appscend.ai/mcp --type http

AppScend 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

Apple rejected 1.1 because the app crashed on iPad. Here’s their message: reproduce it.→ app_review report_rejection→ app_review reproduce→ get_job wait_seconds: 25The run followed Apple’s steps on an iPad in the Simulator and hit the same thing:Blocker2.1  The app doesn’t work on iPadiPad · opening the appIt closes as it opens on iPad, while on iPhone it opens fine.

An example in your terminal, with a sample app, Plantly.

How do I add AppScend to Factory droid?

Run droid mcp add with AppScend’s address and --type http in Terminal. Then run droid mcp auth, or open Droid, run /mcp, pick appscend and choose Authenticate: Droid signs in through your browser and keeps that sign-in in your keyring.

  1. In Terminal:

    droid mcp add appscend https://api.appscend.ai/mcp --type http
  2. Then sign in: droid mcp auth in Terminal, or in droid run /mcp and press Authenticate next to appscend. Your browser opens AppScend: choose what it may do and press Allow.

Without a browser

With a key:

droid mcp add appscend https://api.appscend.ai/mcp --type http --header "Authorization: Bearer <your key from Settings → Agents>" --no-oauth

How your Mac uses Factory droid

  • For a fix, AppScend starts droid on 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 that only edit files (it runs no commands), checks in its read-only mode and analyses. Runs AppScend starts need a Factory API key (FACTORY_API_KEY) exported in the Terminal where AppScend runs, so it doesn’t run in background mode. Checks run in a copy of your project. No live steps: it reports only its answer. No questions during a fix or forms.
  • It runs as Factory droid is set up on that Mac, on your own plan or key. Pick it in Settings → Preferences, or with APPSCEND_AGENT=factory on the Mac.
  • AppScend then scans the fix’s branch, and nothing reaches your branch until you press Merge.

These steps follow Factory droid’s own docs.

What can you ask Factory droid to do?

Ask Droid in plain words from your app’s repository: it calls AppScend’s tools and changes the code it needs to. Plantly is the sample app in these replies, and every reply is shortened.

Fix it on a branch, then check it on iPad again.→ fix_finding→ get_job wait_seconds: 25⎇ appscend/fix-ipad-launch  2 files  +11 −4→ test_run proveOn that branch the run opened the app on iPad and went through the main screens without a crash.
Draft the reply to Apple and plan the resubmission.→ analyze scope "chat", tool "review", message "Answer Apple's message"Reply: the crash on iPad is fixed in build 23, and the steps App Review gave now work on iPad and iPhone.Plan: merge the fix, upload build 23, then resubmit 1.1 with this reply.Keep the reply and that plan? Nothing goes to Apple until you say yes.

Which way should I connect Factory droid?

The command with a browser sign-in suits your own work. A key sent as a header with --no-oauth suits CI, and a project’s .factory/mcp.json shares AppScend with your team, minus any key.

The ways to connect Factory droid to AppScend
One command in TerminalSigns inYour browser, once: you choose what it may doWhat you getAppScend’s tools, within what you allowed and your planForYou, working in Factory droid
A key from Settings → AgentsSigns inThe key, sent as an Authorization headerWhat you getWhat you allowed the key when you made itForCI, a server, or a run where no browser opens
npx appscend agents on your MacSigns inYour browser, onceWhat you getAppScend added to Factory droid and the other coding agents on your Mac, each change shown and asked firstForA Mac with more than one agent
The setup promptSigns inYour browser, onceWhat you getFactory droid adds AppScend to itself, checks what it may do and offers a block for AGENTS.mdForLetting Factory droid set itself up
A project’s .factory/mcp.jsonSigns inEach person, from /mcp in their own DroidWhat you getAppScend for everyone who opens the repository, with no key in the fileForA team sharing one repository

What can Factory droid do in AppScend, and what can’t it?

Through AppScend’s tools, Droid reads your apps, findings and test runs, and makes code changes in your repository. What happens on your Mac when AppScend starts a fix itself is in the lists below.

It can

  • On your Mac, when AppScend starts it: fixes that only edit files (it runs no commands), checks in its read-only mode and analyses.
  • 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

  • Runs AppScend starts need a Factory API key (FACTORY_API_KEY) exported in the Terminal where AppScend runs, so it doesn’t run in background mode. Checks run in a copy of your project. No live steps: it reports only its answer. No questions during a fix or forms.
  • It keeps its sign-in in your system keyring, or in a file where there is none.

Is Factory droid the same as Claude Code?

No. Factory droid is Factory’s coding agent for your terminal, and Claude Code is Anthropic’s. Both add AppScend with one command, but each keeps its own settings and its own sign-in to AppScend.

Factory droid and the agents people mix it up with
Factory droidWhat it isFactory’s coding agent for your terminalWith AppScendAdds AppScend with droid mcp add and signs in from /mcp, keeping the sign-in in your keyringIts docsdocs.factory.com
Claude CodeWhat it isAnthropic’s coding agent in your terminal and editorWith AppScendAdds AppScend with claude mcp add, signs in with /mcp, and your Mac can run it for fixesIts docscode.claude.com

Can Factory droid work while I sleep?

Only with AppScend running in a Terminal where its key is set, since background mode can’t pass that key on. Then, with an Approval Pass, Autopilot starts Factory droid at night, within the limits you set, and each fix waits on its own branch.

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 Factory droid and AppScend

Factory droid doesn’t see AppScend’s tools: what should I check?
Run /mcp in Droid: appscend should be there, not marked as needing authentication. Added without --type http, Droid takes the address for a local command, since its type defaults to stdio. Clear Auth in /mcp resets a sign-in that went bad.
Do I need an API key?
Not for your own work: Droid signs in to AppScend through your browser from /mcp. For CI, add AppScend with a key from Settings → Agents in --header, plus --no-oauth so Droid never tries the browser.
Where does Droid keep AppScend’s entry?
In ~/.factory/mcp.json, where every server added from the CLI goes, so it’s there in every project. A project’s .factory/mcp.json is meant to be committed, so leave keys and auth headers out of it.
Does one sign-in cover every project?
Yes. Droid keeps AppScend’s sign-in in your system keyring (or a fallback file) rather than in a project, so every project that uses AppScend shares it, and Clear Auth in /mcp removes it again.
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 Factory 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 facts prints 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 Factory submit my app?
Yes, with an Approval Pass, and only after asking you. submit_for_review first 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 Factory or its model: it runs on your own plan or key, and so do the fixes your Mac runs with it.