Pushary: human-in-the-loop for AI agents

io.github.PusharyPublished by GitHub account Pusharyv1.5.2Updated Nov 22, 2026

Human-in-the-loop for AI agents: ask a person and get approvals or answers by push notification.

The publisher's own server: TAP

Overview

AI-generated overview

Lets an AI agent push questions, approvals and reminders to a person's phone or Mac and wait for the answer before continuing.

What you can do
  • Ask the user a confirm, select or input question and wait for the reply
  • Send task-update notifications with optional detail context
  • Read, long-poll or cancel an existing question by its correlation ID
  • Schedule, list and cancel one-time personal reminders
  • Request agreement on the scope or boundary of a run
When to use it
Useful when an agent hits a decision only the user can make, needs approval before an irreversible or outward-facing step, or should report a finished unattended task. Also fits teams that want a record of which agent asked what and who answered.
Requirements
Remote MCP endpoint with bearer authentication: an Authorization header carrying a Pushary API key (pk_ format) from the dashboard, or OAuth sign-in through the Claude/Cowork bundles. Hosted delivery requires a paid Pushary plan (3-day trial for new customers); enforced tool approvals need supported host hooks or runtime integration.
Before you install
The API key is a secret and must be kept private; do not share an operator key with end users. Paid plans are required for hosted delivery, and Partner plans for embedding approvals in your own product. Questions and notifications send task details to Pushary and the user's devices. Enforced approvals only work on supported hosts; elsewhere the agent may proceed without a gate, and silence is never consent.

Installation

In SourceWeft

  1. Open Pushary: human-in-the-loop for AI agents in the dashboard and add it to a workspace.
  2. Connect Authorization token credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.Pushary%2Fpushary/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "pushary-human-in-the-loop-for-ai-agents": {
      "type": "http",
      "url": "https://pushary.com/api/mcp/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

Pushary: human-in-the-loop for AI agents

Push notifications and human-in-the-loop for AI agents. Approve from your phone.
Get started  ·  Skills directory  ·  Report a bug

[MIT License] [skills.sh] [npm] [PyPI] [Glama score]

Start here

Try an approval without signing up

Already paired your phone? Try the three-agent exercise and see which session gets your answer. → connect an open phone page → approve or decline → see the agent continue or stop. This browser demo uses polling and temporary state, not real push delivery or the production ledger.

What you want to buildStart with
Notifications, questions and approvals for your own AI agents, such as Claude Code or CodexThe setup instructions below
An enforced tool approval in the Vercel AI SDKRunnable AI SDK example
A LangGraph workflow that branches on a human decisionRunnable LangGraph example
Another agent frameworkAll Pushary integrations
When an agent should stop and ask a person, and how to add that step in any frameworkThe pushary-human-in-the-loop skill

The skill and adapters are MIT-licensed. Hosted phone delivery requires a Pushary account; embedding approvals for your own users requires Partner access. The two framework examples also run locally with simulated answers and no credentials.

If Pushary helped you, star this repo. Want to help? Public issues and patches are welcome.


Pushary lets your AI agent send task updates and ask you for a decision on your phone. Supported host hooks also enforce approvals before an action runs.

Hosted delivery requires a paid Pushary plan. MCP questions and notifications work with any compatible client; enforced approvals depend on the host integration.

What you get after you sign in

  1. Sign in and pick a plan. New customers start with a 3-day trial.
  2. Run npx -y pushary@latest setup once. It connects Claude Code, Codex, Cursor, Gemini CLI, Hermes and the other agents it finds on this computer.
  3. When an agent needs a yes or an answer, the question arrives on your phone (the Pushary app for iOS and Android), on your Mac, or in the dashboard.
  4. You answer with one tap, or type a short reply, and the agent keeps going. The dashboard keeps a record of what each agent asked and what you answered.

Read the quickstart for each step, or see what Pushary does for AI agents.

Plans

Each plan starts with a 3-day trial for new customers. During the trial, Agent, Agent Pro and Team include 5 call minutes.

PlanPriceWhat you get
Agent$9.99 a monthOne person and every AI agent they run. Approve, deny or answer from your phone or Mac. 10 call minutes a month.
Agent Pro$19.99 a monthEverything in Agent, plus unlimited notifications, budgets and priority support. 20 call minutes a month.
Team$59 a month for 5 people, $12 for each extra personA shared record of what your team's agents asked and who answered, with export. 60 call minutes a month.

Missed the push? Pushary can call you, by default a minute or two after the push, and read the request. You approve it, say no or tell the agent what to do. Calls need a confirmed phone number and work in English, German, French and Dutch. Calls cover Claude Code, Codex, Gemini CLI, Hermes and the other agents listed on the calls page, not yet Cursor, VS Code, OpenCode or OpenClaw. Phone calls · How calls work

How It Works

AI Agent  ->  MCP Protocol  ->  Pushary API  ->  Push Notification  ->  Your Phone

Pushary is an MCP server that connects your AI agent to push notifications. The agent calls Pushary's tools over the Model Context Protocol, and you receive notifications instantly on any device.

Three question types - yes/no confirmations, multiple choice, and free text input. Your agent picks the right one for the situation.

Rich context notifications - agents can include file changes, error details, and suggested next steps in a detail page you see when tapping the notification.

Agent identification - when you run multiple agents, each notification shows which agent is asking so you always know what you're responding to.

Permission hooks - route Claude Code's tool approval prompts through push notifications so you can approve or deny from your phone.


Personal setup: phone first

Run the pairing setup in your agent's terminal:

bash
npx -y pushary@latest setup

Install Pushary on your phone, scan the QR or open the printed link, compare the fingerprints, and approve. Setup then configures the selected agent's tools, supported hooks and skill. You do not need to copy an API key first. Personal accounts require a paid plan. Existing credentials are reused.

Verify setup:

bash
npx -y pushary@latest doctor

Ask your agent for one harmless test question. Confirm the intended device receives it and the answer returns to the same task.

The Claude Code guide covers its hooks and permission modes. Supported agents shows what Pushary can do in each of the others.

For Hermes specifically:

bash
npx -y pushary@latest setup --agents hermes

This writes the native plugin to ~/.hermes/plugins/pushary and turns it on with hermes plugins enable pushary and hermes config set. Restart Hermes afterward with hermes gateway restart. The plugin provides notification, question, wait, cancel, reminder and scope tools, plus Partner enrollment and customer-question tools. Its parameters use snake_case; use the Hermes skill, not MCP parameter names. The native approval transport preserves Hermes' session and standing approvals.

Mac notch and other answer surfaces

Install Pushary for Mac, sign in with the same personal account and connect your agents from the app. The notch provides confirm, choice, text and question-set controls with keyboard support. Keep the app running for presence and delivery; verify one harmless question there, then phone fallback while away from the Mac.

SurfaceAnswers
MobileConfirm, choice and text in the app. Supported confirm notifications expose lock-screen approve/deny; arbitrary choices and text open the app.
Mac notchQuestions for the signed-in account, including keyboard answering, and Partner customers' questions once they connect the Mac from their phone.
SlackButtons, choice menus and text modals when the integration and recipient are configured.
BrowserDecision-page fallback and browser notifications when permission is enabled.

Delivery follows your settings and presence. push_first uses presence, push_only requests push every time, notify_only keeps decisions in the current client, and terminal_only avoids push. A successful API call alone does not prove a device displayed the request.

Team setup: send a risky step to a lead

On Pushary for Teams, each person runs the same setup and connects their own agents. Their agents' questions go to them. An owner or admin can send a chosen step to someone else with a routing rule in Policies, under Approval routing:

FieldExample
Tool patternBash(git push:*)
Repositoryinfra, or all repositories
Route toThe Admins role, or one person

Claude Code, Codex, Cursor and Gemini CLI shell calls all match a Bash(...) rule, so one rule covers a team that runs several agents. Whoever answers in the phone app, Mac app or dashboard is recorded by name, next to whose agent asked.

What a routing rule doesn't do:

  • It doesn't lock the terminal. If nobody answers in time, the person running the agent can still approve at the agent's own prompt, and that yes isn't recorded.
  • The phone can only deny risky steps such as a force push or rm -r. Approve those in the dashboard.
  • It needs a second person. Routing starts once someone else joins the workspace.

Team is $59 a month for 5 people, plus $12 for each extra person. How a routing rule works, step by step.

Partner setup: your own customers

Personal pairing connects you, the operator. Partner integrations enroll each of your application's customers through a scoped connection link and address decisions using your stable customer ID. Customers use the mobile enrollment flow; do not route their approvals to your personal Mac inbox or share an operator API key.

Start with the Partner integration guide, then a Mastra agent example, AI SDK example or LangGraph example. Tools choose confirm, choice or text. Approving an action and supplying an answer are different operations; a text answer saying “yes” is not permission to execute another tool.

Partner plans start at $99 a month. Your customers install the Pushary app and need no Pushary account or plan of their own. Partner plans · Try the browser demo

Manual fallback

For a client that needs manual MCP configuration, obtain your key in the Pushary dashboard and configure:

json
{  "mcpServers": {    "pushary": {      "url": "https://pushary.com/api/mcp/mcp",      "headers": {        "Authorization": "Bearer YOUR_API_KEY"      }    }  }}

Keep the key private. Install the skill with npx skills add Pushary/pushary-skill if the client supports skills.sh. Manual MCP provides cooperative questions and notifications; enforced approvals require the supported host hooks/runtime integration.

Claude Code users can alternatively install this repository as a plugin:

/plugin marketplace add Pushary/pushary-skill/plugin install pushary

The plugin carries the pushary and pushary-human-in-the-loop skills. The Hermes, ChatGPT and Cowork skills in skills/ are for those hosts.

The plugin's MCP server sends PUSHARY_API_KEY from the environment Claude Code starts in. Claude Code opened from the Dock, an IDE or another app does not read your shell profile, so the Pushary tools are missing and /mcp shows "Server rejected the configured Authorization header (HTTP 401)". Put the key in the env block of ~/.claude/settings.json, which Claude Code reads however it is started:

json
{  "env": {    "PUSHARY_API_KEY": "YOUR_API_KEY"  }}

Then restart Claude Code.

Pick one installation path: installing the plugin on top of CLI-installed Claude hooks can run hooks twice. Use npx -y pushary@latest clean before switching paths.

The plugin starts each hook through npx, which is too slow for the hook that streams live reply previews to your phone, so the plugin leaves that hook out. For live previews, install with npx -y pushary@latest setup instead. Setup installs every hook as a local command.

The plugin also runs the hook through npx before every MCP, WebFetch, Task and Agent call, so the kill switch and standing denies cover those tools. That adds about 2 seconds to each of those calls when npx has the package cached, and about 8 seconds when it does not, which happens on the first call after each CLI release. The WebFetch, Task and Agent hook may run for up to 30 seconds so that a cold start still finishes the check. Setup's local hooks do not pay the npx start.


Setup: Lovable

Lovable is a hosted app builder, so there is no local install step (npx skills add does not apply). You connect the MCP server in Lovable's UI, then paste the skill into Lovable's Knowledge so the agent uses it on its own.

1. Connect the MCP server. In Lovable, go to Settings -> Connectors -> Personal connectors (paid Lovable plans), click New MCP server, set the URL to https://pushary.com/api/mcp/mcp, choose Bearer token, and paste your API key (pk_xxx.xxx).

2. Add the skill to Knowledge. Lovable cannot install skills via npx, so paste the skill guidance into Settings -> Knowledge. Use the condensed SKILL-LITE.md as the source. This makes the Lovable agent notify you when a build finishes and ask before risky changes, without you prompting each time.

Lovable gets notifications and questions only (no enforced gate, since it has no permission hook). Full walkthrough: Lovable guide.


Setup: Claude Chat and Cowork

For Claude Chat or Claude Code, use Pushary for Claude. In Chat, open Customize > Plugins > Add > Add marketplace, add https://github.com/Pushary/claude-plugin, and install Pushary for Claude. In Claude Code, run /plugin marketplace add Pushary/claude-plugin, then /plugin install pushary@pushary-claude-plugin.

For Cowork, the existing Pushary for Cowork plugin remains available. Add https://github.com/Pushary/cowork-plugin as the marketplace and install Pushary for Cowork. Cowork also supports standing instructions under Settings > Cowork. Its existing plugin, marketplace, and pushary-cowork skill identifiers are preserved.

Both bundles use the public OAuth connector and the same shared skill. Connect Pushary from the plugin's Connectors tab in Chat or Cowork, or /mcp in Claude Code, and sign in with the same Pushary account used by your phone or Mac. No CLI or API key is needed for either bundle.

If the connector is missing, add https://pushary.com/api/mcp/mcp under Customize > Connectors > Add custom connector and leave the OAuth Client ID and Secret fields empty. Enable Pushary in the conversation, ask one harmless test question, and verify your answer returns to Claude.

These bundles provide questions and notifications and install no native permission hooks. For Claude Code approval hooks, use the Claude Code setup above. Choose one installation path per app to avoid duplicate Pushary connectors. Full Claude guide.


Tools

The skill guides these MCP tools:

ToolDescription
send_notificationSend a push notification with optional rich context (file changes, errors, next steps)
ask_userAsk the user a question via push - yes/no, multiple choice, or free text
wait_for_answerLong-poll for the user's response to a question
cancel_questionCancel a pending question that's no longer relevant
list_sessionsRead-only view of your live agent sessions and pending questions
propose_scopeRatify the boundary of a run: file globs, enforced on supported hosts, or a recorded promise when the run changes no files

Full tool documentation with parameters, examples, and usage guidelines is in skills/pushary/SKILL.md.

Human-in-the-Loop

The agent can ask you decisions via push and wait for your answer:

Agent: "Which auth strategy should I use?"  Options: JWT tokens / Session cookies / OAuth2 + PKCE  -> push to your phone
You: tap "JWT tokens"
Agent: proceeds with JWT implementation

Supports three question types:

  • Confirm - yes/no binary decisions
  • Select - pick from 2-6 options
  • Input - free text response

Read answered, status and handoffAction (or nextAction) from the tool result. Poll only as directed; cancel a live question before handing it to another surface and honor any winning answer. Expiry and waits follow server policy. Silence is not approval, and a late reply cannot restart an ended agent turn.

Packages

PackageRegistryDescription
pusharynpmThe Pushary CLI: setup, permission hooks and doctor. Also published as @pushary/agent-hooks, the same package
hermes-plugin-pusharyPyPIHermes Agent native plugin

Related repositories

Compatible Agents

Works with any agent that supports skills.sh or the Model Context Protocol:

Publishing the MCP registry entry

server.json is not published by merging it. The MCP registry serves one record per version, so an edit here reaches nobody until the new version is pushed to the registry, and the old text keeps being what every agent reads.

Everyday path: bump version in server.json, merge to main, then sync the public skill mirror. Its release workflow publishes the new registry entry.

The release workflow publishes from the public Pushary repository so GitHub OIDC can prove ownership of the io.github.Pushary/pushary namespace. Verify the workflow and registry result after release.

Manual fallback, from this directory:

curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher./mcp-publisher login github./mcp-publisher publish

Check what the registry actually serves, which is the only number that matters:

curl -s "https://registry.modelcontextprotocol.io/v0/servers?search=pushary"

That endpoint returns every version, oldest first. Read the entry whose _meta."io.modelcontextprotocol.registry/official".isLatest is true; the first row in the list is the oldest record, not the live one.

Contributing

Contributions are welcome! Please read the contributing guide before submitting a pull request.

Security

If you discover a security vulnerability, please report it responsibly. See SECURITY.md for details.

Funding

This project is fully funded by RalphNex OU, an Estonian software development agency.

License

MIT - Copyright (c) 2025 RalphNex OU

Source: README.md at commit 5edada1

Tools

6

schedule_reminder

Schedule a Personal Reminder

Schedule, list, retrieve or cancel a personal Pushary reminder for the authenticated user. Scheduled reminders can arrive after the agent exits. One-time only; up to 30 days away, 25 pending per user/site. Scheduling requires body and either inMinutes or at with an explicit UTC offset. requestId identifies one schedule across retries. reminderId retrieves its outcome; no arguments lists pending reminders; cancelReminderId cancels a pending reminder. Returns the scheduled time, state and any delivery warning. Delivery respects stop/mute and active membership. Does not schedule agent work or customer campaigns. API reference: https://pushary.com/docs/agents/reference/tools#schedule_reminder

ParametersatenvbodytitleagentNameinMinutesmachineIdrequestIdsessionIdreminderIdcancelReminderId

send_notification

Send Push Notification

Send a notification to connected devices for a requested update or a meaningful unattended result, such as a finished task. Delivery follows the account policy and optional recipient filters. context adds a detail page. context.askQuestion is kept for older clients; ask questions with ask_user. Returns web/mobile delivery counts and a warning when no delivery channel is connected. Sends real notifications. API reference: https://pushary.com/docs/agents/reference/tools#send_notification

ParametersenvurlbodyrequiredtagstitlerequiredcontexticonUrlimageUrlagentNamemachineIdsessionIdexternalIds+1 more

ask_user

Ask User a Question

Request an unresolved decision or missing input from the user through Pushary. Supports confirm, select and input questions. Delivery and waiting follow the account policy; a call waits at most 55 seconds and may return immediately. Returns the question state, answer when available, delivery information and handoff fields. answerUrl is optional. A pending question remains answerable after a poll ends. Sends a real question; it does not grant permission for other actions.

ParametersenvtagstypewaitactionintentblockercontextoptionsrepoKeyquestionrequiredtoolName+21 more

propose_scope

Propose Run Scope

Request agreement on an unresolved or user-requested boundary for this session. Sends a real scope question and returns ratified, answered, contract and enforcement information. Only supported hooks can enforce file paths on path-bearing tool calls; promises are recorded but not enforced. Empty enforces means no automatic boundary checking. A contract never overrides host permissions or authorizes a separate action. The call waits at most 55 seconds; a pending proposal remains answerable after the call returns.

ParametersdoneWhenrequiredpromisesagentNamemachineIdsessionIdrequiredtimeoutMsallowedPathsoffLimitsPaths

wait_for_answer

Wait for User Answer

Read the answer or current state of an existing Pushary question by its correlationId. Waits up to timeoutMs, capped at 55 seconds. Returns answered, the answer when available, status and handoff information. Only pending is a live unanswered question; cancelled, expired, missing and unavailable are terminal states. Does not send another question.

ParameterstimeoutMscorrelationIdrequired

cancel_question

Cancel Pending Question

Retract a pending question that is no longer needed or is moving to the current client. Returns cancelled:true only when a pending question was removed. False may mean it was already answered, expired, missing or unavailable. An unavailable state includes handoffAction:stop because cancellation could not safely inspect or fence the question. Does not retract an answer already recorded.

ParametershandoffcorrelationIdrequired

Version history

6
  1. v1.5.2LatestOct 25, 2026
  2. v1.5.1Oct 25, 2026
  3. v1.5.0Oct 9, 2026
  4. v1.4.2Oct 4, 2026
  5. v1.4.1Sep 26, 2026
  6. v1.4.0Sep 16, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Human integrations