Crescendo Lab

Deploy from Gemini CLI · Agent Lab Deploy

Say "deploy" in Gemini CLI.
It's live.

Connect Agent Lab MCP to Gemini CLI once (sign in in the browser, no API key), then say "deploy this". Gemini CLI creates the project, uploads, waits for the build and asks before it goes live. Every version gets a preview URL and rollback; apps and databases run on Google Cloud in Taiwan.

Start freeSee the setup

Why deploy from Gemini CLI to Agent Lab

Gemini CLI does the deploy, you approve it

No API key

You sign in in the browser. The connection can do what you can do in the console, never more.

Preview, go live, roll back

Every upload is a new version with its own URL. Look first, then go live; switch back in one click.

Leaked keys caught

Uploads are checked for API keys and credentials before they can go live.

PostgreSQL in one click

Create a database and connect it; the connection is written into the app.

Your options

Gemini CLI with Agent Lab MCP, or your own server

Scroll the table sideways.

Deploying from Gemini CLI to Agent Lab compared with running your own server
What you care aboutAgent Lab DeployYour own server
SetupConnect MCP once, sign in in the browserInstall a CLI, create a token, write a deploy script
CredentialsNo API key; the AI never sees a tokenA token in the environment or pasted into the chat
Preview and rollbackEvery version has its own URL; roll back in one clickWrite your own scripts
Before going liveUploads checked for leaked keysNothing unless you set it up
DatabasePostgreSQL in one click, connection written into the appInstall and back it up yourself
Cost to startFree plan: US$0, one size-S app (sleeps when idle)A VPS at roughly US$6–20 a month, plus your time

Steps

Deploy from Gemini CLI in four steps

  1. Connect Agent Lab MCP

    In Gemini CLI, run /mcp auth agentlab-acme, then sign in in the browser and choose your organization.

  2. Ask in the project

    Open the project in Gemini CLI and paste the prompt below, or just say "deploy this".

  3. Check the plan and secrets

    It shows the build plan and the variables the code reads. Enter secrets in the console, never in the chat.

  4. Preview and go live

    The first version goes live once it builds. Later ones get a preview URL; go live when you're happy.

Setup

Connect Gemini CLI to Agent Lab

Put the setup in the project's .gemini/settings.json to limit it to that project. Put the deploy sentence in GEMINI.md and Gemini CLI follows it whenever you say "deploy".

Copy

~/.gemini/settings.json

{
  "mcpServers": {
    "agentlab-acme": { "httpUrl": "https://mcp.agentlab.cresclab.com/mcp" }
  }
}
  • agentlab-acme replace acme with your organization; the console's MCP page shows the filled-in setup.
  • GEMINI.md put the prompt here once and every later deploy follows it.
Prompt

Then say this

Read https://app.agentlab.cresclab.com/agent/deploy.md and deploy this project to Agent Lab. Show me the build plan and the environment variables it needs first, tell me where to enter any secrets, and wait for my OK before it goes live.

FAQ

Deploying from Gemini CLI: questions

Can Gemini CLI deploy a website by itself?
Yes, once Agent Lab MCP is connected. Gemini CLI creates the project, uploads the folder, waits for the build and reports the URL; it asks before a version goes live. Docs →
Do I give Gemini CLI an API key or token?
No. The connection signs in with OAuth in your browser. Secrets your app needs go in the console, and the AI never sees them.
Can Gemini CLI deploy somewhere other than my own Google Cloud?
Yes. With Agent Lab MCP it deploys to Agent Lab, with no Google Cloud project or billing of your own to set up; apps and databases run on Google Cloud in Taiwan.
Which frameworks does it support?
JavaScript, Python and Go projects build from source with no Dockerfile (Next.js, Vite, Nuxt, SvelteKit, Express, FastAPI, Django, Go and more); anything else ships a Dockerfile. All deploy guides →
Is there a free way to deploy?
The Free plan is US$0: one size-S app that sleeps after 15 idle minutes, one size-S database, three static web pages, 100 build minutes and 5 GB of traffic a month, pausing at the limit instead of charging. Pro (US$29 a month before tax) keeps apps running and adds custom domains. Pricing →