Skip to main content

AppFactory

CI PyPI License: MIT Python 3.12+ MCP

An MCP server that lets your coding agent take a SwiftUI iOS subscription app from idea to the App Store.

What it does: idea harvesting and validation, design, SwiftUI code from a template, Supabase backend, App Store Connect + RevenueCat setup, localization, analytics, ASO, screenshots and TestFlight. Every stage has a gate the agent must pass. You do the final App Store submission.

Quickstart

Requires a Mac, Python 3.12+ and uv.

1. Add the MCP to your agent

One line, no installer. The server command is uvx appfactory.

Agent How
Claude Code claude mcp add --scope user appfactory -- uvx appfactory
Codex CLI codex mcp add appfactory -- uvx appfactory
Gemini CLI gemini mcp add appfactory uvx appfactory
Cursor ~/.cursor/mcp.json: {"mcpServers": {"appfactory": {"command": "uvx", "args": ["appfactory"]}}}

2. Ask your agent: "Set up AppFactory"

The agent calls setup_status, asks which services you want, and turns them on. Keys never go through the chat: for secrets it opens a local page in your browser (127.0.0.1 only, one-time token) where you type them; they are stored in ~/.appfactory/config.toml (mode 0600). appfactory doctor shows what is configured.

Then try this first prompt. It needs no accounts:

Find 3 underserved iOS app niches in Health & Fitness and validate the best one

Works with

Claude Code, Codex CLI, Gemini CLI and Cursor. The run playbook is served by the MCP server itself (tool playbook(), prompt run, resource appfactory://playbook), so any MCP-capable agent can follow it.

Choose what you use

Every service is optional. Tools for a disabled service do nothing and the pipeline skips those stages (appfactory services enable|disable NAME).

Service What it enables Needs
research Idea harvesting, ASO research (always on) nothing
apple App Store Connect: apps, in-app purchases, metadata, TestFlight ASC API key, asc CLI
xcode Local builds, simulator, archives Xcode, xcodegen
supabase Backend: database, edge functions, credits access token, supabase, deno
revenuecat Subscriptions and entitlements RevenueCat secret key
ai AI features through a server-side proxy optional provider keys
firebase Firebase Analytics setup firebase CLI
github A repo and issues per app gh
design Screen design through the claude-design MCP claude-design MCP
maestro End-to-end UI tests on the simulator Maestro, Java 17+
lottie Lottie animations node

Details and credential steps: docs/SETUP.md.

Safety

  • Approvals. Irreversible or outward actions (submission, store/backend/RevenueCat writes, GitHub pushes, uploads) do not run when an agent calls them. They wait for appfactory approve <id> in your terminal.
  • Dry run by default for deploys, repo creation, uploads and issue writes.
  • Secrets stay local and are scrubbed from every tool result.
  • Untrusted content (App Store listings, reviews) is labelled as data, not instructions.

Full threat model and limits: SECURITY.md.

How a run works

  1. Interview. Before any work the agent calls run_options(), asks you about every optional part, and saves your answers. Anything you turn off is skipped.
  2. Pipeline with gates. scaffold, design, features, backend, store setup, localize, analytics, ASO, metadata, screenshots, TestFlight. A stage is done only when pipeline_mark passes its gate; blockers stop the run with a NEEDS_HUMAN.md.
  3. You submit. App Store submission is always human, in the App Store Connect web UI.

Docs

License

MIT

Release files for appfactory 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for appfactory 0.1.1
File Size Uploaded
appfactory-0.1.1.tar.gz 795.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for appfactory 0.1.1
File Interpreter ABI Platform
appfactory-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.5 MB

Release files / appfactory-0.1.1.tar.gz

Download URL appfactory-0.1.1.tar.gz
Size 795.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dc83178e6edfe34ef68814c684e02d65fac04c121323f76e95e47b4a63ebf49c
BLAKE2b-256 checksum
How to use checksums
fd5d98e26ccfd9902ca4911e6ca4781783c3716387e54ea357620348c483109e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / appfactory-0.1.1-py3-none-any.whl

Download URL appfactory-0.1.1-py3-none-any.whl
Size 717.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5a54877cc8a3cdc62f48b5ddcb72f19d45480993c19bd3d7e04b0a15e4ab9b5
BLAKE2b-256 checksum
How to use checksums
b1b80fc64eefb3a9edee5886b64ad589ecac95b22f48ab3c8163df3ed80d77a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page