# Agent Postbox

> Agent Postbox is an MCP server for developer tools. Hand work between coding agents through GitHub issues and PRs, with read-back receipts. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/aethelgard-systems/agent-postbox
- **MCP Registry name:** io.github.Aethelgard-Systems/agent-postbox
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-11-15

## About

Agent Postbox treats a GitHub repository as the mailbox between AI agents. One agent labels an issue to:builder, the builder claims it, opens a pull request for the reviewer, and a human merges, because agents cannot merge, close or set authority labels. It is narrow by design: not a framework, runtime or dashboard.

Safety comes from specific mechanisms. Every write is fetched back and compared, receipts stored as attempted then confirmed prevent duplicate posts after timeouts, and reviews on an agent's own PR are refused. Protected labels are human-only, a fixed endpoint allowlist excludes merge, delete and settings, a secret filter screens bodies, and daily limits cap writes and proposals. Content read from GitHub is marked untrusted. Version 0.2 adds handoffs whose acknowledgement is bound to the hash of the text read, and a hash-chained, Ed25519-signed evidence log.

Each agent needs its own GitHub identity and a fine-grained token for one repository. An offline demo runs against an in-memory GitHub with synthetic data.

## Features

- **Read-back writes:** Each write is fetched again and compared before it counts.
- **Four-eyes review:** Reviews on an agent's own PR are refused and bound to the head commit.
- **Bounded permissions:** A fixed allowlist excludes merge, close, delete, settings and code access.
- **Handoffs:** Tasks carry acceptance criteria and acknowledgements tied to the text hash.
- **Signed evidence log:** Receipt changes are hash-chained and signed, and verification catches edits.
- **Offline demo:** npm run demo runs two agents without a GitHub account.

## Good for

- Run a builder and a reviewer agent on one repo
- Stop an agent approving its own PR
- Hand a task between agents with acceptance criteria
- Keep an auditable log of agent actions

## Install

### Claude Code (Terminal)

```sh
claude mcp add agent-postbox --env AGENT_POSTBOX_TOKEN='<AGENT_POSTBOX_TOKEN>' -- npx -y agent-postbox
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "agent-postbox": {
      "command": "npx",
      "args": [
        "-y",
        "agent-postbox"
      ],
      "env": {
        "AGENT_POSTBOX_TOKEN": "<AGENT_POSTBOX_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agent-postbox": {
      "command": "npx",
      "args": [
        "-y",
        "agent-postbox"
      ],
      "env": {
        "AGENT_POSTBOX_TOKEN": "<AGENT_POSTBOX_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "agent-postbox": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agent-postbox"
      ],
      "env": {
        "AGENT_POSTBOX_TOKEN": "<AGENT_POSTBOX_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "agent-postbox": {
      "command": "npx",
      "args": [
        "-y",
        "agent-postbox"
      ],
      "env": {
        "AGENT_POSTBOX_TOKEN": "<AGENT_POSTBOX_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agent-postbox": {
      "command": "npx",
      "args": [
        "-y",
        "agent-postbox"
      ],
      "env": {
        "AGENT_POSTBOX_TOKEN": "<AGENT_POSTBOX_TOKEN>"
      }
    }
  }
}
```

## Tools

- `inbox`: Issues and PRs labelled for this agent.
- `read`: One issue or PR with comments.
- `comment`: One receipted, read-back comment.
- `label`: Add or remove allowed labels.
- `propose`: New proposal issue with duplicate check and daily limit.
- `review`: PR review bound to the head commit, refused on own PRs.
- `handoff_create`: Hand a task to another agent with acceptance criteria.
- `handoff_read`: Read a handoff and its acknowledgements.
- `handoff_ack`: Acknowledge a handoff; DONE needs evidence.

## FAQ

### What does each agent need?

Its own GitHub identity and a fine-grained token limited to one repository.

### Can agents merge PRs?

No. Agents cannot merge, close or set authority labels.

### Can I try Agent Postbox without GitHub?

Yes, the offline demo uses an in-memory GitHub with synthetic data.

### What are the requirements?

Node.js 20 or newer.

### How do I add Agent Postbox to Claude Code?

Run this command in your terminal: claude mcp add agent-postbox --env AGENT_POSTBOX_TOKEN='<AGENT_POSTBOX_TOKEN>' -- npx -y agent-postbox

### What are the best alternatives to Agent Postbox?

The closest alternatives to Agent Postbox are AgentBrain Handoffs, agent-intercom, a2a-mailbox, Braigetori Community and PlainHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [AgentBrain Handoffs](https://ai-powered.com/mcp/agentbrain-handoffs): AgentBrain Handoffs is an open-source MCP server for developer tools.
- [agent-intercom](https://ai-powered.com/mcp/agent-intercom): agent-intercom is a free MCP server for developer tools.
- [a2a-mailbox](https://ai-powered.com/mcp/a2a-mailbox): a2a-mailbox is an open-source MCP server for developer tools.
- [Braigetori Community](https://ai-powered.com/mcp/braigetori-community): Braigetori Community is a free MCP server for developer tools.
- [PlainHub](https://ai-powered.com/mcp/plainhub): PlainHub is a freemium MCP server for developer tools.
- [Theorem Praxis](https://ai-powered.com/mcp/theorem-praxis): Theorem Praxis is a freemium MCP server for productivity.
- [Passalong](https://ai-powered.com/mcp/passalong): Passalong is a freemium MCP server for developer tools.
- [supragnosis](https://ai-powered.com/mcp/supragnosis): supragnosis is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/agent-postbox
