原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚 登录

A2H: ask a human

作者:AndreaAcanfora版本 0.3.0i★ 0i在你的电脑上运行代码仓库 ↗
注册名称io.github.AndreaAcanfora/a2h-gateway

安装方法

能做什么

Ask a human before acting: approvals by email, Telegram or push, signed answers, passkeys.

作者提供的原文

  • 连接方式 在你的电脑上运行
  • 账号或密钥 需要 A2H_API_KEY · 需填写 2 项设置(A2H_GATEWAY, A2H_TO)
  • 分类 聊天与邮件

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度0/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应0/8上次检查时云端端点有响应
使用分12/100

质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 A2H: ask a human。按照 https://mcp.popnx.com/i/andreaacanfora-a2h-gateway.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 A2H: ask a human 的密钥(在开发者网站创建) · 需要填写 2 项设置(A2H_GATEWAY, A2H_TO) · 需要先在电脑上安装 Docker(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server A2H: ask a human,按顺序:1) 用 docker --version 检查是否有 Docker。没有的话,请让我从 https://www.docker.com/products/docker-desktop/ 安装,不要自己安装。2) 只使用这份配置(已通过 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) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) A2H_API_KEY, A2H_GATEWAY, A2H_TO 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 A2H: ask a human 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Docker(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    docker --version
    • 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令

    打开 Docker 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: docker --version

    安装一次,所有需要 Docker 的工具都能用

  2. 注册并创建 A2H: ask a human 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 A2H: ask a human 网站 ↗

  3. 填写 2 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • A2H_GATEWAY 您的 A2H 网关 URL,例如 https://a2h.example.com
      查看英文原文URL of your A2H gateway, e.g. https://a2h.example.com
    • A2H_TO 联系方式:mailto:you@example.com、tg: 或 ntfy 主题 URL
      查看英文原文Where to reach you: mailto:you@example.com, tg: or an ntfy topic URL

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  4. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  5. 粘贴这些设置并保存文件

    {
      "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"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 退出 Claude 再重新打开

  7. 试一试

    用 A2H: ask a human 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 A2H: ask a human,或回答中出现 A2H: ask a human 的工具名称,就表示连接成功

1 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • A2H_PRINCIPAL 你在网关上的主体 ID(可选)
    查看英文原文Your principal ID on the gateway (optional)

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 A2H: ask a human

A2H: ask a human 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 A2H: ask a human 的应用

  • 需要 A2H: ask a human 的密钥(在开发者网站创建) · 需要填写 2 项设置(A2H_GATEWAY, A2H_TO) · 需要先在电脑上安装 Docker(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 A2H: ask a human 的密钥(在开发者网站创建) · 需要填写 2 项设置(A2H_GATEWAY, A2H_TO) · 需要先在电脑上安装 Docker(只需一次)
  • 需要 A2H: ask a human 的密钥(在开发者网站创建) · 需要填写 2 项设置(A2H_GATEWAY, A2H_TO) · 需要先在电脑上安装 Docker(只需一次)
  • 需要 A2H: ask a human 的密钥(在开发者网站创建) · 需要填写 2 项设置(A2H_GATEWAY, A2H_TO) · 需要先在电脑上安装 Docker(只需一次)

B · 聊天与邮件 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 A2H: ask a human 的密钥(在开发者网站创建) · 需要填写 2 项设置(A2H_GATEWAY, A2H_TO) · 需要先在电脑上安装 Docker(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server A2H: ask a human,按顺序:1) 用 docker --version 检查是否有 Docker。没有的话,请让我从 https://www.docker.com/products/docker-desktop/ 安装,不要自己安装。2) 只使用这份配置(已通过 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) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) A2H_API_KEY, A2H_GATEWAY, A2H_TO 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 A2H: ask a human 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Docker(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    docker --version
    • 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令

    打开 Docker 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: docker --version

    安装一次,所有需要 Docker 的工具都能用

  2. 注册并创建 A2H: ask a human 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 A2H: ask a human 网站 ↗

  3. 填写 2 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • A2H_GATEWAY 您的 A2H 网关 URL,例如 https://a2h.example.com
      查看英文原文URL of your A2H gateway, e.g. https://a2h.example.com
    • A2H_TO 联系方式:mailto:you@example.com、tg: 或 ntfy 主题 URL
      查看英文原文Where to reach you: mailto:you@example.com, tg: or an ntfy topic URL

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  4. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  5. 粘贴这条命令并按 Enter

    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

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 在 Claude Code 中输入 /mcp

    应能看到 A2H: ask a human 在列表中并显示已连接

  7. 试一试

    用 A2H: ask a human 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 A2H: ask a human,或回答中出现 A2H: ask a human 的工具名称,就表示连接成功

1 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • A2H_PRINCIPAL 你在网关上的主体 ID(可选)
    查看英文原文Your principal ID on the gateway (optional)

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 A2H: ask a human 的密钥(在开发者网站创建) · 需要填写 2 项设置(A2H_GATEWAY, A2H_TO) · 需要先在电脑上安装 Docker(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server A2H: ask a human,按顺序:1) 用 docker --version 检查是否有 Docker。没有的话,请让我从 https://www.docker.com/products/docker-desktop/ 安装,不要自己安装。2) 只使用这份配置(已通过 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) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) A2H_API_KEY, A2H_GATEWAY, A2H_TO 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 A2H: ask a human 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Docker(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    docker --version
    • 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令

    打开 Docker 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: docker --version

    安装一次,所有需要 Docker 的工具都能用

  2. 注册并创建 A2H: ask a human 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 A2H: ask a human 网站 ↗

  3. 填写 2 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • A2H_GATEWAY 您的 A2H 网关 URL,例如 https://a2h.example.com
      查看英文原文URL of your A2H gateway, e.g. https://a2h.example.com
    • A2H_TO 联系方式:mailto:you@example.com、tg: 或 ntfy 主题 URL
      查看英文原文Where to reach you: mailto:you@example.com, tg: or an ntfy topic URL

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  4. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  5. 填写你的密钥

    在 A2H: ask a human 的设置中,A2H_API_KEY, A2H_GATEWAY, A2H_TO 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 在 Cursor 中以 Agent 模式打开 AI 聊天

  7. 试一试

    用 A2H: ask a human 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 A2H: ask a human,或回答中出现 A2H: ask a human 的工具名称,就表示连接成功

1 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • A2H_PRINCIPAL 你在网关上的主体 ID(可选)
    查看英文原文Your principal ID on the gateway (optional)

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 A2H: ask a human 的密钥(在开发者网站创建) · 需要填写 2 项设置(A2H_GATEWAY, A2H_TO) · 需要先在电脑上安装 Docker(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server A2H: ask a human,按顺序:1) 用 docker --version 检查是否有 Docker。没有的话,请让我从 https://www.docker.com/products/docker-desktop/ 安装,不要自己安装。2) 只使用这份配置(已通过 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) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) A2H_API_KEY, A2H_GATEWAY, A2H_TO 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 A2H: ask a human 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Docker(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    docker --version
    • 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令

    打开 Docker 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: docker --version

    安装一次,所有需要 Docker 的工具都能用

  2. 注册并创建 A2H: ask a human 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 A2H: ask a human 网站 ↗

  3. 填写 2 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • A2H_GATEWAY 您的 A2H 网关 URL,例如 https://a2h.example.com
      查看英文原文URL of your A2H gateway, e.g. https://a2h.example.com
    • A2H_TO 联系方式:mailto:you@example.com、tg: 或 ntfy 主题 URL
      查看英文原文Where to reach you: mailto:you@example.com, tg: or an ntfy topic URL

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  4. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  5. 填写你的密钥

    在 A2H: ask a human 的设置中,A2H_API_KEY, A2H_GATEWAY, A2H_TO 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 在 VS Code 中以 Agent 模式打开 AI 聊天

  7. 试一试

    用 A2H: ask a human 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 A2H: ask a human,或回答中出现 A2H: ask a human 的工具名称,就表示连接成功

1 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • A2H_PRINCIPAL 你在网关上的主体 ID(可选)
    查看英文原文Your principal ID on the gateway (optional)

说明为自动翻译,变量名保持原样;不确定时请查看原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 A2H: ask a human 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

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 mcp

Claude 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 必填 env
    您的 A2H 网关 URL,例如 https://a2h.example.com
    查看英文原文URL of your A2H gateway, e.g. https://a2h.example.com
  • A2H_API_KEY 机密 必填 env
    网关的 API 密钥。
    查看英文原文API key of the gateway
  • A2H_TO 必填 env
    联系方式:mailto:you@example.com、tg: 或 ntfy 主题 URL
    查看英文原文Where to reach you: mailto:you@example.com, tg: or an ntfy topic URL
  • A2H_PRINCIPAL env
    你在网关上的主体 ID(可选)
    查看英文原文Your principal ID on the gateway (optional)

说明为自动翻译,变量名保持原样;不确定时请查看原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
不在 npm/PyPI 上
连接方式
在你的电脑上运行
最新版本i
0.3.0
发布到注册中心i
2026年11月9日
代码最后更新i
2026年11月14日
作者
AndreaAcanfora
软件包
oci: ghcr.io/andreaacanfora/a2h-gateway:0.3.0
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月20日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 AndreaAcanfora 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于6天前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

未检查:只能检查标明版本的 npm 和 PyPI 包

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/andreaacanfora-a2h-gateway.svg)](https://mcp.popnx.com/en/servers/andreaacanfora-a2h-gateway)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“聊天与邮件”中的其他服务器比较i

  • 星标数多于此分类中其他 2038 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2038 个服务器的 73% 更新
  • 基础检查结果等于或优于此分类中其他 2038 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

A2H: ask a human 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:A2H_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于6天前,最新版本(0.3.0)于11天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

emailmd

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

作者:anypost广泛使用↓ 5432/周★ 13956天前更新

电脑或云端✓ 服务方 · emailmd.dev

Infobip MCP

Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.

作者:infobip起步阶段★ 3613个月前更新

在云端运行✓ 服务方 · infobip.com

kernelCAD

CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.

作者:w1ne起步阶段★ 3524天前更新

在云端运行✓ 服务方 · kernelcad.com
与相似项目对比
本项
A2H: ask a human
emailmdKite Discord Bot Buildere2a — email for AI agentsInfobip MCPkernelCAD
运行位置需要安装在电脑上云端或安装在电脑上都可以在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装
需要密钥是否否否否否
可在 Claude 中按 + 添加否否否否是否
基础检查3/35/54/44/44/44/4
许可证MITMITAGPL-3.0Apache-2.0MITMIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

a2h-gateway

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.

What it does

  • The whole agent-facing API of A2H 1.0: discovery (/.well-known/a2h), POST /v1/intent, status, cancel, nonces, JWKS.
  • All intents: AUTHORIZE (approve or decline), COLLECT (forms with text, choices, numbers and dates, validated), INFORM, RESULT, ESCALATE.
  • Channels: email (SMTP), Telegram bot, push via ntfy (self-hosted or ntfy.sh), a phone app paired with a QR code (app), plus a console channel for development. Retries with the spec's backoff, and fallback channels.
  • Proof of decision:
  • every RESPONSE is signed (ES256 detached JWS over JCS, keys in the JWKS);
  • requests with assurance.level: HIGH must be approved with a passkey (WebAuthn), with the challenge bound to the interaction as section 1.11.4 requires.
  • Replay protection:
  • idempotency on message_id;
  • timestamp window and single-use nonces;
  • single-use, unguessable links that expire with the interaction.
  • Webhooks signed with HMAC (X-A2H-Signature), retried 10 s / 60 s / 5 min, and polling as fallback.
  • JSON Schemas for every A2H message, in schemas/.
  • MCP server (a2h mcp): agents in Claude, Cursor and other MCP clients ask you for approval as a tool.
  • Conformance suite to test any A2H gateway: a2h conform.

Quick start

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

Development: no authentication, links printed in the log.

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.

In production
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.

VariableMeaning
A2H_BASE_URLPublic URL people open (required)
A2H_LISTENListen address, default :8080
A2H_DATA_DIRDatabase, signing key and link secret, default ./a2h-data
A2H_API_KEYSname:key pairs, comma-separated; agents send X-A2H-API-Key
SMTP_HOST, SMTP_PORT, SMTP_USERNAME, SMTP_PASSWORD, SMTP_FROMEmail channel (STARTTLS or TLS)
TELEGRAM_BOT_TOKENTelegram channel; addresses are tg: (see below)
A2H_PUSH, NTFY_TOKENPush channel (ntfy); addresses are topic URLs
A2H_CONSOLEConsole channel (links in the log)
A2H_DEVDevelopment mode: no auth, http:// webhooks, console. Never expose it.

Asking from an agent

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 */ }

Use it from AI agents (MCP)

a2h mcp is a Model Context Protocol server: Claude Code, Claude Desktop, Cursor and other MCP clients get tools to ask you before acting.

ToolWhat it does
request_approvalAsk you to approve or decline an action; returns the verified decision
ask_humanAsk you to fill in a short form (text, numbers, dates, choices, yes/no)
notify_humanSend you a message (progress, result, alert)
check_requestFollow up on a request that is still waiting
cancel_requestWithdraw 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"*.

  • The recipient is configuration. The model can write the question but cannot choose whom it goes to, so an agent cannot message other people.
  • Answers are verified against the gateway's signature before the tool reports a decision. An answer that fails verification is reported as a failure, never as an approval.
  • Long waits: a tool call waits up to 10 minutes (-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.
  • High stakes: require_passkey: true makes the approval need a passkey.

Passkeys for high-stakes approvals

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

Send this link to usr_alice. It works once and expires in 24h0m0s:

https://a2h.example.com/enroll/…

The RESPONSE then carries the WebAuthn assertion, the challenge nonce and the public key, so an agent can verify the person's signature itself.

Answer from your phone

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.

Conformance

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.

Where the spec was unclear

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.

Development

go test -race ./...                        # unit and integration tests

go build -o e2e/a2h ./cmd/a2h && (cd e2e && npm install && npm test) # passkeys in Chromium

License

MIT. A2H is © Twilio Labs, under the MIT License.