Listed from the MCP registry; nobody on Odel publishes it.
Human-in-the-loop approvals and notifications for AI coding agents through a local stdio MCP server.
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y nofax
MCP client config
{
"mcpServers": {
"nofax": {
"command": "npx",
"args": [
"-y",
"nofax"
]
}
}
}Human-in-the-loop approvals and notifications for AI coding agents, without running a Nofax SaaS.
Nofax is a small open-source bridge between an agent and a human. Local mode can pause an AI workflow, notify your phone, and return an explicit decision. An optional self-deployed Cloudflare Worker exposes a deliberately narrower remote MCP surface for one-way notifications and safe request inspection.
No Nofax account. No paid model API. No inbound port on your machine. MIT licensed.
Current status: local Nofax is on the stable
0.2.xline. The optional Cloudflare Worker is the upcoming0.3.0remote surface and is developed alongside the local package.
Agent workflows increasingly need a clean answer to one question: when automation reaches a human decision boundary, how does it ask without pretending that silence means approval?
Nofax keeps that boundary explicit:
| Capability | Local Nofax 0.2 | Remote Worker 0.3 |
|---|---|---|
| Transport | stdio / CLI hooks | MCP Streamable HTTP |
| One-way notification | Yes | Yes |
| Allow / Deny | Yes | No |
| Explicit choices | Yes | No |
| Free-text refinement | Yes | No |
| Wait for human response | Yes | No |
| Read request metadata | Yes | Yes |
| Durable state | Local files | Existing SQLite Durable Object rows |
| Hosted by Nofax | No | No — self-deployed Worker |
| Remote authentication | Local process boundary | Private bearer key |
The remote Worker is not a hosted remote-approval service. It can send an informational notification and inspect existing request state, but it has no approval callback, choice, refinement, wait, webhook, or arbitrary remote-write endpoint.
npm install -g nofax
Requires Node.js 20 or newer.
nofax init
Nofax creates ~/.nofax/config.json and generates a high-entropy notification topic. With the default transport, subscribe to the displayed topic in the ntfy mobile app.
To check local setup without contacting ntfy or exposing the private topic,
run nofax doctor. It reports whether the saved configuration is valid,
missing, invalid, or requires legacy topic rotation. Exit code 0 means
local configuration only is valid; 1 means it needs attention. Its JSON
output never includes the topic or private server URL. A successful local
check does not prove the phone receives notifications or that anyone has
approved a request; use the next step to test delivery explicitly.
nofax test
To inspect local outstanding approval requests without sending a notification or
granting a decision, run nofax pending (or nofax pending --limit 10). It
prints only request IDs, kinds, statuses, and creation times as JSON; it does
not print request prompts or the ntfy subscription topic. This is a read-only
local diagnostic, not an approval interface.
nofax notify --title "Build finished" "All tests passed"
nofax approve --title "Deploy?" "Release 1.4.0 is ready"
nofax refine --title "Refine draft" "Tell me what to change"
An approval resolves to stable terminal JSON:
{"decision":"allow"}
or:
{"decision":"deny"}
If the request is still pending, times out, disconnects, or hits a transport error, Nofax never converts that condition into approval.
For scripts using nofax approve, exit status 0 means explicit allow, 2 means explicit deny, 3 means timeout, and 1 means an error or unrecognized decision. The terminal JSON decision remains unchanged. Never treat a denied request as successful based solely on receipt of a response.
ntfy client compatibility: On iOS, the ntfy app may leave an HTTP action notification visible after you tap Allow or Deny, even when the action requests clear: true (upstream ntfy issue #1728). A still-visible notification does not prove whether Nofax recorded a decision: rely on Nofax's terminal allow/deny response or pending/timeout state, not on whether the notification disappears. If you use the ntfy web app instead of the mobile app, HTTP action buttons in notifications are supported in Chrome, Edge, and Opera but not Firefox or Safari; cross-origin callbacks also need the target server to allow CORS (ntfy web-app support).
If PowerShell reports that npm.ps1 or npx.ps1 cannot be loaded because
scripts are disabled, invoke npm's Windows .cmd launchers explicitly.
The usual global install creates a nofax.cmd launcher too:
npm.cmd install --global nofax
nofax.cmd init
nofax.cmd test
For a one-off local MCP launch without a global Nofax installation, use
npx.cmd -y nofax mcp (the final mcp argument is required). An MCP client
that launches npx through PowerShell can set its command to npx.cmd with
arguments ["-y", "nofax", "mcp"]. These are executable launchers, not a
request to disable or bypass your organization's PowerShell execution policy.
If executable launches themselves are restricted, follow your administrator's
policy instead. See Microsoft's PowerShell execution policy reference.
For Claude Desktop, see the desktop extension setup and verification guide and the local privacy notice.
Start the local stdio MCP server:
nofax mcp
Claude Code can launch the published local MCP server directly:
claude mcp add nofax -- npx -y nofax mcp
Codex CLI can register the same stdio server:
codex mcp add nofax -- npx -y nofax mcp
Gemini CLI can install the local MCP extension from this public repository:
gemini extensions install https://github.com/AKzar1el/nofax
The extension manifest pins the published Nofax package version. Review the extension at install time and keep Gemini's native permission and workspace-trust controls enabled. Complete the Quick start configuration for your own ntfy transport before requesting notifications or approvals. The extension does not install hooks or change approval policy; the existing hook setup below remains separate and opt-in. Use either the extension or manual registration, not both.
Alternatively, Gemini CLI can register the MCP server in user settings:
gemini mcp add --scope user --transport stdio nofax npx -- -y nofax mcp
Gemini CLI may mark configured servers Disabled when the current workspace is untrusted. Review and trust only workspaces you control through Gemini's normal trust flow; do not use --trust to bypass MCP tool-call confirmations. Registering an MCP server does not automatically install the separate permission hooks documented below.
VS Code can register Nofax in its user-profile MCP configuration. Open the Command Palette, choose MCP: Open User Configuration, and add this entry to mcp.json:
{
"servers": {
"nofax": {
"type": "stdio",
"command": "npx",
"args": ["-y", "nofax", "mcp"]
}
}
}
Merge the nofax entry with any existing servers rather than replacing them. Review VS Code's normal server-trust prompt before starting it; MCP registration does not install separate permission hooks.
For other stdio MCP clients, set the command to npx with arguments ["-y", "nofax", "mcp"]. The final mcp argument is required: running npx -y nofax without it prints the CLI usage and exits instead of starting a server. On Windows, use npx.cmd when a PowerShell script-execution policy prevents the .ps1 shim from running. Complete the Quick start configuration before using notification or approval tools.
Local MCP exposes:
nofax_notifynofax_request_approvalnofax_request_choicenofax_request_refinementnofax_wait_for_responsenofax_get_requestnofax_list_pendingInteractive requests return a durable request ID. nofax_wait_for_response performs a bounded wait; callers must repeat the wait while the request remains pending rather than infer approval.
Use Nofax as a local PermissionRequest hook in ~/.claude/settings.json:
{
"hooks": {
"PermissionRequest": [
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "nofax hook claude"
}
]
}
]
}
}
Codex hooks are enabled by default. Configure ~/.codex/hooks.json:
{
"hooks": {
"PermissionRequest": [
{
"matcher": ".*",
"hooks": [
{
"type": "command",
"command": "nofax hook codex",
"statusMessage": "Waiting for Nofax approval"
}
]
}
]
}
}
Restart Codex, run /hooks, and review/trust the exact Nofax hook definition before relying on it. Codex skips non-managed hooks until they are trusted, and a changed hook definition must be reviewed again. If an administrator or local policy has explicitly disabled hooks, re-enable them with [features] hooks = true in ~/.codex/config.toml.
Codex currently evaluates PermissionRequest hooks before its configured approval reviewer. A terminal Nofax Allow/Deny therefore resolves the request before Codex can route it to approvals_reviewer = "auto_review" (or the legacy guardian_subagent value). If you want Nofax to be the human approval surface, use approvals_reviewer = "user"; do not combine this Nofax approval hook with Auto-review/Guardian expecting both reviewers to run. Current Codex hook input does not expose the effective reviewer, so Nofax cannot safely distinguish a user-routed approval from one that Codex intended to auto-review.
PermissionRequest hooks are also serial with Codex's native approval UI: while Nofax is waiting, the normal Codex approval prompt is not simultaneously available. If Nofax returns no decision (for example after timeout or transport failure), Codex falls back to its normal approval flow. Nofax never converts that fallback condition into approval.
Current Gemini CLI builds expose a synchronous BeforeTool hook that can allow or deny a tool call. Route selected tools through Nofax in ~/.gemini/settings.json:
{
"hooks": {
"BeforeTool": [
{
"matcher": "run_shell_command|write_file|replace",
"hooks": [
{
"name": "nofax-approval",
"type": "command",
"command": "nofax hook gemini",
"timeout": 330000
}
]
}
],
"Notification": [
{
"matcher": "ToolPermission",
"hooks": [
{
"name": "nofax-notification",
"type": "command",
"command": "nofax hook gemini"
}
]
}
]
}
}
BeforeTool waits for an explicit Nofax Allow/Deny result. A Nofax timeout or transport failure returns Gemini's ask decision, forcing the native interactive confirmation instead of allowing an auto-approval policy to treat the missing Nofax decision as permission. The Notification hook remains advisory and is forwarded only as a phone notification.
Adjust the matcher to the tools you want Nofax to gate. Gemini's hook timeout is in milliseconds and must cover more than the configured human-decision window: Nofax can spend up to 15 seconds publishing the request, 300 seconds waiting for a decision by default (timeoutSeconds), and another 5 seconds on best-effort confirmation. The example allows 330 seconds, including 10 seconds of startup/scheduling headroom. If you increase timeoutSeconds, increase the Gemini hook timeout by the same amount; otherwise Gemini may terminate the hook before Nofax finishes. A missing decision still falls back to native confirmation, never automatic approval.
Pi 1.x has built-in MCP support for local stdio servers; see Pi's official MCP documentation. After nofax init, register and check the Nofax server:
pi mcp add nofax -- npx -y nofax mcp
pi mcp list
Pi's default MCP request timeout is 60 seconds. If you use nofax_wait_for_response with waits longer than that (up to Nofax's 240-second maximum), add "timeout": 300 to the existing nofax entry in ~/.pi/agent/mcp.json. Do not replace unrelated server entries or settings:
{
"mcpServers": {
"nofax": {
"command": "npx",
"args": ["-y", "nofax", "mcp"],
"timeout": 300
}
}
}
Pi's built-in MCP configuration lives in ~/.pi/agent/mcp.json. Third-party extensions that replace /mcp (such as pi-mcp-adapter) take over the interactive MCP integration and may not load that built-in configuration. Verify which MCP implementation your Pi session is using before adding or changing a server; do not disable Pi's permission gates or install a second MCP runtime just for Nofax.
This registers MCP tools, not an automatic permission hook or idle-session wake-up. While a request is pending, the agent must call nofax_wait_for_response again; a missing reply, timeout, or disconnect is never approval. Use Pi's normal trust/permission workflow and verify your installed Pi build exposes pi mcp before applying these instructions.
The worker/ package provides a private, self-deployed MCP endpoint:
remote MCP client
|
| authenticated Streamable HTTP
v
Cloudflare Worker
|
+--> nofax_notify ------> ntfy ------> phone
|
+--> SQLite Durable Object
|
+--> get request metadata
+--> list pending requests
It exposes exactly three tools:
nofax_notify — one-way notification only;nofax_get_request — read one safe request projection;nofax_list_pending — read unresolved, unexpired request projections.Fresh deployments have no requests to inspect. These two inspection tools
read only historical records already stored in that Worker's Durable Object,
such as rows preserved from earlier experimental builds. nofax_notify does
not create a request record, and local Nofax approvals are not synchronized
with the remote Worker. On a new Worker, nofax_list_pending therefore
returns an empty list and nofax_get_request reports not found until a
historical row exists. Use the local CLI/stdio MCP for actual phone approvals.
Deploy from worker/:
npm ci
npx wrangler login
npx wrangler secret put NOFAX_REMOTE_KEY
npx wrangler secret put NTFY_TOPIC
npm run check
npm run deploy
Preferred MCP connection:
https://<worker>.workers.dev/mcp
Authorization: Bearer <NOFAX_REMOTE_KEY>
Clients that cannot attach a static authorization header can use the compatibility capability path:
https://<worker>.workers.dev/mcp/<NOFAX_REMOTE_KEY>
Treat the complete capability URL like a password.
See docs/remote-mcp.md for deployment, threat boundaries, and qualification details.
The default public ntfy.sh service applies publisher quotas. Serverless platforms such as Cloudflare Workers may use shared outbound IP space, so a Worker can receive an ntfy 42908 daily-quota response even when that individual Worker has sent very little traffic. That limit is imposed by ntfy, not by the Cloudflare Workers request quota.
For reliability-sensitive deployments, use a notification provider whose quota is tied to your own authenticated account/identity, or operate a trusted self-hosted transport. Do not build a critical workflow around anonymous public-topic quota assumptions.
Nofax is a transport and human-interaction component, not an authorization policy engine.
Local mode:
Remote mode:
nofax_notify performs an external messaging side effect;NOFAX_REMOTE_KEY is a bearer credential;Read SECURITY.md before using Nofax with sensitive information.
Default local config lives at ~/.nofax/config.json:
{
"version": 1,
"server": "https://ntfy.sh",
"topic": "nofax_<random>",
"timeoutSeconds": 300
}
Override the home directory with NOFAX_HOME:
NOFAX_HOME=/path/to/nofax-home nofax config
nofax config masks the notification topic by default because the topic grants
access to notification content and may be captured in terminal or agent logs.
Use nofax config --show-topic only when you deliberately need to view or copy
the topic locally, and keep that output private. A legacy repeated topic is
always shown as [ROTATION_REQUIRED], even with --show-topic.
The initial nofax init and explicit nofax init --force setup outputs still
print the subscription URL needed to connect your phone.
Use another ntfy-compatible server with:
nofax init --server https://ntfy.example.com --force
Running nofax init again without options reuses the existing configuration
without printing the saved notification topic. Use nofax config --show-topic
privately if you need to resubscribe an existing phone.
When a configuration already exists, supplying --server, --topic, or
--timeout requires --force; otherwise Nofax stops instead of silently
ignoring the requested change. --force rotates the phone topic while keeping
the existing valid server and timeout unless you override them. If the saved
configuration is invalid, --force can recover the phone topic and use safe
defaults for invalid timeout settings. If the saved server is malformed or the
saved file is unreadable, oversized, or has an unsupported version, provide an
explicit --server URL with --force: Nofax refuses to silently switch a
possibly private endpoint to public ntfy.sh. Confirm the new displayed
subscription in your ntfy app after each rotation.
Notification content and one-time response-topic callbacks can carry sensitive
capabilities. Custom servers require HTTPS; HTTP is supported only for local
development on localhost, IPv4 loopback (127.0.0.0/8) or [::1].
Previously configured non-loopback HTTP endpoints must be moved to HTTPS
before notifications or approval polling will work. This is not an approval
fallback: transport failures always remain pending, denied or timed out.
If your ntfy server requires an access token to publish to the phone's topic,
set NOFAX_NTFY_TOKEN in the environment of the local NoFax process
(CLI, MCP server, or agent hook). Use an ntfy access token with the minimum
necessary publish permission. NoFax adds Authorization: Bearer only to
notification publication requests. See ntfy access tokens.
Authenticated publishing requires an HTTPS ntfy server; invalid credentials
or HTTP transport fail before publishing or persisting a new pending approval.
Do not put the token in config.json, Git, command arguments or logs.
nofax config does not print the environment token.
This does not authenticate the phone's HTTP action callbacks or the temporary response-topic polling endpoint. Keep response-topic callbacks reachable using the standard NoFax workflow; server-wide access rules that block these callbacks will cause approval to remain pending or time out, never auto-approve. Configure the ntfy phone app separately for access to the protected notification topic. The remote Cloudflare Worker is not configured by this local-only setting.
Local package:
npm ci
npm run check
npm test
npm pack --dry-run
Remote Worker:
cd worker
npm ci
npm run check
CI qualifies Node.js 20, 22, and 24 for the local package. The Worker gate runs TypeScript, Vitest, a production-dependency audit, and a Wrangler deployment dry-run.
docs/architecture.md — trust boundaries and data flowdocs/remote-mcp.md — remote Worker deployment and qualificationSECURITY.md — security assumptions and vulnerability reportingCONTRIBUTING.md — contribution and test expectationsCHANGELOG.md — release historyNofax deliberately does not provide:
always approve policy;MIT © Tomi Šeregi. See LICENSE.