Swarm logo

Swarm

Self-hosted Linux agent platform exposing coding, research, design, media, workflow, and monitoring tools over MCP.

Install Swarm

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

Setup steps from the project

swarm 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
    curl -fsSL https://swarmagent.dev/install | sudo bash
    
  2. 2. Add to Claude Code
    claude mcp add --scope user --transport http swarm http://127.0.0.1:7783/mcp --header "Authorization: Bearer $(cat ~/.config/swarm/ai-key)"
    

Overview

The swarm MCP server connects AI clients to a self-hosted Linux agent platform that runs coding, research, design, and media work across configured machines. Its MCP tools create projects, delegate goals, manage workers, schedule jobs, collect results, and deliver approved code changes. Swarm also exposes workflow automation, folder-scoped environments, status monitoring, alerts, and provider configuration. Reach for it when you want background agent execution on your own machines or need to coordinate several workers through an AI client.

Use cases

  • Delegate coding tasks to isolated background workers
  • Coordinate research, design, and media jobs across projects
  • Schedule recurring work for named agents
  • Review and merge agent-generated code changes
  • Monitor job completion, failures, costs, and blocked workers

Key features

  • MCP control through an HTTP endpoint
  • Built-in coder, finder, designer, and media agents
  • Custom workers with standing instructions
  • Schedules, workflows, and reviewer steps
  • Project environments with folder-scoped secrets
  • Job reports, diffs, transcripts, and cost information

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.

9/9 checks healthy over the last 35d

Adoption & maintenance

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

GitHub stars11Stargazers on the source repository.
Last commit23d agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Swarm works

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.

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 Swarm

swarm is an MCP server that connects AI clients to a self-hosted Linux agent platform. Its main tools create projects, delegate and monitor jobs, manage workers, schedule tasks, configure environments, request media, inspect activity, and deliver coding results for review or merging.

Install it on Ubuntu 24.04 x86_64 with `curl -fsSL https://swarmagent.dev/install | sudo bash`. The installer downloads and verifies the newest release, creates the Swarm services and owner, and prints connection details. Environments can be enabled separately, but they require Docker.

Connect Claude Code by installing the `swarm` plugin or by registering `http://127.0.0.1:7783/mcp` as an HTTP MCP server with the bearer token from `~/.config/swarm/ai-key`. The plugin requires Node.js 22 or newer.

Yes, swarm supports Codex as an MCP client. The installer prints the Codex connection line and reads the owner key from an environment variable.

Sandboxing is optional. By default, agents run on the machine as Swarm's own user without permission prompts or a sandbox; enabling sandbox mode runs commands in one container per project.

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 PreviewSwarm AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/swarm?style=directory)](https://allmcps.com/mcp/swarm)
HTML Embed
<a href="https://allmcps.com/mcp/swarm"><img src="https://allmcps.com/api/badge/swarm?style=directory" alt="Swarm on AllMCPs" /></a>