
Appfactory
io.github.gbatistuta0v0.1.4Updated Sep 29, 2026
Lets your coding agent ship a SwiftUI iOS subscription app from idea to TestFlight.
Installation
In SourceWeft
- Open Appfactory in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
AppFactory
Let your coding agent ship an iOS subscription app, from idea to TestFlight.
An open-source MCP server for Claude Code, Codex CLI, Gemini CLI and Cursor. It validates the idea with real App Store data, builds the SwiftUI app, sets up the backend and the store, and stops at every step that matters so you stay in control.
[A real, sped-up agent session: AppFactory scores water-tracking niches with live App Store data]
A real session, sped up. That first step needs no accounts. From there, the same agent can take the idea all the way to a TestFlight build.
What it does
Every stage has a gate: the agent can't mark it done until checks pass (the build compiles, the store matches
the spec, screenshots follow the rules...). When something needs you, the run stops with a clear NEEDS_HUMAN.md.
Quickstart
Requirements: a Mac and uv (brew install uv). Xcode and the other tools are
only needed for the services you turn on.
1. Add it to your agent
2. Say "Set up AppFactory"
The agent asks which services you want, one by one, and tells you exactly which keys are missing. Keys are environment variables on the MCP entry, like any other MCP server. They never go through the chat:
Every variable is listed in docs/SETUP.md.
3. Run it
Run AppFactory
Before any work the agent asks you about every optional part of the app: free trial or not, hard paywall, discounted offer, onboarding quiz, mascot, languages, screenshots, preview video, analytics, ratings, Sign in with Apple... Anything you turn off is skipped, in the app code too.
Choose what you use
Everything except research is optional. A disabled service's tools do nothing and its stages are skipped, and the generated app doesn't include its SDK.
Safety
Agents make mistakes and read untrusted web content, so AppFactory assumes they will.
- Human approval for anything irreversible. Store writes, backend deploys, database changes, GitHub pushes,
uploads and signing don't run when the agent calls them. They wait until you run
appfactory approve <id>in your own terminal. The agent can't approve on your behalf. - You submit. App Store review submission is always done by you.
- Dry run by default for deploys, repo creation and uploads. Destructive SQL always needs approval.
- Secrets stay on your machine and are masked in every tool result.
- Third-party text is data. App Store listings and reviews are labelled so the agent doesn't follow instructions hidden in them.
Threat model and limits: SECURITY.md.
FAQ
Does it need Claude? No. It is a standard MCP server. The run playbook is served by the server itself (tool
playbook(), prompt run, resource appfactory://playbook), so any MCP-capable agent can follow it.
Why a Mac? The app is built and tested with Xcode on your machine. Research works anywhere.
Is my data sent anywhere? Only to the services you turn on, with your own keys. There is no AppFactory server and no telemetry.
Can I change the rules? Yes. The defaults (subscription with a free trial, hard paywall plus a discounted offer, a quiz onboarding, 6 app and 8 store languages) are recommendations. You answer each one before a run.
How do I update? @latest in the MCP command picks up new releases when your agent restarts.
Docs
- docs/SETUP.md: services, keys and environment variables
- docs/PIPELINE_PLAYBOOK.md: every stage, its order and its gotchas
- docs/TOOLS.md: all 120+ tools
- SECURITY.md, CONTRIBUTING.md, AGENTS.md
Contributing
Issues and pull requests are welcome. See CONTRIBUTING.md. If AppFactory saves you time, a ⭐ helps other people find it.
License
Source: README.md at commit 7693833
Tools
0Version history
1- v0.1.4LatestSep 29, 2026