AI agents · 4 min read

Connect LFG Alarm to Gemini CLI and Antigravity CLI

To connect LFG Alarm to Gemini CLI, add https://mcp.lfg.gm as an httpUrl server in Gemini CLI's settings.json (or run gemini mcp add --transport http -s user lfg-alarm https://mcp.lfg.gm), then run /mcp auth lfg-alarm and sign in with your LFG Alarm account. If Google moved you to Antigravity CLI, the address is the same but the file and key differ; both are below. LFG Alarm is a social alarm clock for iPhone and Android, and Gemini can then set alarms that ring on your phone.

Also called: gemini cli mcp · antigravity cli mcp server · gemini settings.json httpUrl · agy mcp

Get it on Google PlayDownload on the App Store

Before you start

  • Get the LFG Alarm app on your phone from Google Play or the App Store, and sign in. Your AI agent makes the alarms; the app is what rings them.
  • Know which CLI you have. Google replaced Gemini CLI with Antigravity CLI (the agy command) for people signed in with a personal Google account on 18 June 2026. Gemini CLI's docs still describe using it with a Gemini API key or Vertex AI.
  • Have your LFG Alarm sign-in handy. You sign in once, on lfg.gm.

Connect Gemini CLI

  1. In a terminal:
gemini mcp add --transport http -s user lfg-alarm https://mcp.lfg.gm

Or add it to ~/.gemini/settings.json yourself. Use httpUrl, which is Gemini CLI's key for Streamable HTTP (url means the older SSE transport):

{ "mcpServers": { "lfg-alarm": { "httpUrl": "https://mcp.lfg.gm" } } }
  1. Start gemini and run /mcp auth lfg-alarm. A browser opens on lfg.gm: sign in with your LFG Alarm account and tap Allow. Gemini CLI finds the sign-in on its own, so there is no oauth block to write.
  2. Run /mcp to see LFG Alarm and its tools.

Connect Antigravity CLI

  1. Open ~/.gemini/config/mcp_config.json (shared by the Antigravity app, IDE and CLI), or .agents/mcp_config.json in one project.
  2. Add LFG Alarm with serverUrl. Antigravity does not accept url or httpUrl:
{ "mcpServers": { "lfg-alarm": { "serverUrl": "https://mcp.lfg.gm" } } }
  1. Type /mcp in the CLI to open its MCP manager. Antigravity handles sign-in on its own for servers like LFG Alarm that register clients automatically; when it asks, sign in on lfg.gm and tap Allow. In the Antigravity app or IDE, the Authenticate button is under agent settings, on the Customizations tab.

These steps follow Google's own docs. Both tools change quickly; if a label differs, look for MCP servers in /mcp.

Use it from the terminal

Ask Gemini for a one-off alarm when a long job should be done, and walk away. Lena sets one called "Model done training" for 50 minutes before a fine-tune finishes. Jun asks Gemini for an anything alarm, gets a private link back, and has Gemini add a curl -X POST to it at the end of his deploy script, so his phone rings when the deploy really finishes. See How to make any app, script or feed ring your phone.

Try it

try this

Have your AI agent make it.

Paste this into ChatGPT, Claude, Grok or any AI agent that can add a connector, not into the LFG Alarm app. The setup steps come with it: get the LFG Alarm app, connect it to your agent once, and your agent makes the alarm in your account.

Use LFG Alarm to set a one-off time alarm for 40 minutes from now called "Check the build". Then tell me the date and time it will ring.

Already have the LFG Alarm app and connected it to your AI agent?

Why it works. A one-off from now for a wait in the terminal, and the agent tells you the exact time, so you know the connection works.

More ideas: "Wake me at 7:00 every weekday and call it Standup", or "List my alarms". See Using LFG Alarm from your AI agent for everything it can do.

If it does not work

  • No browser on this machine (SSH or a container). Sign-in needs a local browser. Use a personal key instead: in LFG Alarm, open Settings > Connected AI apps > Make a key, then add "headers": { "Authorization": "Bearer lfg_pat_..." } to the server entry. The key is stored in plain text and acts as you, so keep it off shared machines.
  • LFG Alarm is ignored in Antigravity. Check the key is serverUrl, not httpUrl or url.
  • Still stuck? Write to us from the support page.

Learn more

Sources and further reading

LFG Alarm is not affiliated with Google.

questions people ask
Is this the Gemini app?

No. This page is for Google's command line tools. For the Gemini app, see [Connect LFG Alarm to Gemini](/agents/gemini).

How does it ring?

A time alarm is a real alarm on iPhone and Android and rings through silent mode. An anything alarm rings full screen on Android; on iPhone it arrives as a time-sensitive alert with the alarm's sound, so keep the ringer on.

Does LFG Alarm see my code?

No. It only receives what the CLI sends when it uses LFG Alarm's tools.

keep exploring

One use case opens another.

Never miss the moment.

Free on Android and iPhone.

Get it on Google PlayDownload on the App Store