Grok Build wants to run a command. Approve it from your phone.

Pushary connects to Grok Build's hooks. Before Grok runs a shell command, edits a file or calls an MCP tool, the call goes through your Pushary rules, and the ones that need you reach your phone. Grok can also ask you questions and send a push when work finishes.

How do I get Grok Build notifications on my phone?

Run npx pushary@latest setup --agents grok on your computer and scan the QR code with the Pushary app. Grok Build's shell commands, edits and MCP calls then reach your phone when your rules ask for you, and Grok can send a push when work finishes. A Stop hook alone only shows a banner on the computer.

Updated

Set up Grok Build notifications

bash
npx pushary@latest setup --agents grok

Run it on the computer where you use Grok Build, after you have signed in to grok once. On Windows PowerShell, run npx.cmd pushary@latest setup --agents grok. Setup writes hooks/pushary.json, a pushary MCP server in config.toml and rules/pushary.md under ~/.grok, or under $GROK_HOME when you set it. Start a new Grok session and run /hooks to check that the Pushary hooks are listed.

Hacker NewsFeatured on Hacker News
Claude Code, Codex, Cursor, Gemini CLI and more
iPhone, Android and Mac
Your code never leaves your machine

Ways to get Grok Build notifications

Grok Build has its own terminal notifications. Reaching your phone, or holding a command until you answer, needs a hook or a plugin.

How the options compare

1. Grok Build's terminal notifications

Free

Free, on the computer

Grok Build draws its interface with terminal escape sequences. Its terminal support page lists the tmux settings, set-clipboard on and allow-passthrough on, that let its notifications through. They show on the computer you are at and do not reach your phone.

2. A Stop hook you write

Free

Free, one file in ~/.grok/hooks

Grok Build runs the hooks in ~/.grok/hooks/*.json, and its hooks docs name sending a notification when a turn ends as one use. A Stop hook with osascript puts a banner on a Mac. It is local and one way: it tells you a turn ended, not that Grok is waiting on a permission, and nothing reaches your phone.

~/.grok/hooks/notify.json
{
  "hooks": {
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "osascript -e 'display notification \"Grok Build finished\" with title \"Grok Build\"'",
            "timeout": 5
          }
        ]
      }
    ]
  }
}

3. The Pushary plugin

$9.99/mo

Questions and updates, no hooks

The plugin adds Pushary's hosted MCP server and the pushary skill, and you sign in once in the browser. Grok can ask you questions and send a push when work finishes. It installs no hooks, so it never holds a tool call, and Grok's own approval prompts stay in Grok. A question asked through it closes 10 minutes after it is sent.

terminal
grok plugin install Pushary/grok-build-plugin

4. Pushary setup: approvals from your phone

$9.99/mo

For Grok Build in any terminal

One command adds Pushary's hooks, a pushary MCP server and a rules file. Before Grok runs a shell command, edits a file or calls an MCP tool, the call goes through your Pushary rules, and the ones that need you wait for your answer on your phone. Grok's own permission checks still apply after you approve. If Grok cannot run the hook or stops it, Grok can continue under its own permission settings. A turn that ends on an API error sends a push, unless the session is set to stay in the terminal.

terminal
npx pushary@latest setup --agents grok

Grok Build without notifications

You start a long task, switch windows, and Grok waits at a permission prompt nobody sees.

Without Pushary
Start a task in Grok Build
Switch to another window
Grok stops at a permission prompt
Nothing reaches your phone
You come back to a stalled turn
With Pushary
Start a task in Grok Build
Go do something else
A command that needs you reaches your phone
Approve or deny it from the notification
Grok carries on while you are away

Stop watching Grok Build spin. Start getting notified.

Connect Grok Build. Get notified when it is done.

Start your trial

$9.99/mo after a 3-day free trial. Cancel anytime.

Grok Build notification questions

How do I get a notification when Grok Build finishes?

For a free banner on the computer, add a Stop hook in ~/.grok/hooks/ that runs a notification command when a turn ends. To reach your phone, add Pushary with the plugin or with Pushary setup. Grok can then send a push when work finishes, and with setup a turn that ends on an API error sends one too, unless the session is set to stay in the terminal.

Can I approve Grok Build commands from my phone?

Yes, with Pushary setup: npx pushary@latest setup --agents grok. It adds a PreToolUse hook, the only Grok hook event that can block a tool call. Shell commands, file edits and MCP calls go through your Pushary rules, and the ones that need you wait for your answer on your phone. Grok's own permission mode and deny rules still apply.

What happens if the Pushary hook cannot answer?

Grok fails open. A hook that times out, crashes or returns malformed output lets the tool call proceed, and only an explicit deny blocks it, so Grok's own permission settings decide. If the Pushary command or Node is missing, setup's hook refuses the call on macOS and Linux. Pushary never approves a step you left unanswered unless one of your rules says so.

Does the Pushary plugin approve Grok's tool calls?

No. The plugin adds the MCP server and a skill, not hooks, so Grok's own approval prompts stay in Grok. Use Pushary setup for phone approvals. If you run setup after installing the plugin, Grok uses setup's pushary server, and your questions stay open until you answer them.

Does this setup work for Grok Bot?

No. This setup is for Grok Build, xAI's coding agent for the terminal. Grok Bot is xAI's cloud assistant, which connects to Pushary without hooks. The Grok Bot setup guide covers it.

What do I need to use Pushary with Grok Build?

Agent is $9.99/mo after a 3-day trial, with 5,000 push notifications a month. You also need the Pushary app on your phone, or the Mac app, signed in to the same account.

Building an AI product for other people? Let your users approve what your agent does, from their phone. See the Partner plan or the human-in-the-loop API.