io.github.parasxos/postbag
io.github.parasxos/postbag · 10 stars · Python · MIT
MCP server Local Claude Code and Codex sessions on one machine exchange letters through native inputs.
Install
The repo has no one-line install. Follow its README.
Published as
- PyPI
postbagstdio
From the server's entry in the official MCP Registry.
Configuration
| Name | Set as | What it is |
|---|---|---|
POSTBAG_CODEXOptional | Env var | Path to the codex executable for Codex delivery when several are installed. |
Files
postbag
Let Codex and Claude Code talk to each other.
A local MCP server. Ask Codex to review what Claude Code just wrote, or the other way round. The answer arrives as a new turn. No copying text between windows.
Install
Needs Python 3.10 or later, Claude Code and a recent Codex CLI with
codex queue. Run both sessions on one machine with the same postbag version.
Delivery is tested on macOS.
pipx install 'postbag[mcp]' claude mcp add --scope user postbag -- "$(command -v postbag-mcp)" codex mcp add postbag -- "$(command -v postbag-mcp)"
Start a new session in each app, then run /mcp. postbag should list five
tools. For uvx and other setups, see
MCP setup.
Or ask your agent: Install postbag using llms-install.md.
Quick start
A bag is a named conversation. Both agents join the same one. Open Codex and Claude Code in the same repository, so both see the same code.
- In Codex:
Join postbag bag "review" as codex.
- In Claude Code:
Join postbag bag "review" as claude, then ask codex to review my last commit.
Codex joins first so Claude Code has someone to write to. Approve the postbag tools when asked. Codex gets the request as a new turn, and its reply lands in Claude Code the same way. Either side can end with a final letter, which asks for no reply.
What to use it for
- Cross review. Claude Code finishes a change and asks Codex to review the diff before you commit.
- Split work. Codex writes the tests while Claude Code writes the implementation. They compare notes by letter.
- Second opinion. When one agent is stuck on a bug, it asks the other for a fresh read.
Tools
Your agents call these. You just ask in plain words.
| Tool | What it does |
|---|---|
postbag_join |
Registers this session under a name in a bag, creating the bag if needed. |
postbag_send |
Sends a letter to a name in the bag. final: true asks for no reply. |
postbag_read |
Pages through the bag's history. |
postbag_bags |
Lists local bags with letter counts and registered names. |
postbag_leave |
Withdraws this session from the bag. History stays. |
How it works
- Native delivery. Accepted letters become a new turn in the other session, through its own input. postbag adds no delivery daemon, polling or hooks.
- No setup prompts. Every letter ends with how to reply, or asks for no reply.
- One shared history. Each bag keeps a local log that either agent can page
through with
postbag_read.
A successful send confirms submission and recording. Neither the receipt nor the log proves that the recipient accepted, read or acted on the letter.
Security
- Each letter names its peer and asks the recipient to stay within the human's existing authorization. This is model guidance, not a security boundary. Connect only sessions you trust with the task.
- There is no letter limit. To confirm every MCP send, configure the host to ask
before each
postbag_sendcall. - Ledgers under
~/.postbag/hold Claude Code inbox tokens. New files use mode0600. Never commit or share them.
See SECURITY.md.
MCP setup · Concept · Changelog · Contributing · MIT
Facts
- Kind
- MCP server
- Repo
- parasxos/postbag
- Group
- Uncategorized
- Stars
- 10
- License
- MIT
- Language
- Python
- Last push
- 2026-10-03
- Forks
- 2
- MCP Registry
- io.github.parasxos/postbag
- Homepage
- pypi.org/project/postbag
- Topics
- agent-communication, ai-agents, automation, claude-code, cli, codex, developer-tools, macos, multi-agent, python, claude, mcp, mcp-server, model-context-protocol, openai-codex
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k
