emailmd
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
Ask a human before acting: approvals by email, Telegram or push, signed answers, passkeys.
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 0/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 12/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install A2H: ask a human. Follow https://mcp.popnx.com/i/andreaacanfora-a2h-gateway.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a A2H: ask a human key (create it on the maker’s site) · 2 setting(s) to fill in (A2H_GATEWAY, A2H_TO) · Install Docker on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server A2H: ask a human for Claude on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "a2h-gateway": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "A2H_GATEWAY", "-e", "A2H_API_KEY", "-e", "A2H_TO", "ghcr.io/andreaacanfora/a2h-gateway:0.3.0", "mcp" ], "env": { "A2H_GATEWAY": "your-value", "A2H_API_KEY": "your-value", "A2H_TO": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For A2H_API_KEY, A2H_GATEWAY, A2H_TO, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the A2H: ask a human tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version
Install once; it works for everything that needs Docker
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
A2H_GATEWAY URL of your A2H gateway, e.g. https://a2h.example.comA2H_TO Where to reach you: mailto:you@example.com, tg: or an ntfy topic URLDescriptions are as written by the maker.
SettingsDeveloperEdit Config
{
"mcpServers": {
"a2h-gateway": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"A2H_GATEWAY",
"-e",
"A2H_API_KEY",
"-e",
"A2H_TO",
"ghcr.io/andreaacanfora/a2h-gateway:0.3.0",
"mcp"
],
"env": {
"A2H_GATEWAY": "your-value",
"A2H_API_KEY": "your-value",
"A2H_TO": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use A2H: ask a human and tell me what you can do for me, then show me one thing✓ If Claude says it is using A2H: ask a human or shows a A2H: ask a human tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
A2H_PRINCIPAL Your principal ID on the gateway (optional)Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect A2H: ask a human yet
A2H: ask a human runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect A2H: ask a human
B · Others in Chat & email that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
You need a A2H: ask a human key (create it on the maker’s site) · 2 setting(s) to fill in (A2H_GATEWAY, A2H_TO) · Install Docker on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server A2H: ask a human for Claude Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user a2h-gateway --env A2H_GATEWAY=your-value --env A2H_API_KEY=your-value --env A2H_TO=your-value -- docker run -i --rm -e A2H_GATEWAY -e A2H_API_KEY -e A2H_TO ghcr.io/andreaacanfora/a2h-gateway:0.3.0 mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For A2H_API_KEY, A2H_GATEWAY, A2H_TO, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the A2H: ask a human tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version
Install once; it works for everything that needs Docker
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
A2H_GATEWAY URL of your A2H gateway, e.g. https://a2h.example.comA2H_TO Where to reach you: mailto:you@example.com, tg: or an ntfy topic URLDescriptions are as written by the maker.
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user a2h-gateway --env A2H_GATEWAY=your-value --env A2H_API_KEY=your-value --env A2H_TO=your-value -- docker run -i --rm -e A2H_GATEWAY -e A2H_API_KEY -e A2H_TO ghcr.io/andreaacanfora/a2h-gateway:0.3.0 mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see A2H: ask a human listed as connected
Use A2H: ask a human and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using A2H: ask a human or shows a A2H: ask a human tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
A2H_PRINCIPAL Your principal ID on the gateway (optional)Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a A2H: ask a human key (create it on the maker’s site) · 2 setting(s) to fill in (A2H_GATEWAY, A2H_TO) · Install Docker on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server A2H: ask a human for Cursor on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "a2h-gateway": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "A2H_GATEWAY", "-e", "A2H_API_KEY", "-e", "A2H_TO", "ghcr.io/andreaacanfora/a2h-gateway:0.3.0", "mcp" ], "env": { "A2H_GATEWAY": "your-value", "A2H_API_KEY": "your-value", "A2H_TO": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For A2H_API_KEY, A2H_GATEWAY, A2H_TO, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the A2H: ask a human tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version
Install once; it works for everything that needs Docker
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
A2H_GATEWAY URL of your A2H gateway, e.g. https://a2h.example.comA2H_TO Where to reach you: mailto:you@example.com, tg: or an ntfy topic URLDescriptions are as written by the maker.
In the A2H: ask a human settings, A2H_API_KEY, A2H_GATEWAY, A2H_TO is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use A2H: ask a human and tell me what you can do for me, then show me one thing✓ If Cursor says it is using A2H: ask a human or shows a A2H: ask a human tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
A2H_PRINCIPAL Your principal ID on the gateway (optional)Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a A2H: ask a human key (create it on the maker’s site) · 2 setting(s) to fill in (A2H_GATEWAY, A2H_TO) · Install Docker on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server A2H: ask a human for VS Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "a2h-gateway": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "-e", "A2H_GATEWAY", "-e", "A2H_API_KEY", "-e", "A2H_TO", "ghcr.io/andreaacanfora/a2h-gateway:0.3.0", "mcp" ], "env": { "A2H_GATEWAY": "your-value", "A2H_API_KEY": "your-value", "A2H_TO": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For A2H_API_KEY, A2H_GATEWAY, A2H_TO, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the A2H: ask a human tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
docker --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed
Open the Docker download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version
Install once; it works for everything that needs Docker
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
A2H_GATEWAY URL of your A2H gateway, e.g. https://a2h.example.comA2H_TO Where to reach you: mailto:you@example.com, tg: or an ntfy topic URLDescriptions are as written by the maker.
In the A2H: ask a human settings, A2H_API_KEY, A2H_GATEWAY, A2H_TO is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use A2H: ask a human and tell me what you can do for me, then show me one thing✓ If VS Code says it is using A2H: ask a human or shows a A2H: ask a human tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
A2H_PRINCIPAL Your principal ID on the gateway (optional)Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Claude Code
claude mcp add --scope user a2h-gateway --env A2H_GATEWAY=your-value --env A2H_API_KEY=your-value --env A2H_TO=your-value -- docker run -i --rm -e A2H_GATEWAY -e A2H_API_KEY -e A2H_TO ghcr.io/andreaacanfora/a2h-gateway:0.3.0 mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"a2h-gateway": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"A2H_GATEWAY",
"-e",
"A2H_API_KEY",
"-e",
"A2H_TO",
"ghcr.io/andreaacanfora/a2h-gateway:0.3.0",
"mcp"
],
"env": {
"A2H_GATEWAY": "your-value",
"A2H_API_KEY": "your-value",
"A2H_TO": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"a2h-gateway": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"A2H_GATEWAY",
"-e",
"A2H_API_KEY",
"-e",
"A2H_TO",
"ghcr.io/andreaacanfora/a2h-gateway:0.3.0",
"mcp"
],
"env": {
"A2H_GATEWAY": "your-value",
"A2H_API_KEY": "your-value",
"A2H_TO": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"a2h-gateway": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"A2H_GATEWAY",
"-e",
"A2H_API_KEY",
"-e",
"A2H_TO",
"ghcr.io/andreaacanfora/a2h-gateway:0.3.0",
"mcp"
],
"env": {
"A2H_GATEWAY": "your-value",
"A2H_API_KEY": "your-value",
"A2H_TO": "your-value"
}
}
}
}A2H_GATEWAY required envA2H_API_KEY secret required envA2H_TO required envA2H_PRINCIPAL envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
oci: ghcr.io/andreaacanfora/a2h-gateway:0.3.0Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026
The registry name was verified with the GitHub account AndreaAcanfora, which owns the repo
Code last changed 6 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Not checked: only npm and PyPI packages with a version can be checked
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/andreaacanfora-a2h-gateway)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: A2H_API_KEY
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 6 days ago, and the latest version (0.3.0) reached the registry 11 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Docker on your computer.
In the same category: emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
Build and fix Discord bots from a chat. Kite hosts them 24/7, with no code to deploy.
Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.
Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.
CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.
| This one A2H: ask a human | emailmd | Kite Discord Bot Builder | e2a — email for AI agents | Infobip MCP | kernelCAD | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Cloud or install on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | No | No | No | Yes | No |
| Basic checks | 3/3 | 5/5 | 4/4 | 4/4 | 4/4 | 4/4 |
| License | MIT | MIT | AGPL-3.0 | Apache-2.0 | MIT | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
A self-hosted gateway for [A2H](https://github.com/twilio-labs/Agent2Human), the Agent-to-Human protocol: AI agents and scripts ask a person for approval or information, the person answers from email, Telegram or a push notification, and the agent gets a signed answer with proof of who decided. A single Go binary with SQLite.
$ a2h ask -to mailto:me@example.com -why "Rolls back if health checks fail." "Deploy v2.3 to production?"
Waiting for an answer from mailto:me@example.com (interaction 01a1bbcf-…)… Approved (email_link.v1) at 2026-11-08T15:37:50Z. $ echo $? 0
A2H was published by Twilio Labs in February 2026 with a specification, an OpenAPI schema and a proof-of-concept demo. Its roadmap lists a reference gateway and formal JSON Schemas as next steps. This project is an independent implementation of both, not affiliated with Twilio.
/.well-known/a2h), POST /v1/intent, status, cancel, nonces, JWKS.app), plus a console channel for development. Retries with the spec's backoff, and fallback channels.assurance.level: HIGH must be approved with a passkey (WebAuthn), with the challenge bound to the interaction as section 1.11.4 requires.message_id;X-A2H-Signature), retried 10 s / 60 s / 5 min, and polling as fallback.schemas/.a2h mcp): agents in Claude, Cursor and other MCP clients ask you for approval as a tool.a2h conform.Download a binary for Linux, macOS, Windows or FreeBSD from the releases, use the Docker image ghcr.io/andreaacanfora/a2h-gateway, or install with Go:
go install github.com/AndreaAcanfora/a2h-gateway/cmd/a2h@latest
A2H_BASE_URL=http://localhost:8080 A2H_DEV=1 a2h serve
In another terminal:
A2H_GATEWAY=http://localhost:8080 a2h ask -to console:me "Delete 3 unused files?"
The gateway logs a link (url=http://localhost:8080/i/…): open it, approve, and a2h ask exits with 0.
docker run -d -p 8080:8080 -v a2h-data:/data \
-e A2H_BASE_URL=https://a2h.example.com \ -e A2H_API_KEYS="deploy-bot:$(openssl rand -hex 24)" \ -e SMTP_HOST=smtp.example.com -e SMTP_USERNAME=a2h@example.com -e SMTP_PASSWORD=… \ -e TELEGRAM_BOT_TOKEN=123456:ABC… \ -e A2H_PUSH=1 \ ghcr.io/andreaacanfora/a2h-gateway
Put it behind HTTPS: people open its links, and passkeys only work on a secure origin.
Telegram: create a bot with @BotFather, then send your bot any message so that it may write to you. Your chat ID is in https://api.telegram.org/bot /getUpdates (message.chat.id). Messages get an action button when A2H_BASE_URL is a public host name; with localhost the link is in the text, since Telegram refuses such buttons.
| Variable | Meaning |
|---|---|
A2H_BASE_URL | Public URL people open (required) |
A2H_LISTEN | Listen address, default :8080 |
A2H_DATA_DIR | Database, signing key and link secret, default ./a2h-data |
A2H_API_KEYS | name:key pairs, comma-separated; agents send X-A2H-API-Key |
SMTP_HOST, SMTP_PORT, SMTP_USERNAME, SMTP_PASSWORD, SMTP_FROM | Email channel (STARTTLS or TLS) |
TELEGRAM_BOT_TOKEN | Telegram channel; addresses are tg: (see below) |
A2H_PUSH, NTFY_TOKEN | Push channel (ntfy); addresses are topic URLs |
A2H_CONSOLE | Console channel (links in the log) |
A2H_DEV | Development mode: no auth, http:// webhooks, console. Never expose it. |
Any HTTP client works:
curl -s https://a2h.example.com/v1/intent -H "X-A2H-API-Key: $KEY" -H 'content-type: application/json' -d '{
"type": "AUTHORIZE", "message_id": "'$(uuidgen)'", "agent_id": "did:web:booking-agent.example.com", "principal_id": "usr_alice", "channel": { "type": "email", "address": "mailto:alice@example.com", "fallback": [{ "type": "push", "address": "https://ntfy.sh/alice-a2h-7f3k" }] }, "render": { "title": "Book flight?", "body": "Book the non-refundable flight to Lisbon for 412 EUR?" }, "explanation_bundle": { "why": "The fare expires in 30 minutes." }, "ttl_sec": 1800, "callback": { "url": "https://agent.example.com/a2h/webhook", "secret": "whsec_…" } }'
Then wait for the webhook, or poll GET /v1/status/{interaction_id} until the state is ANSWERED, EXPIRED, CANCELLED or FAILED.
From Go, the a2h package does all of this and verifies the answer:
c := a2h.NewClient("https://a2h.example.com", key)
sent, _ := c.Send(ctx, msg) status, _ := c.Wait(ctx, sent.InteractionID, 2*time.Second) resp, err := c.VerifyResponse(ctx, status.Response, msg.MessageID) // checks responds_to and the JWS if err == nil && resp.Decision == a2h.Approve { /* go ahead */ }
a2h mcp is a Model Context Protocol server: Claude Code, Claude Desktop, Cursor and other MCP clients get tools to ask you before acting.
| Tool | What it does |
|---|---|
request_approval | Ask you to approve or decline an action; returns the verified decision |
ask_human | Ask you to fill in a short form (text, numbers, dates, choices, yes/no) |
notify_human | Send you a message (progress, result, alert) |
check_request | Follow up on a request that is still waiting |
cancel_request | Withdraw a request that has not been answered |
It is listed in the official MCP Registry as io.github.AndreaAcanfora/a2h-gateway, so MCP clients that browse the registry can install it; or configure it by hand.
Claude Code:
claude mcp add a2h \
-e A2H_GATEWAY=https://a2h.example.com -e A2H_API_KEY=… -e A2H_TO=tg:123456789 \ -- a2h mcp
Claude Desktop (claude_desktop_config.json), Cursor and others:
{
"mcpServers": { "a2h": { "command": "a2h", "args": ["mcp"], "env": { "A2H_GATEWAY": "https://a2h.example.com", "A2H_API_KEY": "…", "A2H_TO": "mailto:me@example.com" } } } }
Then tell the agent when to ask, e.g. *"ask me with request_approval before deleting anything or spending money"*.
-max-wait) and sends progress notifications meanwhile. If the person has not answered by then, the tool says so and the agent continues with check_request.require_passkey: true makes the approval need a passkey.Requests with "assurance": {"level": "HIGH"} (or required_factors containing passkey.webauthn.v1) cannot be approved with a click: the person must confirm with a passkey (Face ID, Touch ID, Windows Hello, a security key). Only the operator can register passkeys, from the server:
a2h enroll -principal usr_alice
The RESPONSE then carries the WebAuthn assertion, the challenge nonce and the public key, so an agent can verify the person's signature itself.
Pair a phone app such as nod and requests arrive there: approve or decline with your fingerprint or face, fill in forms, see what you decided. The app signs each answer with a key that never leaves the phone, and the signature travels in the RESPONSE.
a2h pair -principal usr_alice # shows a QR code to scan in the app
a2h ask -to app:usr_alice "Deploy v2.3 to production?"
The push that wakes the app carries no content (it goes through UnifiedPush, for example ntfy, with no Google services needed). docs/app-api.md describes the API, for anyone writing another app.
a2h conform -gateway https://gateway.example.com -key $KEY -to mailto:a2h-test@example.com
PASS MUST §1.4 discovery document
PASS MUST §1.3 RESPONSE type from an agent is rejected PASS MUST §1.5 unsupported profile is rejected PASS MUST §1.10.2 duplicate message_id returns the original interaction PASS MUST §1.7 cancel a waiting interaction … conforming to the agent-facing API of A2H 1.0
The suite sends real intents to the address you give, then cancels them.
A2H 1.0 leaves some details open or describes them two ways. The choices made here are listed in docs/implementation-notes.md, as feedback for the next version of the spec.
go test -race ./... # unit and integration tests
go build -o e2e/a2h ./cmd/a2h && (cd e2e && npm install && npm test) # passkeys in Chromium
MIT. A2H is © Twilio Labs, under the MIT License.