Claude Army

io.github.robbhimself-1337由 GitHub 账号 robbhimself-1337 发布v0.3.1更新于 Oct 24, 2026

Orchestrate multiple Claude Code agents in parallel from chat

发布方自己的服务:Claude Platform Docs

已验证STDIO仅桌面开发者工具AI 与机器学习

概览

AI 生成的概览

本地 MCP 服务器,让 Claude 在多个项目目录中并行派发并监控多个自主运行的 Claude Code 代理。

可以做什么
  • 向项目目录派发 Claude Code 代理,可选团队模式由主代理拆分任务并并行运行子代理
  • 查看所有运行中和已完成代理的状态,包括子代理摘要
  • 获取某个代理的完整输出及其所做操作
  • 查看主代理及其子代理树,含状态、运行时长和输出预览
  • 优雅停止运行中的代理,或清理已完成和失败的任务
适用场景
适合希望同时在单个或多个项目上启动编码工作、继续正常聊天并稍后查看进度的场景。对已经在使用 Claude Code、想从聊天客户端并行执行自主任务的用户最有价值。
运行要求
以本地 stdio 进程运行,通过 npm 包 claude-army 安装(或克隆仓库后执行 npm install),并写入 Claude Desktop 配置文件。需要 Node.js 18+、已安装并完成认证的 Claude Code,以及 Claude Desktop 等兼容 MCP 的客户端。Claude Code 可执行文件路径和最大并发任务数(默认 5)需在源码常量中设置。
安装前请注意
代理会自主运行并修改所指定项目目录中的代码,请只指向可以接受改动的仓库并检查其输出。并发数由源码常量限制,派生的代理沿用你已认证的 Claude Code 会话,可能消耗用量或额度。取消被描述为优雅停止,被中止的代理可能留下部分改动。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Claude Army,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

🪖 ClaudeArmy

[Version] [License] [Node]

An MCP server that lets Claude orchestrate multiple Claude Code agents working autonomously across different projects.

[ClaudeArmy Demo]

What It Does

ClaudeArmy gives Claude (in the chat interface) the ability to spawn background Claude Code processes that work independently on coding tasks. Think of it as a chain of command:

  • You → give strategic direction
  • Claude (chat) → breaks it down and dispatches agents
  • Claude Code agents → execute autonomously, spawning their own sub-agents as needed

This means you can kick off work across multiple projects simultaneously, keep chatting normally, and check in on progress whenever you want.

Tools

ToolDescription
dispatch_taskDeploy a Claude Code agent to a project directory. Supports mode: "team" for multi-agent coordination
check_tasksMonitor status of all running/completed agents
get_task_outputRetrieve what an agent did and its full output
get_agent_teamDetailed view of a lead agent and all its sub-agents
cancel_taskStop a running agent gracefully
purge_tasksClean up completed/failed tasks

Setup

  1. Clone this repo

  2. npm install

  3. Add to your Claude Desktop config:

    • Linux: ~/.config/Claude/claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
json
"claude-army": {  "command": "node",  "args": ["/path/to/claude-army/src/index.js"]}

Windows note: Use forward slashes in the path value (e.g. "C:/Users/you/claude-army/src/index.js").

  1. Restart Claude Desktop

Usage Examples

Single project task:

"Refactor GarbageFire's app.py into modular components"

Multi-project parallel work:

"Refactor GarbageFire to be more modular, and add a Salesforce adapter to my Reporting Tool"

Claude will dispatch separate agents to each project directory and let them work autonomously.

Check progress:

"How are the agents doing?"

Agent Teams

Use mode: "team" on dispatch_task to have the lead agent automatically decompose work and spawn specialized sub-agents that run in parallel.

How it works:

  • The lead agent analyzes the task and breaks it into focused subtasks
  • Each subtask is delegated to a sub-agent via Claude Code's Task tool
  • Sub-agents work in parallel, each with a well-defined scope
  • The lead agent synthesizes results once all sub-agents complete

Monitoring teams:

  • check_tasks shows a sub-agent summary (e.g. "3 sub-agents: 1 running, 2 completed")
  • get_agent_team gives a detailed tree view of the lead agent and every sub-agent, including status, runtime, and output previews

Configuration

Edit the constants at the top of src/index.js:

  • CLAUDE_BINARY - Path to your Claude Code binary
  • MAX_CONCURRENT_TASKS - Max simultaneous agents (default: 5)

Requirements

  • Claude Code installed and authenticated
  • Node.js 18+
  • Claude Desktop or any MCP-compatible client

Changelog

v0.4.1

  • Bump @modelcontextprotocol/sdk to ^1.26.0, resolving 3 high severity supply chain vulnerabilities
  • Add repository field to package.json

v0.4.0

  • Agent team support: track sub-agents spawned via Claude Code Task tool
  • New get_agent_team tool: tree view of lead + all sub-agents
  • check_tasks now shows sub-agent summary for team operations
  • dispatch_task gains mode parameter: solo (default) or team
  • Cross-platform: fixed Windows binary (claude.cmd) and signal handling
  • Error messages now show platform-appropriate diagnostic commands
  • README: added setup paths for Linux, macOS, and Windows

v0.3.0

  • Fixed stream-json parsing to correctly handle assistant message content arrays
  • Staleness indicator: check_tasks now shows time since last agent activity
  • Better error surfacing: actionable messages for CLI not found, permission denied, and mid-run failures
  • Fixed output duplication in get_task_output
  • Demo GIF added to README

v0.2.0

  • Real-time progress tracking via Claude Code's stream-json output
  • check_tasks now shows recent agent activity (file reads, edits, bash commands) instead of just runtime
  • get_task_output includes a full progress timeline with timestamps
  • Structured event parsing for tool use, assistant messages, and results

v0.1.0

  • Initial release
  • Core tools: dispatch_task, check_tasks, get_task_output, cancel_task, purge_tasks
  • Fire-and-forget architecture with background process management
  • Max 5 concurrent agents
  • stdio transport for MCP communication

License

MIT

来源:README.md,提交 64212fb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.3.1最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 Claude 集成