Send questions, approvals, and notifications to the user's phone via push notification with end-to-end encryption. Integrates with Claude Code and Codex CLI for mobile-based approval workflows.
Four tools with complete input schemas and descriptions. Naming follows verb_noun pattern (nudge_ask_user, nudge_approve, nudge_notify, nudge_status). Descriptions are detailed (150-300 chars) and explain WHEN to use each tool. Parameters have types and descriptions. However, output schemas are not documented, responses are wrapped in generic mcpResult() without specifying return field structure. Error handling is minimal; no recovery guidance or actionable error messages visible in handlers. Tool composition is sound (each does one thing), but missing pagination/limits for list-like operations and no explicit idempotency guarantees.
Send an approval request to the user's phone via push notification. The user taps Approve or Deny. Returns { approved: boolean, reason: string }. Use this for yes/no decisions that are NOT tool-call approvals — e.g., "Deploy to prod?", "Create PR?", "Proceed with this approach?". Tool-call approvals (Bash, Write, Edit) are handled automatically by hooks.
Send a question to the user's phone via push notification. The user selects from provided options or types a free-text answer. Recommended for questions in nudge mode. MCP tools have reliable event lifecycle — no consistency issues with hook-based AskUserQuestion cancellation (SIGKILL).
Send a one-way notification to the user's phone (fire-and-forget). Use for status updates, build results, error alerts, or progress milestones. Does NOT wait for a response — returns immediately. IMPORTANT: Always send a "success" notification when you finish a task, with a brief summary of what was accomplished in the body and conversation context in the context field.
Check Nudge connection and configuration status. Returns pairing state, server connectivity, auth token validity, and current ask mode. Optionally switches the ask mode when "mode" parameter is provided.
Output schemas not documented. Tools return mcpResult(data) with generic text wrapping; no structured schema for response fields (e.g., nudge_ask_user returns {selected: string, freeText?: string} but this is not declared). LLMs cannot plan downstream tool calls without knowing response structure.
Error handling lacks recovery guidance. Handlers (runAskUser, runApprove, etc.) are not visible in source; no evidence of try-catch blocks returning actionable error messages. If a push notification fails or times out, the LLM receives no guidance on retry strategy or fallback.
nudge_status parameter 'mode' lacks validation. Enum is declared (nudge|terminal) but no error message shown if invalid value passed. LLM may pass typos like 'nudge_mode' or 'mobile' without clear feedback.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | B | 70 | <=2025-11-25 | v2 |
nudge_ask_user and nudge_approve lack timeout/cancellation semantics. Description mentions 'reliable event lifecycle' but no explicit timeout parameter or guidance on how long the tool waits for user response. If user never responds, does the tool hang indefinitely?
nudge_notify is fire-and-forget but no confirmation of delivery. Tool returns immediately without indicating success/failure of push delivery. If the notification service is down, the LLM has no way to know the user never received the message.