Get your iOS app approved with Qwen Code
- Added with one
qwen mcp addcommand, for every project, or for one with--scope project. - Signs in from Qwen Code’s
/mcpdialog through your browser, on the same Mac as Qwen Code. - Shows AppScend and its tools in
/mcp, andqwen mcp listsays when the server has dropped.
qwen mcp add --transport http appscend 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 did AppScend find in the paywall code?→ get_app area "approval"Two findings in app/paywall.tsx:Blocker3.1.2(c) Subscription prices may not say how often they’re billedline 52 · Jev 90% sureWarning3.1.2 The paywall may not say plans renew until cancelledline 77 · Jev 68% sureBoth are about the words next to the prices.An example in your terminal, with a sample app, Plantly.
How do I add AppScend to Qwen Code?
Run qwen mcp add with AppScend’s address in Terminal, then open Qwen Code, run /mcp and sign in to appscend there. Your browser has to be on the same Mac, so over SSH, use a key.
In Terminal:
qwen mcp add --transport http appscend https://api.appscend.ai/mcpThen, in Qwen Code, run
/mcpand sign in to appscend there. Your browser opens AppScend: choose what it may do and press Allow.
Without a browser
With a key:
qwen mcp add --transport http appscend https://api.appscend.ai/mcp --header "Authorization: Bearer <your key from Settings → Agents>"How your Mac uses Qwen Code
- For a fix, AppScend starts
qwenon 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 edit files, checks in its plan mode (which never edits or runs commands) and analyses, with live steps, on the model provider you set up in Qwen Code. It needs a model provider set up first (run qwen in Terminal, then /auth). Checks run in a copy of your project, and a fix runs no commands but those your Qwen Code settings allow without asking. No questions during a fix or forms.
- It runs as Qwen Code is set up on that Mac, on your own plan or key. Pick it in Settings → Preferences, or with
APPSCEND_AGENT=qwen-codeon the Mac. - AppScend then scans the fix’s branch, and nothing reaches your branch until you press Merge.
These steps follow Qwen Code’s own docs.
What can you ask Qwen Code to do?
Ask Qwen Code in plain words from your app’s folder: it calls AppScend’s tools and works through the repository with you. The replies are shortened, and Plantly is a sample app.
Fix both on a new branch and scan again.→ get_finding format "all"Adding “per month” and “per year” after each price, read from the products, and a line saying plans renew until cancelled.⎇ fix/paywall-terms 1 file +9 −2→ scan_appScanned again: both are gone on the branch.
Write What’s New for 1.4 from my commits since 1.3.→ analyze scope "release"→ get_job wait_seconds: 25Draft: “Reminders now follow your time zone, and the paywall says how often each plan bills.”→ change_store_setting release_textThat’s what 1.4 would say in App Store Connect. Put it in? It waits for your yes.
Which way should I connect Qwen Code?
Sign in through the browser when Qwen Code runs on your own Mac, and send a key in the Authorization header over SSH or in CI. The setup prompt lets Qwen Code add AppScend by itself.
| 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 Qwen Code |
| 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 Qwen Code 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 getQwen Code adds AppScend to itself, checks what it may do and offers a block for AGENTS.md | ForLetting Qwen Code set itself up |
What can Qwen Code do in AppScend, and what can’t it?
Qwen Code reads your apps and findings through AppScend, fixes code in your repository and, with an Approval Pass, submits after asking. What runs on your Mac when AppScend starts a fix is in the lists below.
It can
- On your Mac, when AppScend starts it: fixes that edit files, checks in its plan mode (which never edits or runs commands) and analyses, with live steps, on the model provider you set up in Qwen Code.
- 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
- It needs a model provider set up first (run qwen in Terminal, then /auth). Checks run in a copy of your project, and a fix runs no commands but those your Qwen Code settings allow without asking. No questions during a fix or forms.
- Its sign-in comes back to localhost:7777, so Qwen Code and your browser have to be on the same Mac: over SSH, use a key.
- It keeps the server in
~/.qwen/settings.json, for every project, as mcpServers.appscend with httpUrl (--scopeproject puts it in the project’s.qwen/settings.jsoninstead, where it waits for your approval: qwen mcp approve appscend, or Approve in/mcp).
Is Qwen Code the same as Gemini CLI?
No. Qwen Code is the coding agent from Alibaba’s Qwen team and Gemini CLI is Google’s, both for the terminal. Their commands look alike, but each keeps its own settings, so add AppScend to each one.
| Product | What it is | With AppScend | Its docs |
|---|---|---|---|
| Qwen Code | What it isThe coding agent from Alibaba’s Qwen team, for your terminal | With AppScendAdds AppScend with qwen mcp add, then signs in from /mcp | Its docsqwenlm.github.io |
| Gemini CLI | What it isGoogle’s coding agent for your terminal | With AppScendAdds AppScend with gemini mcp add, keeping it in its own settings under ~/.gemini | Its docsgithub.com |
Can Qwen Code work while I sleep?
Yes, with an Approval Pass: Autopilot starts Qwen Code on your Mac 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 Qwen Code and AppScend
- Qwen Code doesn’t see AppScend’s tools: what should I check?
- Run
/mcpin Qwen Code: appscend should be there with its tools, and you can sign in from that dialog.qwen mcp listshows a server that dropped as Disconnected. If Qwen Code was open when you added AppScend, start it again. One added with--scope projectwaits as Pending approval until you runqwen mcp approve appscend. - Do I need an API key?
- Not for AppScend: Qwen Code signs in from
/mcpthrough your browser on the same Mac. Over SSH or in a hosted setup, send a key in the Authorization header instead. Qwen Code itself asks for a model provider on its first run. - Where does Qwen Code keep its sign-in to AppScend?
- In
~/.qwen/mcp-oauth-tokens.json, unencrypted but readable only by you. SetQWEN_CODE_FORCE_ENCRYPTED_FILE_STORAGE=true, and it uses the system keychain where it can, or an encrypted file. - How long can a call to AppScend take in Qwen Code?
- Ten minutes by default, the
timeouton its entry. AppScend answers at once and runs longer work as a job on your Mac, which Qwen Code follows withget_job, waiting up to 25 seconds a call. - Can Qwen Code use AppScend’s tools without asking each time?
- Setting
trustto true on AppScend’s entry skips Qwen Code’s confirmation prompts for it, in a trusted workspace only, and its docs say to use that sparingly. AppScend still asks before anything reaches Apple. - 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 Qwen Code 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 Qwen Code 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 Qwen Code or its model: it runs on your own plan or key, and so do the fixes your Mac runs with it.
Also works with
Add AppScend to Qwen Code, or start from your Mac.