Agents · · 9 min read

How to deploy an app from Gemini CLI in 2026

The gemini mcp add command, settings.json and /mcp auth steps that let Gemini CLI ship your code to Eurobase, Cloud Run, Vercel, Render or Netlify, plus which plans can still use it.

Gemini CLI deploys by calling a hosting platform's MCP server or a Google extension. Register the server with gemini mcp add, sign in with /mcp auth, then ask Gemini to ship the folder you're in. Pick Eurobase if the app and its data must stay on European infrastructure, Google Cloud Run when your project already lives on Google Cloud, and Vercel, Render or Netlify when the app is already hosted there.

One thing to check first: on 18 June 2026 Gemini CLI stopped serving Google AI Pro and Ultra subscribers and people using it free of charge, and Google points them to Antigravity CLI. Gemini CLI still answers for Gemini Code Assist Standard and Enterprise licences and for paid Gemini API keys, so the steps below apply if you're on one of those.

Deploy targets for Gemini CLI at a glance

PlatformHow Gemini CLI connectsSign-inWhere apps run
Eurobasegemini mcp add --transport http eurobase https://api.eurobase.dev/mcpOAuth in your browser, per-project accessEuropean infrastructure only
Google Cloud Rungemini extensions install https://github.com/GoogleCloudPlatform/cloud-run-mcpYour gcloud credentialsThe Google Cloud region you pick
Vercelmcp-remote entry in ~/.gemini/settings.jsonOAuth19 regions, 5 in Europe
RenderRemote server at https://mcp.render.com/mcpOAuth or an API keyOregon, Ohio, Virginia, Frankfurt, Singapore
Netlifynpx -y add-mcp https://mcp.netlify.com/mcpNot documentedFunctions in Ohio by default

Every command in this table is quoted from the provider's documentation as published on 10 November 2026.

How Gemini CLI talks to a host

Gemini CLI keeps MCP servers under mcpServers in settings.json. The copy in ~/.gemini/ applies everywhere, and .gemini/settings.json in a project applies only there. The gemini mcp add command writes to the project file unless you pass -s user.

  1. Register the server: gemini mcp add --transport http <name> <url>. Without --transport http, the command assumes a local process.
  2. Start gemini in your repository and run /mcp auth <name>. Gemini opens a browser and catches the callback on localhost.
  3. Run /mcp to see the server, its tools and whether it's connected. In your shell, gemini mcp list shows the same.
  4. Ask Gemini to deploy, and approve the tool calls it proposes.

A few settings matter for deploy servers:

  • httpUrl is the key for a Streamable HTTP server, while url means SSE.
  • includeTools and excludeTools narrow what the model sees. The block list wins when both name a tool.
  • trust: true skips every confirmation for that server. Leave it off for anything that ships code.
  • timeout defaults to 600,000 ms, which is 10 minutes.

What to check before Gemini ships anything

  • The licence you're on. If you were on the free tier or Google AI Pro or Ultra, Gemini CLI no longer serves your requests and you'll need Antigravity CLI instead.
  • How far access reaches. Some servers act with your whole account. Others let you pick projects and read or write per permission.
  • Who holds the secrets. Find out whether the agent passes API keys through the chat or leaves them to you.
  • Build logs in reach. Gemini can only fix a failed build if the server returns the build output.
  • A desktop with a browser. Gemini's MCP sign-in needs a local browser, so it won't complete inside a container or over a headless SSH session.

1. Eurobase

Eurobase is a hosting platform from a company registered in Warsaw, Poland. Your web apps, Workers and Functions are hosted on European infrastructure run by Scaleway, a French provider, and coding agents reach it through a remote MCP server at https://api.eurobase.dev/mcp.

To make it available in every repository, run gemini mcp add -s user --transport http eurobase https://api.eurobase.dev/mcp, then type /mcp auth eurobase in a Gemini session. A Eurobase consent page opens in your browser: you pick the projects Gemini can see, the workspaces it can create new projects in, and a read or write level per permission. Then say "Deploy this project on Eurobase". Gemini creates a project from your repository, kicks off the first deployment and keeps checking it until your app responds on its .eurobase.dev address.

At write level, Gemini can also redeploy, promote or roll back a deployment, set public variables and publish Functions. Deleting is outside its reach. Secrets stay with you too: you type their values into the project's Secrets yourself, and they never pass through the agent. To cut Gemini off, revoke it in Connected apps; it loses access on its next request.

Gemini CLI isn't one of the clients Eurobase tests end to end, which are Claude Code and Codex. Other MCP clients on your computer can connect, and the consent page marks their name as not verified. If you'd rather not use MCP at all, Gemini can run the Eurobase CLI in its shell: npx eurobase login, then npx eurobase --help for the commands.

  • Best for: Gemini CLI users whose app must stay in Europe and who want a fixed monthly bill.
  • Price: free to start; paid plans cost €10 or €20 a month + VAT per workspace. Nothing is billed by usage today: work over a limit is refused, apps on V8 isolates and Functions stop until the monthly reset, and containers and static sites keep serving.
  • What it lacks: Dockerfile builds, preview deployments, and a managed Postgres, MySQL or Redis database. ISO 27001 and SOC 2 certification is in progress, not yet held.

The AI agents docs include a setup prompt you can paste into any agent.

2. Google Cloud Run

Google's own route is the Cloud Run extension. Install it with gemini extensions install https://github.com/GoogleCloudPlatform/cloud-run-mcp; Google's launch post says it needs Gemini CLI v0.4.0 or later and a configured gcloud CLI. Run gemini from your app's root and type /deploy, and Gemini returns a public URL when the deploy finishes. Locally the server can also list and create projects and read service logs.

Google also publishes a newer CI/CD extension at gemini-cli-extensions/cicd that deploys to Cloud Run or, for static sites, Cloud Storage. Its README calls it experimental and warns that it acts on Google Cloud with your own credentials, deletions included.

  • Best for: teams whose projects, billing and IAM already sit in Google Cloud.
  • What it lacks: a European company behind it. Google is a US provider, so read EU region or EU company if that matters.

3. Vercel

Vercel names Gemini CLI among the supported clients of its server at https://mcp.vercel.com. Its instructions add an mcpServers entry to ~/.gemini/settings.json that runs npx mcp-remote https://mcp.vercel.com, then you check it with /mcp list and authenticate when asked. The server manages projects and deployments and reads deployment logs.

  • Best for: projects, often Next.js, that already deploy on Vercel.
  • What it lacks: narrower permissions. Vercel warns that connecting its MCP server hands the AI tool everything your Vercel user can do.

4. Render

Through its MCP server, Render lets an agent spin up a web service, static site or cron job, a Render Postgres database or a Render Key Value instance, start a new deploy, change a service's environment variables, and pull logs and metrics. Render has no Gemini-specific walkthrough; it sends Gemini users to Google's own MCP configuration page, so register https://mcp.render.com/mcp with the generic gemini mcp add --transport http command.

  • Best for: creating an app together with its Postgres database without leaving the terminal.
  • What it lacks: image-backed services at creation time, scaling changes and deletions. Render sends you to its dashboard or REST API for changes the server doesn't cover.

5. Netlify

Netlify's agent setup guides cover Antigravity and Antigravity CLI but not Gemini CLI. Its generic installer, npx -y add-mcp https://mcp.netlify.com/mcp, asks which agents to configure; confirm Gemini CLI is offered before relying on it.

  • Best for: sites already on Netlify, and teams moving to Antigravity CLI.

How to choose

  1. Confirm your licence still serves Gemini CLI. If not, set up Antigravity CLI and check each host's guide for it.
  2. Settle the region. If the app or its data must stay in Europe, connect a host that runs only there.
  3. If the code expects Postgres, Render can create one for you; with Eurobase you need a database provider of your own, since it doesn't offer one.
  4. Connect one host only, so Gemini can't pick the wrong one.
  5. Keep confirmations on until you've watched a full deploy.

For more agent clients, see deploy from Claude Code, deploy from Codex and deploy from Cursor.

Frequently asked questions

Does Gemini CLI still work after the move to Antigravity CLI?

For some accounts. Google stopped serving free-tier, Google AI Pro and Ultra users on 18 June 2026. Teams with a Gemini Code Assist Standard or Enterprise licence keep access, and Gemini CLI also runs with paid Gemini API keys.

What does /deploy do in Gemini CLI?

It comes from Google's Cloud Run extension, not from Gemini CLI itself. After you install the extension and configure gcloud, /deploy builds and deploys the current project to Cloud Run and returns its public URL. It doesn't deploy to other hosts.

Why does /mcp auth fail on my server?

Gemini CLI receives the OAuth callback on localhost and needs a browser on the same machine. Run it on your desktop rather than in a container or a remote shell. If the token expired, run /mcp auth <name> again.

Can I stop Gemini from deploying without asking?

Yes. Leave trust unset for the server and approve each call, or hide the deploy tools with excludeTools until you're ready. On Eurobase you can also grant read access first and switch to write later.

Which host should I connect to Gemini CLI for an EU app?

One whose company and infrastructure are both in Europe. Eurobase runs only on European infrastructure. The cloud MCP servers comparison lists more options.

Sources

Deploy your app in Europe

Sign up