Skip to content
AppScend

Get your iOS app approved with opencode

  • Fixes what would get your app rejected on the model you set in opencode, each fix on a branch of its own.
  • Added as an entry in opencode.json, or on opencode 2 with one opencode mcp add command.
  • Keeps the model’s context light: the address with only Approval and Store setup gives it the tools App Review needs.
Add AppScend to opencode
https://api.appscend.ai/mcp

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

Which blockers are left in Plantly’s code?→ get_app area "approval"Two blockers, both near sign-in:Blocker4.8  Third-party sign-in may lack Sign in with Appleapp/(auth)/login.tsx:31 · Jev 89% sureBlocker2.1  Release builds may use test or sandbox service keyslib/config.ts:7 · Jev 84% sureThe second is a one-line change. Start there?

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

How do I add AppScend to opencode?

Put AppScend’s entry in opencode.json, then run opencode mcp auth appscend to sign in through your browser. On opencode 2, one opencode mcp add command adds it instead, and it signs in as opencode’s published client.

  1. Add it to ~/.config/opencode/opencode.json (every project) or opencode.json in the project:

    {
      "mcp": {
        "appscend": {
          "type": "remote",
          "url": "https://api.appscend.ai/mcp",
          "enabled": true
        }
      }
    }
  2. Then sign in. Your browser opens AppScend: choose what it may do and press Allow.

    opencode mcp auth appscend
  3. On opencode 2, one command adds it instead, for every project (without --global, for this one only); it signs in with opencode’s own published client document:

    opencode mcp add appscend --global --url https://api.appscend.ai/mcp

Without a browser

  1. With a key in the APPSCEND_API_KEY environment variable:

    {
      "mcp": {
        "appscend": {
          "type": "remote",
          "url": "https://api.appscend.ai/mcp",
          "enabled": true,
          "oauth": false,
          "headers": {
            "Authorization": "Bearer {env:APPSCEND_API_KEY}"
          }
        }
      }
    }
  2. On opencode 2, with the APPSCEND_AUTH environment variable set to “Bearer <your key>”:

    opencode mcp add appscend --global --url https://api.appscend.ai/mcp --header 'Authorization={env:APPSCEND_AUTH}'

How your Mac uses opencode

  • For a fix, AppScend starts opencode 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, checks and analyses, with live steps, on the model you set in opencode (Grok, GPT, Gemini, a local model…). Checks run in a copy of your project, and a fix edits only the app’s own folder. No questions during a fix or forms.
  • It runs as opencode is set up on that Mac, on your own plan or key. Pick it in Settings → Preferences, or with APPSCEND_AGENT=opencode on the Mac.
  • AppScend then scans the fix’s branch, and nothing reaches your branch until you press Merge.

These steps follow opencode’s own docs.

What can you ask opencode to do?

Ask opencode in plain words from your app’s folder: it calls AppScend’s tools on the model you picked and changes the code with you. Plantly, in these replies, is a sample app.

Yes. Fix the test key on a branch, then scan.→ get_findingThe release build reads the purchases SDK’s test key. Release builds now read the production key, and the test key stays in debug.⎇ fix/release-keys  2 files  +6 −2→ scan_appScanned again: that blocker is gone on the branch. Merge it once the diff looks right to you.
Is last night’s archive ready to upload?→ scan_app check_build→ get_job wait_seconds: 25Your Mac read the newest archive in Xcode’s Organizer: signing, architectures and Apple’s upload checks pass.→ app_review upload_build version "1.4"Upload 1.4 (build 43) to App Store Connect? Nothing goes up until you say yes.

Which way should I connect opencode?

Sign in through the browser for your own work, and send a key in the Authorization header for CI. With more agents on the Mac, npx appscend agents adds AppScend to opencode and the rest at once.

The ways to connect opencode 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 opencode
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 opencode 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 getopencode adds AppScend to itself, checks what it may do and offers a block for AGENTS.mdForLetting opencode set itself up

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

opencode works both ways round: it calls AppScend’s tools from your terminal, and AppScend starts it on your Mac for fixes and checks on the model you chose. The lists below say where it stops.

It can

  • On your Mac, when AppScend starts it: fixes that only edit files, checks and analyses, with live steps, on the model you set in opencode (Grok, GPT, Gemini, a local model…).
  • 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, and a fix edits only the app’s own folder. No questions during a fix or forms.
  • Many tools fill its context: the address with only Approval and Store setup keeps AppScend’s list short.
  • opencode 2 keeps servers under mcp.servers (opencode 1 under mcp) and still reads an opencode 1 entry; both versions use the opencode command.
  • opencode 2’s opencode mcp list can say No MCP servers configured while it has AppScend: opencode run uses it all the same.

Is opencode the same as Claude Code?

No. opencode is an open-source coding agent that runs on whichever model you set, and Claude Code is Anthropic’s own agent. Each keeps a separate list of MCP servers, so you add AppScend to both.

opencode and the agents people mix it up with
opencodeWhat it isAn open-source coding agent for your terminal, editor and desktop, on the model you chooseWith AppScendTakes AppScend from opencode.json or opencode mcp add, and your Mac can run it for fixes and checksIts docsopencode.ai
Claude CodeWhat it isAnthropic’s agent for the terminal, also in editors and its desktop appWith AppScendTakes AppScend with claude mcp add, and your Mac can run it for fixes, checks and Chrome formsIts docscode.claude.com

Can opencode work while I sleep?

Yes, with an Approval Pass: Autopilot can start opencode on your Mac at night, on the model you set in it, and every fix it makes waits on a branch until you merge it.

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 opencode and AppScend

opencode doesn’t see AppScend’s tools: what should I check?
Run opencode mcp list: appscend should be there with its sign-in. On opencode 1, opencode mcp debug appscend checks the connection and the sign-in. opencode 2 keeps the entry under mcp.servers, though an opencode 1 entry under mcp still works.
Do I need an API key?
Not for AppScend: opencode signs in through your browser. For CI, turn that off with oauth: false and send a key from Settings → Agents in the Authorization header. The model you run in opencode keeps whatever key its provider asks for.
Which model does AppScend use with opencode?
The one you set in opencode: AppScend doesn’t pick one. opencode calls AppScend’s tools on that model, and the fixes and checks your Mac runs in opencode use it as well.
Why does opencode do better with fewer tools?
opencode’s docs say every MCP server adds to the model’s context, and many tools add up fast. The address ending in /mcp/x/approval,store gives it only Approval and Store setup, which is what taking an app through App Review needs.
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 opencode 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 opencode 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 opencode or its model: it runs on your own plan or key, and so do the fixes your Mac runs with it.