---
title: "Termbell for Codex CLI | OpenMoney"
description: "Company incidents, deploys and security notices inside Codex CLI (OpenAI). SessionStart + UserPromptSubmit hooks in ~/.codex/hooks.json (trust them once with…"
url: https://openmoney.ai/integrations/codex
---

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

CC

Terminal agentAuto setup

# Codex CLI

Termbell in Codex 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 OpenAI's documentation; not yet exercised end to end on a real install. Tell us if it misbehaves.

[Connect Codex CLI](https://openmoney.ai/connect) [OpenAI docs](https://developers.openai.com/codex/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 codex

or by hand · ${CODEX\_HOME:-~/.codex}/hooks.json

codex mcp add termbell -- node ~/.termbell/plugin/termbell/bin/termbell.mjs mcp
codex plugin marketplace add ~/.termbell/plugin

SessionStart + UserPromptSubmit hooks in ~/.codex/hooks.json (trust them once with /hooks) and an MCP server via \`codex mcp add\`. The plugin directory is also a Codex marketplace.

MCP: \`codex mcp add termbell -- node {self} mcp\` (or \[mcp\_servers.termbell\] in config.toml). Hooks are enabled by default; non-managed hooks must be trusted with /hooks.

Prefer not to type? [Scan a QR or paste one instruction into Codex 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)[GC Gemini CLI](https://openmoney.ai/integrations/gemini-cli)[GC GitHub Copilot CLI](https://openmoney.ai/integrations/copilot-cli)[A Amp](https://openmoney.ai/integrations/amp)[All integrations](https://openmoney.ai/integrations)
