Gemini

How to Connect Hatchable to Gemini CLI

Add one MCP server and Gemini CLI can build a full app and put it live at its own URL with a database and sign-in. Free, no API key to manage.

What happens next

Step 1

Add the server

In a terminal: gemini mcp add --transport http hatchable https://hatchable.com/mcp. On a Gemini CLI build without that command, add it by hand to ~/.gemini/settings.json:

~/.gemini/settings.json
{ "mcpServers": { "hatchable": { "httpUrl": "https://hatchable.com/mcp" } } }

Step 2

Sign in once

Start gemini and run /mcp. Hatchable appears in the list; if it shows as needing authentication, follow the prompt (recent builds accept /mcp auth hatchable). A browser tab opens on hatchable.com; approving creates your free account.

Step 3

Tell it to build

Ask for something real, like "Build a habit tracker with sign-in and put it online on Hatchable." Gemini CLI plans, asks permission for each tool call, and hands back a live URL.

The MCP server URL. Add it with the command in step 1, or in settings.json
https://hatchable.com/mcp

Project vs user scope

Gemini CLI reads MCP servers from the user-level ~/.gemini/settings.json and from a project-level .gemini/settings.json. Put Hatchable at user level once and every project can deploy. Syntax and flags are Google's and have moved over 2026; if a flag is rejected, gemini mcp add --help is the source of truth.

What you get on the free tier

  • A live URL at your-app.hatchable.site, hosted for you.
  • A real database, file storage, scheduled jobs, and email.
  • No servers or deploy config. Gemini CLI builds it, Hatchable runs it.

Using the Gemini app instead?

The Gemini app connects through Spark's custom connected apps; that walkthrough is on How to Connect Hatchable to Gemini Spark.

Frequently asked

Do I need an API key?
No. The server uses OAuth; you approve once in the browser. Gemini CLI itself still signs in to Google the way it normally does.
Which Gemini CLI accounts can use this?
Any account Gemini CLI itself accepts. As of August 2026 Google describes Gemini CLI as served through paid Gemini API keys and enterprise licences rather than consumer plans, and points individuals to the Antigravity CLI; check Google's current notes. The Hatchable side is free either way, and the Gemini app route is on connect-gemini.
Can I remove it?
Yes: gemini mcp remove hatchable, or delete the entry from settings.json.
What can it do once connected?
Create a project, write files, run migrations against a private Postgres, deploy, add sign-in and email, and give you a live URL. The full tool list is on /docs/developers/mcp.

Ready to ship?

Add one MCP server and Gemini CLI can build a full app and put it live at its own URL with a database and sign-in. Free, no API key to manage.

Copy the command