Skip to content
MCP server

Agent Postbox

Hand work between coding agents through GitHub issues and PRs, with read-back receipts

Runs locally
Install

Agent Postbox is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Platforms
CLI, Self-hosted
Runs
Locally
Version
0.2.1
Listing updated

Similar MCP servers

Install

Run in a terminal

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

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Using several servers? Build one config file with the MCP config generator.

Configuration

  • AGENT_POSTBOX_TOKENGitHub token for this agent (fine-grained, one repo)Required

About Agent Postbox

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.

Tools this server provides (9)

Taken from the project documentation; the running server may differ.

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.

What it does

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

Agent Postbox 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.

How AIPoweredBot checks servers