JC

jtianling/cross-agent-teams-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

23 stars 2 forks 品質 81 トレンド 31MIT

MCPデーモン(クロスエージェントコラボレーション用)

概要

複数のAIコーディングエージェント(Claude Code、Codex、opencode)を同じマシンで実行できるローカルMCPデーモンは、互いに話します。 エージェントは1対1のメッセージを登録し、1対1のメッセージを送信し、チームやロールにブロードキャストし、お互いに目を覚ます。 クロード・コードは既に自身のエージェント・チームの特徴を出荷します。 表面にそれと重複するクロス エージェント チーム, しかし、異なる問題を解決. このプロジェクトのために到達する3つの具体的な理由: Claudeコードのエージェントチームは、Claudeコード自体に縛られています。すべてのメンバーはClaudeコードサブエージェントです。 クロスエージェントチームは、Claudeコードエージェント、Codexエージェント、オープンコードエージェント、Cursorエージェントなど、同じチームで異なるエージェントをミックスすることができます。 1つのハーネスにロックされるのではなく、各ロールに最適なエージェントを使用します。 この設計では、各エージェントプロセスが始まり、手動で停止します.

概要(AI 翻訳)

スタッフ

複数のAIコーディングエージェント(Claude Code、Codex、opencode)を同じマシンで実行できるローカルMCPデーモンは、互いに話します。 エージェントは1対1のメッセージを登録し、1対1のメッセージを送信し、チームやロールにブロードキャストし、お互いに目を覚ます。

##Claude Codeのエージェントチームを使用するのはなぜですか?

クロード・コードは既に自身のエージェント・チームの特徴を出荷します。 表面にそれと重複するクロス エージェント チーム, しかし、異なる問題を解決. このプロジェクトのために到達する3つの具体的な理由:

クロスエージェントのサポート。 Claudeコードのエージェントチームは、Claudeコード自体に縛られています。すべてのメンバーはClaudeコードサブエージェントです。 クロスエージェントチームは、Claudeコードエージェント、Codexエージェント、オープンコードエージェント、Cursorエージェントなど、同じチームで異なるエージェントをミックスすることができます。 1つのハーネスにロックされるのではなく、各ロールに最適なエージェントを使用します。

電池の持続性と制御性。 この設計では、各エージェントプロセスが始まり、手動で停止します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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

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
GitHub で README 全文を見る

インストール

npx -y -p cross-agent-teams-mcp@latest cross-agent-teams-channel --daemon-url http://127.0.0.1:9100/mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "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" ] } } }