Claude Army logo

Claude Army

Coordinate parallel Claude Code agents across projects through MCP, with task monitoring, output retrieval, teams, cancellation, and cleanup.

Install Claude Army

Run the project’s own setup commands, in order.

Setup steps from the project

claude-army installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install
    

Overview

The claude-army MCP server lets Claude dispatch background Claude Code agents to project directories and coordinate their work. It supports solo tasks across multiple projects and team mode, where a lead agent divides work among sub-agents. Use it when coding tasks can run independently while you continue working in chat. Monitor progress, inspect outputs, view team status, stop agents, or remove finished task records through MCP tools.

Use cases

  • Dispatch coding work to multiple project directories
  • Run independent refactoring tasks in parallel
  • Decompose a coding task into coordinated sub-agents
  • Monitor agent progress and retrieve completed output
  • Cancel or clean up background tasks

Key features

  • Background Claude Code task dispatch
  • Solo and multi-agent team modes
  • Task status and progress monitoring
  • Agent output and timeline retrieval
  • Lead and sub-agent tree views
  • Graceful cancellation and task cleanup

Tools6

What Claude Army lets your agent do. Expand a tool for its parameters.

Self-reported~96 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 78d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit8mo agoMost recent push to the default branch.
Tools exposed6Callable tools this server registers over MCP.

How Claude Army works

What claude-army MCP server does

The claude-army MCP server connects a Claude chat session with local Claude Code processes. It allows the chat model to send coding tasks to project directories, where agents work in the background. Tasks can target separate projects, so independent changes can be started without waiting for each one to finish.

The server supports two dispatch modes. The default solo mode runs one Claude Code agent for a task. Team mode assigns the task to a lead agent, which can break the work into smaller assignments and create sub-agents through Claude Code’s Task tool. The lead agent combines the results after the subtasks complete.

How it works

Claude communicates with the server over MCP using stdio transport. When dispatch_task is called, the server starts a Claude Code process and tracks it as a task. The process can run in the background while other MCP requests inspect or manage its status.

Progress data is read from Claude Code’s stream-json output. Status reporting can include recent activity such as file reads, edits, and shell commands, along with elapsed time and staleness information. Team operations also expose the relationship between the lead agent and its sub-agents.

The default maximum is five simultaneous agents. This limit is controlled by a constant in src/index.js rather than an environment variable.

Setup and configuration

The repository requires Node.js 18 or newer, an installed and authenticated Claude Code CLI, and an MCP-compatible client. Install the project dependencies with:

Terminal
npm install

Add the server to Claude Desktop by pointing a node command at src/index.js. Windows path values should use forward slashes, such as C:/Users/you/claude-army/src/index.js. Restart Claude Desktop after changing its configuration.

Two settings are edited near the top of src/index.js: CLAUDE_BINARY, which identifies the Claude Code executable, and MAX_CONCURRENT_TASKS, which controls the concurrent-agent limit.

Tools and capabilities

The claude-army MCP server provides these tools:

  • dispatch_task sends a task to a project directory and accepts solo or team mode.
  • check_tasks lists running and completed work and summarizes team sub-agents.
  • get_task_output returns an agent’s work and full output, including its progress timeline.
  • get_agent_team shows the lead agent, sub-agents, statuses, runtimes, and output previews.
  • cancel_task stops a running task gracefully.
  • purge_tasks removes completed or failed task records.

Limitations and notes

Agents must have access to the relevant project directories, and Claude Code must be installed and authenticated on the host running the server. The documented setup uses Claude Desktop, although the requirements also state that any MCP-compatible client can be used. Concurrent work is bounded by the configured task limit, which defaults to five agents. The project is licensed under MIT.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Claude Army

claude-army is an MCP server that connects Claude chat to local Claude Code processes. Its main tools dispatch coding tasks, monitor task status, retrieve agent output, inspect lead-agent teams, cancel running work, and purge completed or failed tasks. It supports solo execution and coordinated team mode across project directories.

Install it by cloning the repository, running `npm install`, and adding a Node command for `src/index.js` to your Claude Desktop configuration. Restart Claude Desktop after saving the configuration.

Team mode lets a lead Claude Code agent split a task into focused subtasks and spawn sub-agents through Claude Code’s Task tool. The sub-agents work in parallel, while `get_agent_team` displays the hierarchy and `check_tasks` reports the team summary.

The documented configuration example is for Claude Desktop, so Cursor-specific setup is not provided.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewClaude Army AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/claude-army?style=directory)](https://allmcps.com/mcp/claude-army)
HTML Embed
<a href="https://allmcps.com/mcp/claude-army"><img src="https://allmcps.com/api/badge/claude-army?style=directory" alt="Claude Army on AllMCPs" /></a>