Troubleshooting
Fix Pushary agent notifications that do not arrive. What to do when your phone does not buzz, the agent does not ask, or doctor reports a failed check.
Updated
Most problems with agent notifications come down to three things: no phone is paired, the agent's hook is not running, or a rule decided the call without asking you. Each section below starts with the fix, then the reasons behind it. Start by running the health check on the machine where your agent runs:
npx -y pushary@latest doctorDoctor checks every configured agent, the connection to Pushary, your key and your plan, then sends a real test push to your phone. On Windows PowerShell, type npx.cmd -y pushary@latest doctor.
If Claude Code runs but nothing reaches your phone, Claude Code notifications not working walks through the Claude Code side.
Setup says no matching version exists before a date
Your npm only installs releases older than a set age (min-release-age or before in ~/.npmrc). A new Pushary release is too young for it. This happens when npx runs through a pnpm, yarn or bun version that ignores ~/.npmrc, so setup starts on a newer release than npm will install.
Pushary 1.9.193 and later handle this themselves. Before setup changes anything, it asks npm which release your setting allows, says so, and continues with that release and the same options.
On an older release, keep the setting and run setup through npm, so npm picks a release your setting allows:
npm exec --yes --package=pushary@latest -c "pushary setup --agents fx"Replace fx with your agents, separated by commas. On Windows, use npm.cmd.
Setup installs exactly the release that runs it, so the release that writes your agent settings is the one that runs them. Do not turn off the setting or that pin to get past this error.
Pushary 1.9.161 and later check with npm before installing, so this error leaves nothing behind and automatic updates install the newest release your setting allows. On an older release it could leave an install lock behind, and the next setup or upgrade then says "An earlier installation did not finish safely". On macOS and Linux, Pushary 1.9.164 and later clear that lock themselves the next time setup or upgrade runs, once the lock is more than an hour old, the process that started the install has exited and no npm install of Pushary is still running. On an older release, on Windows, or to retry within the hour, check that no npm install is still running, then remove the lock and run the command above again:
rm ~/.pushary/auto-update.lockSuccessful sign-in or push delivery does not mean the agent was configured. After setup succeeds, restart the agent and send a test question. fx currently supports Pushary questions and notifications through MCP; its own permission prompts still wait in the terminal.
My phone did not buzz
Fix: run npx -y pushary@latest doctor and read the Phone reachable and Push notification sent lines. If no phone is paired, pair the Pushary app. This keeps the key this computer already has:
npx -y pushary@latest pairGet the app from the App Store or Google Play first, and sign in with the same account. Other reasons the phone stays quiet:
- You were at the machine. In When away, presence can hold back a bounded approval's phone push while the decision waits in the agent or on the Mac app. Ordinary full-access MCP questions without a host deadline can reach both Mac and phone. To test the phone, switch to Always for a while in the app or the dashboard.
- Your mode sends no approval push. In agent sends no approval alert. Alert only sends an alert with no approve or deny. See the four approval modes.
- A rule approved the call. Read-only commands such as
lsandgit status, built-inRead, and anything you tapped Always allow on run without asking. Check your rules at Dashboard > Agent > Policies. - Notifications are off on the phone. On iPhone, open Settings > Notifications > Pushary and turn on Allow Notifications. On Android, open the app's notification settings and allow them.
- The push was held back. The kill switch, a snooze, your task update setting or In agent mode hold back notifications.
send_notificationthen returns"sent": 0and asuppressedline that says why. The notification is still in your activity feed. - The call targeted subscribers.
send_notificationwithsubscriberIds,externalIdsortags, and the REST endpointPOST /api/v1/server/send, reach browser push subscribers only, never the phone app.
The agent did not ask me
Fix: confirm the agent runs a Pushary hook, then check what decided the call. Run npx -y pushary@latest doctor and look for a failed line under that agent.
- The agent has no hook. Windsurf, Claude Desktop, Cowork, ChatGPT and other MCP-only agents choose when to ask. Their tool calls are not gated. Supported agents shows which agents enforce.
- Claude Code's permission mode decided. In plan, auto and dontAsk modes, Pushary leaves tool calls to Claude Code. In acceptEdits, file edits are left to Claude Code, and shell commands still come to Pushary. The kill switch and deny rules still apply in every mode. Set
PUSHARY_RESPECT_PERMISSION_MODE=0to gate calls in every mode. - Claude Code's own allowlist approved it. A command your Claude Code settings already allow runs without asking Pushary.
- A Pushary rule approved it. Read-only commands, built-in
Readand Always allow rules run silently. See the auto-approve shortcut. - The agent started before setup. Restart the agent after you run setup so it loads the hooks.
- Codex has not trusted the hooks. See doctor says "Codex: hooks trusted" failed.
The agent cannot see the Pushary tools
Fix: restart the agent after setup, then check that the MCP server is configured.
- In Claude Code, run
claude mcp listand look forpushary. - In Cursor, open Cursor Settings and check that Pushary is listed and connected under MCP.
- The server URL must be exactly
https://pushary.com/api/mcp/mcp. - For a stdio client, check that
npxis on yourPATH.
The agent says "Not authenticated" or a call returns 401
Fix: run npx -y pushary@latest status to see which key is in use and whether pushary.com accepts it.
- A key looks like
pk_xxx.xxx:pk_, 24 hex characters, a dot, and a 48 hex character secret. Copy the whole key. - The header must be
Authorization: Bearer pk_xxx.xxx. - If
PUSHARY_API_KEYis set in your shell, it wins over the key in~/.pushary/config.json, and the CLI warns when they differ. Check it withecho $PUSHARY_API_KEY. - Keys belong to one site. With several sites, use the key for the right one.
- A revoked key stops working at once. Create a new one at Settings > API keys.
doctor says "Phone reachable: no phone paired"
Fix: pair the Pushary app with npx -y pushary@latest pair, then run doctor again. It keeps this computer's key.
The key works, but nothing is paired that can receive an approval. If doctor says another device on the site is paired but not yours, the same command pairs your own phone.
doctor says "Plan active" failed
Fix: activate your plan at the link doctor prints, then run npx -y pushary@latest doctor.
Doctor prints "Your Pushary plan is not active, so approvals will not deliver yet." Your key is valid, and activating the plan does not require a new one. Until then, ask_user, send_notification and propose_scope return a 403 with the code subscription_required.
doctor says "hook command resolves" failed
Fix: run npx -y pushary@latest setup again. It installs the hook commands globally.
The agent's settings point at a Pushary hook command, such as pushary-hook for Claude Code, that is not on your PATH. Check with which pushary-hook. For Claude Code, the hooks live in ~/.claude/settings.json under hooks.PreToolUse, and the MCP server in ~/.claude.json under mcpServers.pushary.
doctor says "Codex: hooks trusted" failed
Fix: type /hooks in Codex to enable and trust the Pushary hooks, or run npx -y pushary@latest setup again to repair them.
Codex runs a hook only after you trust it. Setup writes the hooks to ~/.codex/hooks.json and pre-trusts them in ~/.codex/config.toml. Native hooks need Codex 0.122.0 or newer. On an older Codex, setup installs the deprecated notify handler instead: it needs pushary-codex on your PATH and an absolute path in the notify entry of ~/.codex/config.toml. Upgrade Codex and run setup again to get approvals.
doctor says "MCP server reachable" failed
Fix: check that this machine can reach pushary.com:
curl -sS -o /dev/null -w '%{http_code}\n' https://pushary.com/api/mcp/mcpAny status code, such as 401, means the server is reachable. A timeout or connection error means something on your network blocks it. Behind a corporate proxy, set HTTPS_PROXY; CLI commands such as setup and doctor honor it. The proxy must also allow streaming HTTP responses.
The approval timed out before I answered
Fix: give yourself longer in Dashboard > Agent > Policies. Raise Timeout for Always or Push window for When away, up to 300 seconds.
New workspaces start on Always with a 60 second timeout. Switched to When away, the push window starts at 20 seconds. When time runs out, the rule's If you don't respond action applies: auto approve, auto deny, ask in the terminal, or keep waiting for your phone. Your phone also needs a network connection to send the answer.
A question expired before I could answer
Fix: read the returned state and handoff instructions. If the question expired, continue only through the agent's current approval flow.
Ordinary full-access MCP questions without a host deadline do not expire after ten minutes. Restricted connectors, REST asks and native permission hooks retain their existing deadlines. A saved answer does not restart a closed agent or authorize a different request.
I get "Rate limit exceeded"
Fix: answer or cancel open questions, or wait a few minutes before sending more notifications.
| Limit | Value |
|---|---|
| Pending questions per agent session | 8 |
| Pending questions per site | 25 |
| MCP notifications per site | 10 every 5 minutes |
The REST API has its own per-workspace limits by plan; see Pricing and limits. A REST 429 carries a Retry-After header.
Hermes is not sending anything
Fix: check that the plugin is in Hermes's plugins folder, enabled, and loaded by the running Hermes.
ls ~/.hermes/plugins/pushary
hermes config get plugins.enabled
npx -y pushary@latest doctor- Enable it with
hermes plugins enable pushary. Runningnpx -y pushary@latest setup --agents hermeswrites the plugin and enables it for you. - Restart Hermes after installing, so it loads the plugin:
hermes gateway restart. Doctor says whether the running Hermes has loaded it. - Set
PUSHARY_API_KEYin the shell where Hermes runs. - Using the MCP server instead? Check that
config.yamlhas amcp_servers.pusharyentry. - The "Hermes run failed" push comes only from the native plugin, not the MCP server. A tool call that fails along the way never pushes, because Hermes recovers from it.
See the Hermes guide for the full setup.
OpenClaw blocks every exec call, or nothing reaches my phone
Fix: check that the plugin is enabled, registers its gate and can read your key.
openclaw plugins inspect pushary --runtime --json
npx -y pushary@latest doctortypedHooksshould listbefore_tool_call. If the plugin is missing or disabled, runnpx -y pushary@latest setup --agents openclaw.- Read the reason OpenClaw shows for a blocked call. It says whether the key is missing or rejected, no phone is connected, or Pushary could not be reached.
- The gateway needs the key in its own environment or in
~/.pushary/config.json. If it runs as another user or as a service, putPUSHARY_API_KEYin that user's~/.openclaw/.envand restart the gateway. - Only gated tools ask. By default that is every
execcall and theprocessactions that send input to a running session; add more inplugins.entries.pushary.config.gatedTools.
See the OpenClaw guide for the full setup.
Still stuck? Run npx -y pushary@latest doctor --bundle. It writes a redacted diagnostics file you can attach when you contact support.
Next steps
Run the quickstart again
Set up your agents and pair your phone with one command.
Check every CLI flag
Every command and flag in the Pushary CLI, including doctor and status.