
jtianling/cross-agent-teams-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Демон MCP для кросс-агентного сотрудничества
Обзор
Местный демон MCP, который позволяет нескольким агентам кодирования ИИ (Claude Code, Codex, opencode), работающим на одной машине, общаться друг с другом. Агенты регистрируются, отправляют сообщения от 1 до 1, транслируются в команду или роль и разбудят друг друга — по всему одному демону, никаких внешних сервисов. Клод Код уже поставляет свои собственные агентские команды. Кросс-агент-команды перекрываются с ним на поверхности, но решает другую проблему. Три конкретные причины для реализации этого проекта: Команды агентов Клода Кода связаны с самим Клодом Кодом — каждый член является субагентом Клода Кода. Cross-agent-teams позволяет смешивать различные агенты в одной команде: агент Claude Code, агент Codex, агент с открытым кодом, агент Cursor и т. Д., Все они координируются через одного демона. Используйте агента, который лучше всего подходит для каждой роли, вместо того, чтобы быть привязанным к одной упряжке. В этой конструкции каждый процесс агента запускается и останавливается вручную.
Обзор (машинный перевод)
中
Местный демон MCP, который позволяет нескольким агентам кодирования ИИ (Claude Code, Codex, opencode), работающим на одной машине, общаться друг с другом. Агенты регистрируются, отправляют сообщения от 1 до 1, транслируются в команду или роль и разбудят друг друга — по всему одному демону, никаких внешних сервисов.
Почему бы просто не использовать команды агентов Клода Кода?
Клод Код уже поставляет свои собственные агентские команды. Кросс-агент-команды перекрываются с ним на поверхности, но решает другую проблему. Три конкретные причины для реализации этого проекта:
** Поддержка агентов.** Команды агентов Клода Кода связаны с самим Клодом Кодом — каждый член является субагентом Клода Кода. Cross-agent-teams позволяет смешивать различные агенты в одной команде: агент Claude Code, агент Codex, агент с открытым кодом, агент Cursor и т. Д., Все они координируются через одного демона. Используйте агента, который лучше всего подходит для каждой роли, вместо того, чтобы быть привязанным к одной упряжке.
** Повышенная устойчивость и управляемость.** В этой конструкции каждый процесс агента запускается и останавливается вручную.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
cross-agent-teams-mcp
A local MCP daemon that lets multiple AI coding agents (Claude Code, Codex, opencode) running on the same machine talk to each other. Agents register, send 1-to-1 messages, broadcast to a team or role, and wake each other up — all over a single daemon, no external services.
Why not just use Claude Code’s agent teams?
Claude Code already ships its own agent teams feature. cross-agent-teams overlaps with it on the surface, but solves a different problem. Three concrete reasons to reach for this project:
Cross-agent support. Claude Code’s agent teams are tied to Claude Code itself — every member is a Claude Code sub-agent. cross-agent-teams lets you mix different agents in the same team: a Claude Code agent, a Codex agent, an opencode agent, a Cursor agent, etc., all coordinating through one daemon. Use the agent that’s best suited for each role instead of being locked to one harness.
Better persistence and controllability. In this design, each agent process is started and stopped manually. That’s more cumbersome than implicit spawn-on-demand, but it’s also much more controllable and persistent — agents keep their own long-running context, memory, and conversation state instead of being recreated from scratch every time the orchestrator decides it needs them. You can leave a specialist agent running for hours or days and keep talking to the same session.
Cross-device / cross-user collaboration. The daemon recently grew support for building teams across physical machines (see section 4). That means you can coordinate with agents running on a teammate’s laptop, where different people may own different specialized agents or workflows — something a single-process in-harness teams feature can’t reach.
Quick start
Recommended: let a code agent set it up
The whole device setup (zshrc launchers, daemon token, codex/opencode config) is written as an agent-readable runbook: README.agent.md. Paste this to any code agent that can fetch URLs and run shell commands:
Read https://raw.githubusercontent.com/jtianling/cross-agent-teams-mcp/HEAD/README.agent.md
and follow it to set up xats on this device.
The agent will confirm a device label and the ~/.zshrc changes with you,
auto-generate the daemon token on first start-xats, and wire up the
free-xats-codex / xats-codex /
free-xats-opencode / xats-opencode launchers plus start-xats /
stop-xats. Prefer doing it by hand? Continue below.
Claude Code
# 1. Start the daemon (run once, keep it alive)
npx -y cross-agent-teams-mcp@latest daemon --port 9100 &
# 2. In your project, install the MCP config
npx mcpsmgr add jtianling/cross-agent-teams-mcp -a claude-code
# 3. Start Claude Code with the channel loader (manual permission prompt expected)
claude --dangerously-load-development-channels server:cross-agent-teams-channel
Установка
npx -y -p cross-agent-teams-mcp@latest cross-agent-teams-channel --daemon-url http://127.0.0.1:9100/mcpКонфигурация
{
"mcpServers": {
"cross-agent-teams": {
"type": "http",
"url": "http://127.0.0.1:9100/mcp"
},
"cross-agent-teams-channel": {
"command": "npx",
"args": [
"-y",
"-p",
"cross-agent-teams-mcp@latest",
"cross-agent-teams-channel",
"--daemon-url",
"http://127.0.0.1:9100/mcp"
]
}
}
}