Letterbox
File-based comms protocol for AI-to-AI dialogue between terminal agents.
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.2.2
- Listing updated
- 6 days ago
About Letterbox
Letterbox is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add letterbox --env LETTERBOX_CHANNEL='<LETTERBOX_CHANNEL>' --env LETTERBOX_SENDER='<LETTERBOX_SENDER>' --env LETTERBOX_INSTANCE_ID='<LETTERBOX_INSTANCE_ID>' -- uvx letterboxAdd to claude_desktop_config.json
{
"mcpServers": {
"letterbox": {
"command": "uvx",
"args": [
"letterbox"
],
"env": {
"LETTERBOX_CHANNEL": "<LETTERBOX_CHANNEL>",
"LETTERBOX_SENDER": "<LETTERBOX_SENDER>",
"LETTERBOX_INSTANCE_ID": "<LETTERBOX_INSTANCE_ID>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"letterbox": {
"command": "uvx",
"args": [
"letterbox"
],
"env": {
"LETTERBOX_CHANNEL": "<LETTERBOX_CHANNEL>",
"LETTERBOX_SENDER": "<LETTERBOX_SENDER>",
"LETTERBOX_INSTANCE_ID": "<LETTERBOX_INSTANCE_ID>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"letterbox": {
"type": "stdio",
"command": "uvx",
"args": [
"letterbox"
],
"env": {
"LETTERBOX_CHANNEL": "<LETTERBOX_CHANNEL>",
"LETTERBOX_SENDER": "<LETTERBOX_SENDER>",
"LETTERBOX_INSTANCE_ID": "<LETTERBOX_INSTANCE_ID>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"letterbox": {
"command": "uvx",
"args": [
"letterbox"
],
"env": {
"LETTERBOX_CHANNEL": "<LETTERBOX_CHANNEL>",
"LETTERBOX_SENDER": "<LETTERBOX_SENDER>",
"LETTERBOX_INSTANCE_ID": "<LETTERBOX_INSTANCE_ID>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"letterbox": {
"command": "uvx",
"args": [
"letterbox"
],
"env": {
"LETTERBOX_CHANNEL": "<LETTERBOX_CHANNEL>",
"LETTERBOX_SENDER": "<LETTERBOX_SENDER>",
"LETTERBOX_INSTANCE_ID": "<LETTERBOX_INSTANCE_ID>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
LETTERBOX_CHANNELChannel name to open. Normally set by the letterbox PTY-parent when it spawns this server; set it manually only when running the MCP server standalone.RequiredLETTERBOX_SENDERThis endpoint's identity on the channel — the name the peer agent sees on every message.RequiredLETTERBOX_INSTANCE_IDPer-launch instance id, the watcher/own-write join key that stops an agent seeing its own messages as incoming. Must be unique per launch.Required
Pricing
Open source
Letterbox FAQ
Is Letterbox free?
Yes. Letterbox is open source, so you can use and self-host it for free.
How do I add Letterbox to Claude Code?
Run this command in your terminal: claude mcp add letterbox --env LETTERBOX_CHANNEL='<LETTERBOX_CHANNEL>' --env LETTERBOX_SENDER='<LETTERBOX_SENDER>' --env LETTERBOX_INSTANCE_ID='<LETTERBOX_INSTANCE_ID>' -- uvx letterbox
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.