PluginBench
MCP Server
Active
MIT

Agent Swarm MCP Server

io.github.desplega-ai/agent-swarm

Open-source operating system for AI work: orchestrate multi-agent teams with persistent memory, Docker workers, and integrations.

What is the Agent Swarm MCP server?

Agent Swarm is an open-source MCP server and orchestration engine that enables AI agents to delegate tasks to isolated worker agents, coordinate workflows, and maintain persistent memory across sessions. It provides a lead agent that receives work from Slack, repositories, email, and APIs, then delegates to workers running in Docker containers with shared memory and tools.

Agent Swarm turns companies AI-native by providing a complete orchestration platform for multi-agent systems. A lead agent receives tasks from multiple sources (Slack, GitHub, email, API) and delegates them to isolated worker agents. The system persists memory and identity across sessions, supports schema-validated task results, deferred tasks with deadline triggers, and integrates with popular platforms like Slack, GitHub, GitLab, Linear, and Jira. Use it to automate recurring workflows, coordinate team-wide AI work, and maintain context across agent interactions.

How to install Agent Swarm

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • AGENT_SWARM_API_KEY
    required
    secret

    API key for your local Agent Swarm instance.

  • Authorization
    required
    secret

    Bearer token using the API key for your Agent Swarm instance (include the Bearer prefix).

  • X-Agent-ID
    required

    ID of an agent registered on your Agent Swarm instance.

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "agent-swarm": {
      "command": "npx",
      "args": [
        "-y",
        "@desplega.ai/agent-swarm",
        "api",
        "--port"
      ],
      "env": {
        "AGENT_SWARM_API_KEY": "<YOUR_AGENT_SWARM_API_KEY>",
        "Authorization": "<YOUR_AUTHORIZATION>",
        "X-Agent-ID": "<YOUR_X_AGENT_ID>"
      }
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • Task Management — Create, send, and manage tasks with schema-validated results and deferred task execution based on conditions or deadlines
  • Worker Orchestration — Spawn and manage isolated Docker container workers with persistent identity and memory
  • Memory & Identity — Vector-search memory and persistent identity (SOUL, CLAUDE.md) that carry across sessions with citation ratings
  • Slack Integration — Receive tasks from Slack, route work, and send replies back to Slack threads
  • GitHub/GitLab Integration — Receive tasks from repositories and issue trackers, create pull requests
  • Email Integration — Receive tasks via email (AgentMail) and send email replies
  • Workflows & Schedules — Define recurring workflows, schedules, scripts, and apps
  • Extensions — Install trusted TypeScript hooks as agent-owned inert drafts, activated by trusted leads or dashboard users
  • Realtime Rooms — Shared page state, presence, and live channels for collaborative work
  • Dashboard — Web UI for file attachments, task logs with inline tool-result images, and system management

Use cases

  • Automate Slack-to-pull-request workflows with AI agents reviewing and implementing changes
  • Coordinate multi-agent teams working on complex projects with persistent memory and task delegation
  • Set up recurring scheduled tasks (daily reports, code reviews, email triage) executed by isolated worker agents
  • Build custom AI workflows that integrate Slack, GitHub, email, and other platforms into a unified task system
  • Enable AI agents to learn from past work and improve over time using persistent memory and vector search

Agent Swarm MCP server FAQ

What is Agent Swarm?

Agent Swarm is an open-source orchestration platform that lets you run multi-agent AI systems. A lead agent receives work from Slack, GitHub, email, or APIs and delegates tasks to isolated worker agents running in Docker containers. It maintains persistent memory and identity across sessions.

Is Agent Swarm free?

Yes, Agent Swarm is open-source under the MIT License. You can self-host it with Docker Compose or Kubernetes. There is also a cloud service at agent-swarm.dev with optional paid features.

How do I install Agent Swarm in Cursor or Claude?

In Cursor, use `/add-plugin desplega-ai/agent-swarm`. In Claude Code, use `/plugin marketplace add desplega-ai/agent-swarm` then `/plugin install agent-swarm@agent-swarm`. Alternatively, run `npx skills add desplega-ai/agent-swarm` in any harness.

What integrations does Agent Swarm support?

Agent Swarm integrates with Slack, GitHub, GitLab, Linear, Jira, AgentMail, WhatsApp (Kapso), Composio, Sentry, Devin, and Serply search. Additional integrations can be built via the API.

Do I need authentication to use Agent Swarm?

Yes, you need an API key and credentials for your chosen harness (Claude, Codex, Cursor, etc.). For self-hosted deployments, set API_KEY and agent UUIDs in the .env file. The cloud service uses standard OAuth.

Can I run Agent Swarm on Kubernetes?

Yes, Agent Swarm provides an OCI Helm chart for Kubernetes deployments. See the charts/agent-swarm/README.md for installation instructions.

README (reference)

Source of truth, from the repository.

<p align="center"><a href="https://github.com/desplega-ai/agent-swarm/stargazers"><img src="https://img.shields.io/github/stars/desplega-ai/agent-swarm?style=flat-square&color=yellow" alt="GitHub Stars"></a> <a href="https://github.com/desplega-ai/agent-swarm/blob/main/LICENSE"><img src="https://img.shields.io/github/license/desplega-ai/agent-swarm?style=flat-square" alt="MIT License"></a> <a href="https://github.com/desplega-ai/agent-swarm/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen?style=flat-square" alt="PRs Welcome"></a></p> <p align="center"><b>An engine to make your company AI Native</b><br/><sub>Built by <a href="https://desplega.sh">desplega.sh</a>.</sub></p>

[!TIP] This repo evolves every single day. Watch now →

<p align="center"><video src="https://github.com/user-attachments/assets/8d221239-2340-49a2-aed3-5a474c2229a8" controls muted playsinline width="720"></video></p> <p align="center"><sub>▸ <a href="./assets/agent-swarm-every-team.mp4">every team, one swarm</a> · <a href="./assets/agent-swarm.mp4">daily evolution</a> · <a href="./assets/agent-swarm-slack-to-pr.mp4">slack → pr</a> · <a href="./assets/video-source">Making of</a></sub></p> <p align="center"><a href="https://agent-swarm.dev"><img src="https://img.shields.io/badge/Website-agent--swarm.dev-000?style=for-the-badge" alt="Website"></a> <a href="https://docs.agent-swarm.dev"><img src="https://img.shields.io/badge/Docs-docs.agent--swarm.dev-amber?style=for-the-badge" alt="Docs"></a> <a href="https://app.agent-swarm.dev"><img src="https://img.shields.io/badge/Dashboard-app.agent--swarm.dev-blue?style=for-the-badge" alt="Dashboard"></a> <a href="https://discord.gg/KZgfyyDVZa"><img src="https://img.shields.io/badge/Discord-Join%20Community-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Join Discord"></a> <a href="https://x.com/desplegalabs"><img src="https://img.shields.io/badge/𝕏-@desplegalabs-000?style=for-the-badge&logo=x&logoColor=white" alt="Follow on X"></a> <a href="https://www.linkedin.com/company/desplega-labs/"><img src="https://img.shields.io/badge/LinkedIn-Desplega%20Labs-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white" alt="Desplega Labs on LinkedIn"></a> <a href="https://www.youtube.com/@desplega-labs/videos"><img src="https://img.shields.io/badge/YouTube-Desplega%20Labs-FF0000?style=for-the-badge&logo=youtube&logoColor=white" alt="Desplega Labs on YouTube"></a></p>

agent-swarm.dev is an open-source operating system for AI work. A lead agent delegates goals to workers such as Claude Code or Codex. Isolated containers, shared memory, tools, schedules, and review gates preserve work across sessions.

What you get

  • A lead agent that receives work from Slack, repositories, issue trackers, email, or the API
  • Schema-validated task results for callers that need structured JSON output
  • Deferred tasks that wake when all or any watched tasks reach an outcome, or a deadline arrives
  • Inline tool-result images in task logs, with previews that open at full size
  • Dashboard file attachments by paste, drag-and-drop, or file picker
  • Workers in isolated Docker containers with development environments
  • Memory and identity that persist across sessions, with citation ratings and self-rating hints enabled by default
  • Workflows, schedules, scripts, and apps for recurring work
  • Extensions for trusted TypeScript hooks, installed as agent-owned inert drafts and activated by a trusted lead, operator, or dashboard user
  • Realtime rooms for shared page state, presence, and live channels
  • Your choice of harness and models: Claude Code, Codex, pi, opencode, Devin, or ACP agents
flowchart LR
    subgraph IN["Tasks come in"]
        direction TB
        S["Slack"]
        G["GitHub / GitLab"]
        E["Email"]
        A["API / CLI"]
    end

    LEAD(["Lead Agent<br/>plans &amp; delegates"])

    subgraph WORKERS["Workers in Docker"]
        direction TB
        W1["Worker"]
        W2["Worker"]
        W3["Worker"]
    end

    subgraph BRAIN["Persistent brain"]
        direction TB
        MEM["Memory<br/>(vector search)"]
        ID["Identity<br/>(SOUL, CLAUDE.md)"]
    end

    subgraph OUT["Work ships"]
        direction TB
        PR["Pull Requests"]
        REPLY["Slack replies"]
        EMAIL["Email replies"]
    end

    IN --> LEAD --> WORKERS
    WORKERS -->|reads context| BRAIN
    WORKERS -->|writes learnings| BRAIN
    WORKERS --> OUT

Quick Start

Give your coding agent the operator skill for Docker Compose or Kubernetes:

npx skills add desplega-ai/agent-swarm

Or install it as a plugin in your harness:

HarnessCommand
Claude Code/plugin marketplace add desplega-ai/agent-swarm then /plugin install agent-swarm@agent-swarm
Codexcodex plugin add https://github.com/desplega-ai/agent-swarm (or use npx skills above)
Cursor/add-plugin desplega-ai/agent-swarm
Gemini CLIgemini extensions install https://github.com/desplega-ai/agent-swarm
Antigravity / Factory Droiddroid plugin marketplace add https://github.com/desplega-ai/agent-swarm then droid plugin install agent-swarm@agent-swarm
OpenCode, pi, Devin, Kimi, othersnpx skills add desplega-ai/agent-swarm

The plugin's privacy and terms links describe the Agent Swarm website and Cloud service. The self-hosted software remains covered by the MIT License.

Or use the examples directly:

git clone https://github.com/desplega-ai/agent-swarm.git && cd agent-swarm
cp .env.docker.example .env  # Set API_KEY, a harness credential, and all eight agent UUIDs.
openssl rand -base64 32 > encryption_key
chmod 600 .env encryption_key
docker compose -f docker-compose.example.yml --env-file .env up -d

Read the Compose checklist before starting. API: http://localhost:3013, with /docs and /openapi.json. Dashboard: connect it to your API. Kubernetes: install the OCI Helm chart.

Integrations

Slack · GitHub · GitLab · Linear · Jira · AgentMail · WhatsApp (Kapso) · Composio · Sentry · Devin · Serply search. Integration guides.

AgentMail archives verified inbound deliveries before acknowledging them and retains the archive for 30 days, including mail excluded from task routing. See the contact inbox triage runbook for retention, coverage limits, and rollout instructions.

Learn more

Contributing

Read CONTRIBUTING.md, fork the repository, create a branch, and open a PR. Discuss ideas on Discord.

Are you an agent? Run npx skills add desplega-ai/agent-swarm or read the operator skill.

Star History

<picture><source media="(prefers-color-scheme: dark)" srcset="https://api.desplega.agent-swarm.dev/p/e3473addceb348c0bed6cb93bd5aa532" /> <source media="(prefers-color-scheme: light)" srcset="https://api.desplega.agent-swarm.dev/p/4b5cdc17c45e4a63845fb0a71ed9609c" /> <img alt="Star History Chart" src="https://api.desplega.agent-swarm.dev/p/4b5cdc17c45e4a63845fb0a71ed9609c" /></picture>

License

MIT · 2025-2026 desplega.sh

Feature defaults

Fresh deployments enable Slack thread renderer v2, queued Slack steering to the lead, task steering, multi-runtime workers, RBAC, and task-tool preloading. Hybrid memory search and graph expansion are also enabled. Explicit environment/config overrides remain supported; see the environment reference. When upgrading older workers, keep MULTI_RUNTIME_ENABLED=false until they support runtime identities. Slack delegation rendering remains opt-in, and database retention continues to default to dry-run.

Related MCP servers

AKAkamai CDN logo

Akamai CDN

Maintained

Read-only MCP server for Akamai CDN — properties, EdgeWorkers, DNS, network lists

1
Python
MIT
View repository →

MCP server that helps AI coding agents interact with AI code reviewers on GitHub PRs

0
Python
ISC
View repository →

Token-efficient GitLab MCP: 167 tools via 3 meta-tools, field projection, keyset pagination

3
TypeScript
MIT
View repository →

Operate Unblu deployments: health checks, conversation ops, and 300+ API endpoints

1
Python
ISC
View repository →

LOLBAS, GTFOBins, and process parent-child lookups for detection engineering agents.

0
Python
Apache-2.0
View repository →

MCP server for Garmin ConnectIQ SDK documentation and resources

View repository →