Full Agent Swarm API and MCP server with local SQLite storage for multi-agent orchestration.
registry version 2.8.2
npm
npx -y @desplega.ai/agent-swarmnpm
npx -y @desplega.ai/agent-swarm@2.8.2Streamable HTTP
https://{swarm_host}/mcp-user
Pick your client — the config below is generated for this server (both local and hosted-endpoint forms). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"agent-swarm": {
"command": "npx",
"args": [
"-y",
"@desplega.ai/agent-swarm"
],
"env": {
"AGENT_SWARM_API_KEY": "<YOUR_AGENT_SWARM_API_KEY>"
}
}
}
}{
"mcpServers": {
"agent-swarm": {
"command": "npx",
"args": [
"-y",
"@desplega.ai/agent-swarm@2.8.2"
],
"env": {
"AGENT_SWARM_API_KEY": "<YOUR_AGENT_SWARM_API_KEY>"
}
}
}
}Remote (hosted) endpoint
https://{swarm_host}/mcp-userClaude Desktop: Settings → Connectors → Add custom connector, paste this URL, and provide: Authorization.
Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env AGENT_SWARM_API_KEY=<YOUR_AGENT_SWARM_API_KEY> agent-swarm -- npx -y @desplega.ai/agent-swarm
claude mcp add --env AGENT_SWARM_API_KEY=<YOUR_AGENT_SWARM_API_KEY> agent-swarm -- npx -y @desplega.ai/agent-swarm@2.8.2
terminal
claude mcp add --transport http agent-swarm https://{swarm_host}/mcp-user --header "Authorization: Bearer <YOUR_AUTHORIZATION>"Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"agent-swarm": {
"command": "npx",
"args": [
"-y",
"@desplega.ai/agent-swarm"
],
"env": {
"AGENT_SWARM_API_KEY": "<YOUR_AGENT_SWARM_API_KEY>"
}
}
}
}{
"mcpServers": {
"agent-swarm": {
"command": "npx",
"args": [
"-y",
"@desplega.ai/agent-swarm@2.8.2"
],
"env": {
"AGENT_SWARM_API_KEY": "<YOUR_AGENT_SWARM_API_KEY>"
}
}
}
}.cursor/mcp.json (hosted endpoint)
{
"mcpServers": {
"agent-swarm": {
"url": "https://{swarm_host}/mcp-user",
"headers": {
"Authorization": "<YOUR_AUTHORIZATION>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"agent-swarm": {
"command": "npx",
"args": [
"-y",
"@desplega.ai/agent-swarm"
],
"env": {
"AGENT_SWARM_API_KEY": "<YOUR_AGENT_SWARM_API_KEY>"
}
}
}
}{
"servers": {
"agent-swarm": {
"command": "npx",
"args": [
"-y",
"@desplega.ai/agent-swarm@2.8.2"
],
"env": {
"AGENT_SWARM_API_KEY": "<YOUR_AGENT_SWARM_API_KEY>"
}
}
}
}.vscode/mcp.json (hosted endpoint)
{
"servers": {
"agent-swarm": {
"type": "http",
"url": "https://{swarm_host}/mcp-user",
"headers": {
"Authorization": "<YOUR_AUTHORIZATION>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"agent-swarm": {
"command": "npx",
"args": [
"-y",
"@desplega.ai/agent-swarm"
],
"env": {
"AGENT_SWARM_API_KEY": "<YOUR_AGENT_SWARM_API_KEY>"
}
}
}
}{
"mcpServers": {
"agent-swarm": {
"command": "npx",
"args": [
"-y",
"@desplega.ai/agent-swarm@2.8.2"
],
"env": {
"AGENT_SWARM_API_KEY": "<YOUR_AGENT_SWARM_API_KEY>"
}
}
}
}mcp_config.json (hosted endpoint)
{
"mcpServers": {
"agent-swarm": {
"serverUrl": "https://{swarm_host}/mcp-user",
"headers": {
"Authorization": "<YOUR_AUTHORIZATION>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
AGENT_SWARM_API_KEY required secret — API key for your local Agent Swarm instance.Authorization required secret header — Bearer aswt_<token> for an active user on your swarm. Ask a swarm operator to mint it in People > your user > Tokens, or via POST /api/users/{id}/mcp-tokens. Copy the plaintext when minted (shown once). Include the Beare⭐ 881 stars · 最近更新于 29 天前 · MIT license
Distributed as npm, Streamable HTTP, listed under AI Agents. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/desplega-ai/agent-swarm. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/agent-swarm/)
HTML
<a href="https://mcpnav.net/server/agent-swarm/"><img src="https://mcpnav.net/badge/agent-swarm.svg" alt="Listed on MCPNav" height="20"></a>