claude-notifications
Claude Code Notifications Setup
Set up native macOS notifications for Claude Code — works both locally and on remote devpods via SSH reverse tunnel. Get alerts with sound whenever Claude needs permission, is waiting for input, or requires MCP interaction.
What It Does
- Local: Uses
terminal-notifierfor native macOS notifications when Claude needs permission, goes idle, or requires MCP input - Devpod: Routes notifications from remote devpods through an SSH reverse tunnel to the local
terminal-notifier, with OSC 9 fallback - Hooks: Configures Claude Code
Notificationhooks forpermission_prompt,idle_prompt, andelicitation_dialog
Platform
macOS only. The setup script will exit with a clear error if run on Linux/devpod. It uses brew, launchctl, and terminal-notifier — all macOS-only. The script SSHs into devpods to configure them remotely, so devpod setup is also done from your Mac.
Important: Run on Local Mac Only
Always confirm the user is running this on their local Mac, NOT on a devpod. The entire setup — including devpod configuration — is done from the local machine via SSH. The script SSHs into devpods to configure them remotely. If the user is on a devpod, ask them to switch to their local Mac terminal first.