Nofax

v0.2.51
io.github.AKzar1el/nofax Checked 1 day ago Published 8 days ago

Human-in-the-loop approvals and notifications for AI coding agents through a local stdio MCP server.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

nofax_notify Send Nofax notification

Send a one-way phone notification. This tool is informational and does not create a human-response wait. Notification transport success never counts as approval.

ParameterTypeDescription
message *stringNotification body shown to the human.
titlestringOptional notification title shown to the human; defaults to "Nofax".

nofax_request_approval Request human approval

Send Allow/Deny to the phone and return a durable pending requestId. IMPORTANT: after this tool returns pending, call nofax_wait_for_response and repeat while it remains pending. Never continue the guarded action without a terminal Allow response. Set allowRefine when the human should also be able to send refinement text.

ParameterTypeDescription
message *stringGuarded action or decision context shown to the human.
allowRefinebooleanWhen true, also let the human return free-text refinement instead of only Allow or Deny.
titlestringOptional approval prompt title shown to the human; defaults to "Nofax approval".

nofax_request_choice Request human choice

Send up to three explicit options to the phone and return a durable pending requestId. IMPORTANT: call nofax_wait_for_response and repeat while pending; do not choose on the human's behalf.

ParameterTypeDescription
message *stringQuestion or decision context shown to the human.
options *arrayOne to three explicit choices to present to the human.
titlestringOptional choice prompt title shown to the human; defaults to "Nofax choice".

nofax_request_refinement Request human refinement

Ask the human for free-text refinement through the configured Nofax Refine iOS Shortcut. Use this when free-text edits are needed; use nofax_request_approval for Allow/Deny or nofax_request_choice for predefined options. Returns a durable pending requestId; call nofax_wait_for_response and repeat while pending.

ParameterTypeDescription
message *stringContext or draft the human should refine with free text.
titlestringOptional refinement prompt title shown to the human; defaults to "Nofax refinement".

nofax_wait_for_response Wait for Nofax human response

Long-poll a durable Nofax request for up to 240 seconds. If the result is pending, you MUST call this tool again with the same requestId. Repeat indefinitely until a terminal response is returned or the user explicitly changes/cancels the goal. Do not continue the guarded action while pending.

ParameterTypeDescription
requestId *stringDurable request handle returned by a nofax_request_* tool.
waitSecondsintegerMaximum seconds to long-poll during this call; defaults to 240. A timeout still returns pending, never approval.

nofax_get_request Get Nofax request

Inspect safe metadata and terminal state for one known durable requestId without waiting. Use nofax_wait_for_response when the caller must wait for a human decision, or nofax_list_pending to recover requestIds after interruption. Secret response topics are never returned.

ParameterTypeDescription
requestId *stringDurable Nofax request handle to inspect without exposing its secret response topic.

nofax_list_pending List pending Nofax requests

List a bounded set of unresolved Nofax request handles for recovery after client or conversation interruption. Secret response topics are never returned.

ParameterTypeDescription
limitintegerMaximum number of unresolved requests to return; defaults to 20.