CC

cs50victor/claude-code-teams-mcp

Developer tools

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

283 stars 42 forks 品質 64 トレンド 19MIT

cs50victor/claude-code-teams-mcp は、https://github.com/cs50victor/claude-code-teams-mcp. からインポートされたMCPサーバー候補です。

概要

cs50victor/claude-code-teams-mcp は、https://github.com/cs50victor/claude-code-teams-mcp. からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

Claude Codeのエージェントチームプロトコルを任意のMCPクライアント向けに実装するMCPサーバーです。

https://github.com/user-attachments/assets/531ada0a-6c36-45cd-8144-a092bb9f9a19

Claude Codeには組み込みのエージェントチーム機能(共有タスクリスト、エージェント間メッセージング、TMUXベースのスポーン)がありますが、プロトコルは内部的で独自のツールと密接に連携しています。このMCPサーバーはそのプロトコルをスタンドアロンのMCPサーバーとして再実装し、Claude Code、OpenCode、またはMCPを語る他のすべてのMCPクライアントに利用可能にします。Claude Codeの内部構造を深く掘り下げた結果です。PRを歓迎します。

インストール

**リリースタグにピン留め(例:@v0.1.1)にピンで留めてください。mainではありません。リリース間には壊れやすい変更があります。

Claude Code (.mcp.json):

OpenCode (~/.config/opencode/opencode.json):

要件

  • Python 3.12+
  • TMUX
  • PATH上の少なくとも1つのコーディングエージェント:Claude Code(claude)またはOpenCode(opencode)
  • OpenCodeのチームメイトはOPENCODE_SERVER_URLとclaude-teamsのMCPが接続されている必要があります

構成

変数 説明 デフォルト

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

README

以下は原文 README の抜粋です。原文を見る。

https://github.com/user-attachments/assets/531ada0a-6c36-45cd-8144-a092bb9f9a19

Claude Code has a built-in agent teams feature (shared task lists, inter-agent messaging, tmux-based spawning), but the protocol is internal and tightly coupled to its own tooling. This MCP server reimplements that protocol as a standalone MCP server, making it available to any MCP client: Claude Code, OpenCode, or anything else that speaks MCP. Based on a deep dive into Claude Code’s internals. PRs welcome.

Install

Pin to a release tag (e.g. @v0.1.1), not main. There are breaking changes between releases.

Claude Code (.mcp.json):

{
  "mcpServers": {
    "claude-teams": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/cs50victor/[email protected]", "claude-teams"]
    }
  }
}

OpenCode (~/.config/opencode/opencode.json):

{
  "mcp": {
    "claude-teams": {
      "type": "local",
      "command": ["uvx", "--from", "git+https://github.com/cs50victor/[email protected]", "claude-teams"],
      "enabled": true
    }
  }
}

Requirements

  • Python 3.12+
  • tmux
  • At least one coding agent on PATH: Claude Code (claude) or OpenCode (opencode)
  • OpenCode teammates require OPENCODE_SERVER_URL and the claude-teams MCP connected in that instance

Configuration

Variable Description Default
CLAUDE_TEAMS_BACKENDS Comma-separated enabled backends (claude, opencode) Auto-detect from connecting client
OPENCODE_SERVER_URL OpenCode HTTP API URL (required for opencode teammates) (unset)
USE_TMUX_WINDOWS Spawn teammates in tmux windows instead of panes (unset)

Without CLAUDE_TEAMS_BACKENDS, the server auto-detects the connecting client and enables only its backend. Set it explicitly to enable multiple backends:

{
  "mcpServers": {
    "claude-teams": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/cs50victor/[email protected]", "claude-teams"],
      "env": {
        "CLAUDE_TEAMS_BACKENDS": "claude,opencode",
        "OPENCODE_SERVER_URL": "http://localhost:4096"
      }
    }
  }
}

Tools

Tool Description
team_create Create a new agent team (one per session)
team_delete Delete team and all data (fails if teammates active)
spawn_teammate Spawn a teammate in tmux
GitHub で README 全文を見る

インストール

uvx --from git+https://github.com/cs50victor/[email protected] claude-teams
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "claude-teams": { "command": "uvx", "args": ["--from", "git+https://github.com/cs50victor/[email protected]", "claude-teams"] } } }