Out-of-band
Reaches the human on Telegram, not inside the AI client UI — so it works even when nobody is watching the session.
ping-a-human is an open-source MCP server that reaches a real person on the messaging app they already use — and waits for their reply. Notify them, or ask a question and block until they answer.
# one command — no clone, no build
$ npx ping-a-human setup
# wire ping-a-human into the pi coding agent
$ npx ping-a-human-pi
# then ping yourself from any terminal
$ pah ping "build finished"
$ pah ask "ship to prod?"
Reaches the human on Telegram, not inside the AI client UI — so it works even when nobody is watching the session.
ask_human sends a question and waits for the reply, a tapped
button, or a clean timeout. The agent gets a real answer.
A wizard validates your bot token, auto-detects your chat, writes the config, and prints the client snippet. No copy-paste guesswork.
Channels
Every channel sits behind one pluggable interface, so the tools never change. Telegram ships today — more are on the way.
Two tools
notify_humanFire-and-forget. Sends a message and returns immediately — perfect for “deploy finished” pings.
notify_human({ message: "Deploy to prod finished ✅" }) in · { message: string }
ask_humanSends a question and blocks until the human replies, taps a choice, or the timeout elapses — returning a clean result either way.
ask_human({
question: "Apply this migration to prod?",
choices: ["Yes", "No"]
}) in · { question, choices?, timeoutMs? }
Quickstart
Run the setup wizard, paste the snippet into your MCP client, and your agent can reach you.
Full quickstart →Create & configure
npx ping-a-human setup Add to your MCP client
{
"mcpServers": {
"ping-a-human": {
"command": "npx",
"args": ["-y", "ping-a-human"]
}
}
} Ask away
The client lists notify_human and
ask_human. Done.
Docs MCP
Add the companion docs server and any AI agent can look up how to install, configure, and use ping-a-human — without you pasting docs into the prompt. Ask it “how do I set this up?” and it answers from the source.
search_docs — find the right page by questionget_doc — read a full pagelist_docs — see everything that's documentedAdd it to your MCP client
{
"mcpServers": {
"ping-a-human-docs": {
"command": "npx",
"args": ["-y", "ping-a-human-docs-mcp"]
}
}
} Tip: add both servers and your agent can use ping-a-human and learn ping-a-human in the same session.
Pi coding agent
Pi is a terminal coding agent. ping-a-human-pi wires it into ping-a-human — so pi pings you when a task finishes and asks before risky commands. No MCP config, no glue code.
notify_human + ask_human — as native pi tools/ping in pi and a global pah CLIInstall everything
npx ping-a-human-pi
Then run /reload in pi. Try it from the terminal:
pah ping "hello".