You need a terminal-capable agent or a terminal on your computer for installation. After setup, a compatible chat app can connect remotely.
Before you start
Have these ready:
- Node.js 24.11.1 or newer, npm, and Git.
- A Cloudflare account with R2 enabled.
- A domain whose DNS is managed in that account.
- A Cloudflare Zero Trust organization and its team domain, such as
your-team.cloudflareaccess.com. - The email address you will use to sign in.
- Two hostnames: one for managing the podcast, one for public media.
The installer does not buy a domain, enable R2 billing, or create the Zero Trust organization. See costs before choosing a paid plan.
If this is an existing installation, follow upgrades and adoption first. Keep its original resource names and deployment state.
Download and build
The packages are not published to npm yet. Build from source:
git clone https://github.com/wking-io/podstead.git
cd podstead
npm ci
npm run buildIf you already have a checkout, use it and preserve any local changes.
Choose the account and settings
Podstead uses Alchemy to create and update infrastructure. Authenticate Alchemy for the intended Cloudflare account using its profile workflow or supported environment credentials. Run the installed Alchemy CLI’s profile --help for the current options. Keep credentials in the provider’s private credential store, not in chat or Git.
cp infra/installation.example.json installation.local.jsonEdit the file with your two hostnames, team domain, owner email, and unique bucket names. Leave adopt false for a fresh installation. Leave createEmailIdentityProvider false if your organization already has a sign-in method. Configuration reference
The setting named studioHost is the management hostname. It does not create a dashboard.
Check the plan, then deploy
npm run infra:validate -- --file installation.local.json
npm run infra:plan -- --file installation.local.jsonCheck the selected account, hostnames, buckets, and proposed changes. Stop if an existing bucket or Durable Object would be replaced or deleted. Once the plan is approved:
npm run deploy -- --file installation.local.jsonThe stack creates two R2 buckets, a Worker, SQLite-backed Durable Objects, an OAuth KV namespace, and Cloudflare Access applications. It can also create email PIN sign-in when requested.
Check that it works
- Let DNS and TLS become ready.
- Open your management hostname. Its root shows service information, not a dashboard.
- Connect an agent to
https://YOUR_MANAGEMENT_HOST/mcpand complete owner sign-in. - Create a show and publish a test episode.
- Open the returned RSS and audio URLs.
Keep installation.local.json and .alchemy/state privately backed up. Future upgrades need the same checkout, stack name, stage, and state.
Next: Connect your agent.