---
title: "Termbell for Gemini CLI | OpenMoney"
description: "Company incidents, deploys and security notices inside Gemini CLI (Google). MCP server plus SessionStart and BeforeAgent hooks in ~/.gemini/settings.json…"
url: https://openmoney.ai/integrations/gemini-cli
---

[All integrations](https://openmoney.ai/integrations)

GC

Terminal agentAuto setup

# Gemini CLI

Termbell in Gemini CLI: your company's incidents, deploy freezes, security notices and CI failures, added to the session's context the moment it starts, filtered to the channels, severities, repos and keywords you chose.

Configured per Google's documentation; not yet exercised end to end on a real install. Tell us if it misbehaves.

[Connect Gemini CLI](https://openmoney.ai/connect) [Google docs](https://geminicli.com/docs/hooks/)

~/code/payments-api — coding agent

› bump stripe-node to v18 in payments-api and deploy

## Set it up

One command does it, and it's idempotent.

terminal

curl -fsSL https://openmoney.ai/install.sh | sh
termbell login
termbell setup gemini-cli

or by hand · ~/.gemini/settings.json

{
  "mcpServers": { "termbell": { "command": "node", "args": \["~/.termbell/plugin/termbell/bin/termbell.mjs", "mcp"\] } },
  "hooks": { "SessionStart": \[{ "hooks": \[{ "name": "termbell", "type": "command", "command": "node ~/.termbell/plugin/termbell/bin/termbell.mjs hook", "timeout": 10000 }\] }\] }
}

MCP server plus SessionStart and BeforeAgent hooks in ~/.gemini/settings.json (hookSpecificOutput.additionalContext), and the change gate as a BeforeTool hook on run\_shell\_command.

Prefer not to type? [Scan a QR or paste one instruction into Gemini CLI](https://openmoney.ai/connect) and it sets itself up.

### How updates arrive

At session start, automatically. Each update appears once; unacknowledged warnings and criticals from the last 48 hours come back at every new session until acknowledged. Prompt-time checks are throttled to every 5 minutes.

### MCP tools the agent gets

-   `termbell_updates`newest relevant updates, this repo first
-   `termbell_ack`acknowledge: seen it, will act
-   `termbell_mark_read`seen, no commitment
-   `termbell_channels`organisations, channels and current rules
-   `termbell_set_subscriptions`change what reaches you

Also for terminal agents

[CC Claude Code](https://openmoney.ai/integrations/claude-code)[CC Codex CLI](https://openmoney.ai/integrations/codex)[GC GitHub Copilot CLI](https://openmoney.ai/integrations/copilot-cli)[A Amp](https://openmoney.ai/integrations/amp)[All integrations](https://openmoney.ai/integrations)
