Skip to content

The blip command

blip is a small command-line tool that comes with Blipbar. It does three things:

  • blip <command> runs a command and shows it in the notch while it runs. When it finishes, a drop-down says it’s done or that it failed.
  • blip ask asks a question in the notch from a script and waits for the click.
  • blip mcp is an MCP server. An agent connected to it (Claude Code, Codex, Cursor) can ask you a question in the notch and wait for the answer, show a long task’s progress, and say when something finished.

It works on this Mac only, and it’s free. The source is in cli/ (Go).

Settings › Command Line › Add to PATH. Blipbar copies the command to ~/Library/Application Support/Blipbar/bin/blip and links /usr/local/bin/blip to that copy. macOS asks for your password when /usr/local/bin belongs to the system, as it does unless Homebrew took it over on an Intel Mac. No shell file is edited: /usr/local/bin is on every shell’s PATH through /etc/paths. Remove takes the link away and nothing else.

If something else is already called blip in /usr/local/bin, Blipbar leaves it alone and says so. Run Blipbar’s by its full path instead (Copy Full Path).

The copy is brought up to date each time Blipbar launches, so an update reaches the command and the agents that run it. A copy talks to the Blipbar that installed it: it reads webhook.json beside its own bin folder. BLIPBAR_SUPPORT_DIR or BLIPBAR_PROFILE point it at another.

Terminal window
blip npm test
blip --name "Nightly backup" ./backup.sh
blip -- ask-the-database # -- runs a program that shares a name with a subcommand
  • Nothing shows for the first two seconds, so quick commands stay quiet.
  • After that the notch shows the command, how long it’s been running, and its latest line of output. When that line shows a percentage or a count like [12/40], it becomes a progress bar.
  • When it finishes, the row turns done or failed and a drop-down says so. A failure shows the exit code and the last line. A finished run stays in the panel for 15 minutes, a failed one for an hour.
  • Stopped with ⌃C, it’s removed: you’re at the terminal already. ⌃C stops a loop or a script around blip too, as it would without it.
  • Running the same command in the same folder replaces its last result.
  • Output, colours, prompts and the exit code are the command’s own. Whatever of stdout and stderr is a terminal stays one (the command runs on a pseudo-terminal, as script does), so progress bars and colours look as they would without blip, and ⌃Z, fg and bg work. What a command starts in the background (server &) keeps running after it ends. If Blipbar isn’t running, the command runs as usual and nothing shows (BLIP_DEBUG=1 says why).
  • A blip that’s killed outright goes stale in the notch within 30 seconds rather than looking like it’s still running.
Terminal window
if blip ask "Deploy to production?"; then ./deploy.sh; fi
env=$(blip ask "Which environment?" staging production)
blip ask "Run the migrations?" --code "rails db:migrate"
name=$(blip ask "What should the release be called?" --text)

The choices default to Yes and No (four at most; the drop-down shows the first two, and the opened question shows them all). --code adds the command or path the question is about, --text adds a reply field (on its own, with no choices, the reply field is the only button), and --timeout sets how long to wait in seconds (300 unless set, 600 at most). The answer is printed. The exit code is 0 for the first choice or a typed reply, 1 for any other choice, 2 when no answer came in time or the question was dismissed, and 3 when Blipbar isn’t running. ⌃C takes the question down and exits 130, as a shell reports it.

Settings › Agents › Questions in the notch, Connect per agent. Each change is shown before it’s written, and the file is backed up the first time Blipbar touches it.

Agent What connecting changes
Claude Code Runs claude mcp add --scope user blipbar -- <copy> mcp, and adds mcp__blipbar to permissions.allow in ~/.claude/settings.json, so asking never waits on a permission prompt in the terminal.
Codex Adds [mcp_servers.blipbar] to ~/.codex/config.toml, with tool_timeout_sec = 660: Codex gives a tool a minute by default, and a question can wait ten.
Cursor Adds blipbar to mcpServers in ~/.cursor/mcp.json.

Sessions started after connecting have the tools:

Tool What it does
ask Asks a question and waits for the answer: question, choices (up to 4, Yes and No unless given), code, allow_text, timeout_seconds (10 to 600, 300 unless given).
progress Shows a long task while it runs: task, step, fraction. Each call moves it on.
notify Says something finished or failed: message, outcome (success, failure or info), and task to finish one shown with progress.

A question shows under the agent’s name, in its colour, with the project folder it’s working in. It works whatever the agent’s permission mode, which the hooks’ Approve and Deny don’t: an agent running without permission prompts still has questions. If the agent is interrupted while asking, the question leaves the notch. A question nobody answers leaves after its timeout, and the agent is told no answer came.

Agents decide for themselves when to ask. To make it a habit, say so where yours reads its instructions (CLAUDE.md, AGENTS.md): “Before pushing, deleting files, or anything else that’s hard to undo, ask me in the notch.”

Through the local webhook server (the runtime protocol, “Webhooks”): POST /v1/blips with ?from= naming who it’s from (“Terminal”, or the agent), ?await= holding a question open until a button is pressed, then /end or DELETE. Anything else on the Mac can do the same with curl.

scripts/build-blip.sh builds a universal binary into cli/dist/blip at the app’s version. make build runs it when Go is installed; without Go the app builds with no blip, and Settings says so. The build phase copies it into Contents/Resources/bin/blip and signs it, release.sh won’t ship without it, and make cli-test runs its tests.