# swarm [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/swarm-agent/swarm  
**GitHub Stars:** 11  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/swarm

## Description
Swarm is a headless AI agent platform you self-host on Linux. It runs coding, research, design and media agents, workflows, schedules and monitoring across your machines. Drive it from your AI over MCP, or from your own code with the SDK, HTTP API or CLI.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/swarm-agent/swarm), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
curl -fsSL https://swarmagent.dev/install | sudo bash
```

2. Add to Claude Code:

```sh
claude mcp add --scope user --transport http swarm http://127.0.0.1:7783/mcp --header "Authorization: Bearer $(cat ~/.config/swarm/ai-key)"
```

## Documentation

## What swarm does

swarm is a headless AI agent platform for Linux that exposes agent operations through MCP. It can run work in project folders using built-in coder, finder, designer, and media roles, or use named workers with standing instructions. A delegated goal can be planned and divided across agents; direct jobs can target a worker or built-in role.

Coding work runs in isolated branches and produces reports, commits, files, diffs, transcripts, and cost information for review. Results can be delivered through a local Git merge, or as a pull request after publishing is configured. Research produces reports, while media jobs can return image, video, or sound files.

The platform also covers recurring and follow-up work. Workers can run on intervals or cron schedules, and workflows can trigger scripts, reviewers, additional agents, or a retry with feedback when a job ends. Status and activity tools report service health, completed or failed jobs, blocked workers, and cost information. Webhook and Telegram signals are available for monitoring alerts.

## How it works

Install Swarm on a Linux machine, then connect an MCP-capable AI client to its local HTTP endpoint. The client authenticates with the owner key stored under `~/.config/swarm/ai-key`. Claude Code can use the supplied plugin or a direct MCP HTTP registration; the installer also provides connection guidance for Codex. ChatGPT is listed as another MCP control option.

An AI client can first inspect available providers and models, create a project with one or more folders, then submit a task. The task can be delegated to Swarm's orchestrator or assigned directly to a worker. Separate wait, result, message, answer, and delivery operations support long-running jobs and worker questions.

Swarm runs as local services and includes a daemon, HTTP/WebSocket API, terminal controls, and a web setup interface. Its SDK, HTTP API, and CLI provide alternatives to MCP for custom applications and scripts. A tailnet MCP server can make agents on multiple machines available as one fleet.

## Setup and configuration

The documented installation target is Ubuntu 24.04 on x86_64. The installation command downloads the newest Swarm release, verifies its published checksum, and runs Swarm and its setup page as services under a dedicated `swarm` user. By default, services listen on localhost, and no Docker installation is required.

Provider credentials are entered through the setup page at `http://127.0.0.1:8443` or supplied with the installation helper. The AI client uses the owner key rather than sending provider credentials through chat. Environments can be enabled during or after installation; they require Docker and provide a container per project, with setup commands, a base image, and folder-scoped secrets.

By default, agent commands run as Swarm's own user without permission prompts or a sandbox. Enabling sandbox mode runs commands in a project container. Configure publishing separately if jobs should create pull requests; Swarm does not push changes otherwise.

## Tools and capabilities

The MCP catalog includes tools for:

- Listing providers and models, connecting ChatGPT or Claude Code plans, and changing an agent role's model.
- Creating projects and delegating, waiting for, inspecting, messaging, answering, and delivering jobs.
- Requesting media output and deploying named workers with standing instructions.
- Scheduling worker jobs and defining workflows that react to task or job completion.
- Configuring project environments and inspecting allowed secrets without exposing secret values.
- Checking service status and recent activity.

Additional sessions, plans, project orchestrators, and role-specific task operations are available through the expanded MCP tool set.

_Full upstream README: https://allmcps.com/mcp/swarm/readme_

