forge.yaml and a deploy/kcl/ directory, builds a release, and publishes it to Reliant Cloud under a temporary anonymous identity. The deploy stays online for 72 hours. If you open the claim link and sign up (free) before then, the deploy becomes yours.
Before you begin
- Claude Code, Codex or Cursor, open on the app’s repository.
- Node 18 or later.
npx -y @reliantlabs/forge mcpdownloads the matching Forge binary the first time it runs. - An app Forge can adopt: a Vite or Next.js app at the repository root, or an app in any language with its own Dockerfile. The limits say what fits.
1
Install the Forge MCP server in your agent
Pick the one you use.For Cursor, put this in The server gives the agent a
terminal
.cursor/mcp.json for one project, or ~/.cursor/mcp.json for all of them:.cursor/mcp.json
deploy_claimable tool beside Forge’s lint, generate and skill tools. Connect Claude Code or Cursor to Forge over MCP lists every tool and shows how to check the server answers. You can skip this step: the agent can run the same deploy as a shell command (step 3).2
Paste the prompt
Give the agent this:Your agent asks before it calls a tool that changes something, so expect an approval prompt for
prompt
deploy_claimable.3
Let it deploy
The deploy takes minutes. In a directory with no Use
forge.yaml, Forge first adopts the app, and prints one line saying what it added: forge.yaml, deploy/kcl/, an AGENTS.md and Forge’s .gitignore entries. The app’s own files are not changed. It then builds, publishes and waits for the rollout.The command the agent runs is:terminal
@latest: an older cached Forge refuses with “add forge first” instead of adopting the app. --claimable implies --yes, so nothing prompts. Add --plan-only first if you want to see what it would do, and what it would refuse.4
Receive the URL and the claim link
The result has a public URL, a claim link, when the deploy goes offline, and the plan’s limits. With To deploy again after a change, run the same command. You keep the same URL and claim link, and the expiry does not move.
--json, or through the MCP tool, it is one structured document the agent relays to you, and it only calls the app live once the rollout came up healthy. The agent should say something like this:Output
forge env status prod --claimable prints them again.What it fits
The claimable plan is small on purpose. It fits one static site (Vite or Next.js), or one service built from your app’s own Dockerfile with one managed Postgres database. A Next.js app has to build as a static export (output: "export").
An unclaimed service has no outbound internet. It answers requests and uses its own database, but every call out of it fails: payments, webhooks, email, model APIs and DNS for names outside the cluster. A static site is not affected, because its requests come from the browser. This is the platform, not a bug in your app, so neither you nor the agent should try to work around it. It ends when you claim the deploy.
Workers, cron jobs, a second service or database, custom domains and remote builds are refused, and the refusal names what to change. The exact limits, the --json fields, and every refusal with its exit code are in Deploy a Vite or Next.js app without an account and in Forge’s MCP reference: this guide does not repeat them.
Keep the claim link private
The claim link is a credential: whoever opens it first owns the deploy. Tell the agent not to put it in an issue, a pull request, a commit, a log or a README, and keep it out of screenshots you share.Claim it
Open the claim link and sign up, or sign in. The deploy moves into your account and stops expiring. A static site stays free (one hosted static site per account). A service and its managed Postgres get their outbound internet back, and need paid hosting to keep running long term. What claiming gives you has the detail.Troubleshooting
The agent says the deploy was refused with exit code 1, claimable_signed_in
The agent says the deploy was refused with exit code 1, claimable_signed_in
A Forge credential resolves on this machine: you ran
forge cloud login, or you are inside a Reliant chat. --claimable is only for no account. Drop it and deploy to your account with forge env deploy prod.Exit code 4, claimable_ineligible
Exit code 4, claimable_ineligible
The project does not fit the plan above. Run
forge env deploy prod --claimable --plan-only: each refusal names the change that fixes it.Exit code 4, claimable_throttled
Exit code 4, claimable_throttled
A rate limit. Wait until the
retry_at it prints, and do not retry in a loop: Forge never retries on its own.The app deploys but its service never comes up
The app deploys but its service never comes up
If it calls an outside API at startup, it cannot, because an unclaimed service has no outbound internet. Claim the deploy first.
What to do next
Once you have claimed the deploy, sign in withforge cloud login (inside Reliant it is already done) and deploy to your account with forge env deploy prod, with no --claimable. After every deploy, prove it with forge obs check prod --wait --json: its exit code says whether the release is healthy, regressed, or could not be judged. Querying with forge obs covers the exit codes.
Give your agent these docs
The documentation is also an MCP server, so the agent can search it instead of guessing at a flag, a limit or an exit code. It is public and read-only, and needs no account:terminal
forge in the same mcpServers object:
.cursor/mcp.json
Deploy a Vite or Next.js app without an account
The limits, the
--json document and every refusal with its exit code.Connect Claude Code or Cursor to Forge over MCP
Every tool the server exposes, and how to check it answers.
Deploy a static site with a CDN
The signed-in path: releases, promotion and custom domains.
Adopt an existing Vite or Next.js app
What adopting a Vite or Next.js app in place writes.