原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Agent Postbox

作者:Aethelgard-Systems版本 0.2.1i★ –i在你的电脑上运行
注册名称io.github.Aethelgard-Systems/agent-postbox

安装

概览

作者提供的说明(英文原文)

Verifiable agent handoffs over GitHub Issues and PRs: bounded writes, read-back, evidence log.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具
  • 你需要填写:AGENT_POSTBOX_TOKEN

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: AGENT_POSTBOX_TOKEN

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "agent-postbox": {
      "command": "npx",
      "args": [
        "-y",
        "agent-postbox"
      ],
      "env": {
        "AGENT_POSTBOX_TOKEN": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add agent-postbox --env AGENT_POSTBOX_TOKEN=your-value -- npx -y agent-postbox

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "agent-postbox": {
      "command": "npx",
      "args": [
        "-y",
        "agent-postbox"
      ],
      "env": {
        "AGENT_POSTBOX_TOKEN": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "agent-postbox": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agent-postbox"
      ],
      "env": {
        "AGENT_POSTBOX_TOKEN": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • AGENT_POSTBOX_TOKEN 机密 必填 env
    GitHub token for this agent (fine-grained, one repo)

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“开发者工具”中的其他服务器比较i

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

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

常见问题

Agent Postbox 安全吗?

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

它需要哪些密钥或代码?

你需要填写:AGENT_POSTBOX_TOKEN

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

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

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT16天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

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

agent-postbox

Verifiable handoffs for MCP agents. agent-postbox makes agent handoffs over GitHub verifiable – with read-back and evidence instead of bare status messages.

AI coworkers collaborate through GitHub Issues and pull requests – with bounded writes, receipts and four-eyes review.

You already have a durable, auditable, human-readable coordination system: your GitHub repository. agent-postbox turns it into a mailbox for AI agents, so they can hand work to each other, report results and review each other's pull requests, while every write stays small, verified and attributable, and every decision stays with a human.

It is a small Model Context Protocol server (stdio or Streamable HTTP) plus a CLI. Zero runtime dependencies.

human ──opens issue──▶  #12  [to:builder]

builder ── inbox ─────▶ claims (claimed:builder), works, opens PR #13 [to:reviewer] reviewer ─ review ────▶ REQUEST_CHANGES on #13 @ head commit (cannot review its own PR) builder ── comment ───▶ evidence: tests, output, links human ───────────────▶ merges. Agents cannot merge, close, or set authority labels.

A shared inbox delivers a message. agent-postbox proves the handoff happened – read-back of every write, an acknowledgement bound to the exact text the agent read, no self-review, and a signed evidence log you can verify.

Release: v0.2.1 · For: developers running several coding agents (Claude Code, Codex, Cursor, …) on one GitHub repo · Zero runtime dependencies.

Try it in 30 seconds

No GitHub account, token or network needed – the demo runs two agents against an in-memory GitHub with synthetic data:

git clone https://github.com/Aethelgard-Systems/agent-postbox.git

cd agent-postbox npm run demo

Windows PowerShell blocks npm with “running scripts is disabled on this system”? Use npm.cmd run demo or node examples/offline-demo/demo.mjs instead – same demo, no policy change needed.

You will see a builder and a reviewer hand work to each other, a lost network response reconciled instead of posted twice, and three unsafe actions refused (self-review, a human-only label, a token in a comment). Details and limits: examples/offline-demo.

npm run demo:handoff shows the v0.2 flow: a planner hands a task to a builder, the builder's acknowledgement is bound to the text it read (an edited handoff is refused until re-read), and the signed evidence log is verified – then tampered with and caught.

Why

Multi-agent setups usually fail in boring ways: an agent claims it posted something it did not, posts the same thing twice after a timeout, approves its own work, treats text in an issue as an order, or leaks a token into a comment. agent-postbox addresses exactly those failure modes and nothing else.

ProblemWhat agent-postbox does
"I posted it" – but nothing is thereRead-back: every write is fetched again and compared before it counts as done
Timeout → retry → duplicateWrite receipts: ATTEMPTED is stored before sending, CONFIRMED after read-back. An unknown outcome is reconciled only if GitHub shows the exact write by the agent's own identity; otherwise it stays blocked until a human resolves it
Agent approves its own PRFour-eyes: any review (including comments) is refused when the PR author is the token's own identity, which is verified against GitHub; reviews are bound to the head commit
Agent decides things it should only proposeAuthority separation: protected labels (e.g. approved, decision:*) are human-only; proposals carry an explicit no-authority footer
Agent can do anything the token canBounded writes: a fixed endpoint allowlist – no merge, close, delete, body edit, settings or code access
Token or password ends up in a commentSecret filter on every title and body (best effort, see Security)
Issue text tries to instruct the agentAll read content is marked as untrusted data
Runaway agentDaily limits for writes and proposals
"Done" – but done *what*, against which version of the task?Handoffs (v0.2): a task issue with acceptance criteria; the acknowledgement is bound to the hash of the text the agent read and needs evidence
Logs can be edited after the factEvidence log (v0.2): every receipt state change is hash-chained and Ed25519-signed; evidence verify catches edits, gaps and truncation

Non-goals

Not an agent framework, not a runtime, no database, no dashboard, no worktree orchestration, no role model. Bring your own agents; agent-postbox is only the mailbox.

Tools

ToolEffect
inboxIssues/PRs labelled to:
readOne issue or PR with comments (untrusted content)
commentOne receipted, read-back comment
labelAdd/remove labels: to: (hand off), claimed: , labels from allowedLabels
proposeNew issue labelled proposal, duplicate check, daily limit
reviewPR review (APPROVE, REQUEST_CHANGES, COMMENT) bound to the head commit; refused on own PRs
handoff_createHand a task to another agent: issue labelled to: + handoff, with acceptance criteria (v0.2)
handoff_readRead a handoff and its acknowledgements; returns body_sha256 (v0.2)
handoff_ackAcknowledge a handoff addressed to you (DONE needs evidence); refused if the text changed since you read it; read back before it counts (v0.2)

The complete tool list costs under 4,500 characters of model context (tested).

Quick start

  1. One identity per agent. Each agent needs its own GitHub identity so that authorship and four-eyes review are real – a dedicated machine account with a fine-grained personal access token limited to one repository (*Issues: read/write*, *Pull requests: read/write*, *Metadata: read*), or a GitHub App installation token. Classic tokens are refused by default.
  2. Install (Node.js ≥ 20):
   npm install -g github:Aethelgard-Systems/agent-postbox
  1. Configure – agent-postbox.config.json:
   {

"repository": "example-org/example-repo", "agent": "builder", "tokenEnv": "AGENT_POSTBOX_TOKEN", "allowedLabels": ["needs-review", "blocked", "question"], "protectedLabels": ["approved", "decision:*"], "limits": { "writesPerDay": 50, "proposalsPerDay": 5 } }

4. **Check** without writing anything:
   AGENT_POSTBOX_TOKEN=... agent-postbox doctor
  1. Connect your MCP client (example for clients using the common mcpServers format). For clients that speak Streamable HTTP, run agent-postbox serve --transport http --port 8471 instead and point them at http://127.0.0.1:8471/mcp (other hosts need AGENT_POSTBOX_HTTP_TOKEN):
   {

"mcpServers": { "agent-postbox": { "command": "agent-postbox", "args": ["serve", "--config", "/path/to/agent-postbox.config.json"], "env": { "AGENT_POSTBOX_TOKEN": " " } } } }

6. Copy [`templates/AGENTS.md`](templates/AGENTS.md) and [`templates/pull_request_template.md`](templates/pull_request_template.md) into your repository so agents and humans share one protocol.

Step-by-step setup: docs/getting-started.md. A walk-through with two agents reviewing each other is in examples/two-agent-review.

Configuration

KeyDefaultMeaning
repository–owner/repo; the only repository this instance can touch
agent–This agent's name ([a-z0-9-])
loginfrom GET /userGitHub login of the token; required for GitHub App tokens (e.g. my-app[bot])
tokenEnvAGENT_POSTBOX_TOKENEnvironment variable holding the token
addressPrefixto:Label prefix for addressing agents
claimPrefixclaimed:Label prefix for claiming work (self only)
proposalLabelproposalLabel for agent proposals
allowedLabelsneeds-review, blocked, questionExtra labels agents may set (* suffix = prefix match)
protectedLabelsapproved, decision:*Human-only labels; agents can neither add nor remove them
limits50 writes, 5 proposals per day, 6000-char body, 120-char titlePer agent
receiptsFile$XDG_STATE_HOME/agent-postbox/ - - .jsonLocal receipt store
allowClassicTokenfalseAccept classic PATs (not recommended)
evidencetrueWrite the signed evidence log (v0.2); false disables it
evidenceFile, evidenceKeyFilenext to receiptsFileEvidence log and its Ed25519 key (created on first use, 0600)
handoffLabelhandoffLabel that marks handoff issues

CLI

agent-postbox doctor | inbox | read <n> | comment <n> --body ... | label <n> --add a --remove b

agent-postbox propose --title ... --body-file ... | review --event approve|request-changes|comment --body ... agent-postbox handoff create --to --title ... --body ... [--acceptance "a|b"] | handoff read agent-postbox handoff ack --read-sha256 --result done|partial|blocked|declined [--evidence "a|b"] agent-postbox receipts list | receipts resolve --as confirmed|failed agent-postbox evidence verify | evidence key agent-postbox serve [--transport stdio|http] [--host 127.0.0.1] [--port 8471]

All output is JSON. Refusals exit with code 2 and a stable error code (POLICY, SECRET, LIMIT, SELF_REVIEW, UNKNOWN_OUTCOME, READBACK_MISMATCH, …).

Evidence log (v0.2)

Next to the receipts file, agent-postbox keeps .evidence.jsonl: one line per receipt state change, hash-chained and signed with the agent's Ed25519 key. It holds keys, kinds, states, read-back verdicts and hashes – never bodies, titles or tokens. agent-postbox evidence verify recomputes the chain and reports any modified, removed, reordered, forged or truncated line. The format is documented in docs/evidence-format.md and shared with companion tools, so one verifier works for all of them.

Known limits (v0.2)

  • An identical comment text on the same issue is posted only once (replay protection); add context to make a new comment distinct.
  • Duplicate-title checks and reconciliation scan up to 1,000 items. GitHub's issue lists can lag a few seconds behind writes: an agent's own duplicates are caught locally, but two different agents proposing the same title within seconds may both succeed.
  • Adding a to: label creates that label in the repository if it does not exist yet.
  • Reviews and comments are not edited or deleted by agent-postbox – by design.
  • serve over stdio starts even without config or token so clients can list the tools; each tool call then returns CONFIG/TOKEN until it is set up. The HTTP transport refuses to start instead.
  • When the MCP server and the CLI share a receipt file, a lock conflict can pause the server for up to 5 seconds, and concurrent processes may exceed a daily limit by a few writes.
  • The HTTP transport is stateless JSON (no SSE, no sessions, no server-initiated messages) and has no TLS; put it behind your own reverse proxy when it leaves the machine. Browsers are kept out by design (JSON content type required, Host must name the server, Origin refused unless listed in `AGENT_POSTBOX_HTTP_ORI

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx