HT

howardpen9/tmux-bridge-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

110 stars 13 forks Качество 86 Тренд 8MIT

howardpen9/tmux-bridge-mcp — это кандидат на сервер MCP, импортированный из https://github.com/howardpen9/tmux-bridge-mcp.

Обзор

howardpen9/tmux-bridge-mcp — это кандидат на сервер MCP, импортированный из https://github.com/howardpen9/tmux-bridge-mcp.

Обзор (машинный перевод)

Английский | 简体中文

Автономный MCP-сервер, позволяющий агентам ИИ (Claude Code, Gemini CLI, Codex, Kimi CLI) общаться друг с другом через панели tmux. Он общается напрямую с tmux — без внешних зависимостей, кроме самого tmux.

🖥️ Что такое tmux?

TMUK — это терминальный мультиплексор — он позволяет разделить одно окно терминала на несколько панелей, каждая из которых работает независимо. Думайте об этом как о «вкладках на стероидах» для вашего терминала.

Каждая панель — это полноценный терминал. В одном можно запустить Claude Code, в другом — Codex, в третьем — всё это видно одновременно, на одной машине.

Проблема: эти панели не могут общаться друг с другом. Агент в панели 1 понятия не имеет, что происходит во второй панели.

tmux-bridge решает эту проблему. Он даёт каждому агенту возможность читать, печатать и отправлять сообщения в любую другую панель.

⚡ Что можно сделать с tmux-bridge?

После установки ваши ИИ-агенты могут:

Действие Как Пример
Посмотрите, что делает другой агент tmux_read Прочитайте последние 20 строк панели Кодекса
Отправить задание другому агенту tmux_message + tmux_keys Скажи Клоду просмотреть файл

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

tmux-bridge-mcp

English | 简体中文

A standalone MCP server that lets AI agents (Claude Code, Gemini CLI, Codex, Kimi CLI) communicate with each other through tmux panes. It talks directly to tmux – no external dependencies beyond tmux itself.

🖥️ What is tmux?

tmux is a terminal multiplexer – it lets you split one terminal window into multiple panes, each running its own process independently. Think of it as “tabs on steroids” for your terminal.

+-------------------------------+
|  Pane 1       |  Pane 2       |
|  Claude Code  |  Codex        |
|  writing code |  reviewing    |
|               |               |
+---------------+---------------+
|  Pane 3       |  Pane 4       |
|  Gemini CLI   |  tail -f logs |
|  researching  |  monitoring   |
+-------------------------------+

Each pane is a full terminal. You can have Claude Code running in one, Codex in another, Gemini in a third – all visible at the same time, all on the same machine.

The problem: these panes can’t talk to each other. An agent in Pane 1 has no idea what’s happening in Pane 2.

tmux-bridge fixes this. It gives every agent the ability to read, type, and send messages into any other pane.

⚡ What can you do with tmux-bridge?

Once installed, your AI agents can:

Action How Example
See what another agent is doing tmux_read Read the last 20 lines of Codex’s pane
Send a task to another agent tmux_message + tmux_keys Tell Claude to review a file
Coordinate multi-agent workflows Chain tool calls Gemini researches -> Claude implements -> Codex reviews
Monitor processes tmux_read on a shell pane Watch build logs, test output, server status
Label panes by role tmux_name Name panes “claude”, “codex”, “gemini” for easy targeting

All of this happens through standard MCP tool calls – your agent doesn’t need to learn any new syntax. If it supports MCP, it already knows how.

🤖 Supported Agents

Tested and documented

Agent Connection Setup path
Claude Code Native MCP (stdio) claude mcp add -s user / ~/.claude.json
Codex CLI Native MCP (stdio) codex mcp add
OpenCode Native MCP (stdio) ~/.config/opencode/opencode.json(c) (mcp key)
CodeBuddy Native MCP (stdio) codebuddy mcp add -s user / ~/.codebuddy/.mcp.json
Открыть полный README на GitHub

Установка

npx -y tmux-bridge-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "tmux-bridge": { "command": "npx", "args": ["-y", "tmux-bridge-mcp"] } } }