Swarm-As-MCP
Allows dispatching an autonomous multi-agent engineering swarm from OpenAI Operator, with streaming progress updates and returned git diffs/test results in the editor.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Swarm-As-MCPrefactor payment service and verify in UI"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
โ Swarm-As-MCP
Universal Multi-Agent Swarm Exposer for Cursor, Windsurf, and Claude Code
Exposes entire autonomous multi-agent engineering swarms (Claude Opus 5.5, GPT-6 Astra, DeepSeek V4.1-Flash) as a single, zero-friction Model Context Protocol (MCP) server. Drop one line into your~/.cursor/mcp.jsonto dispatch 10-agent fleets directly from your IDE editor.
โก The Problem: The Isolated Swarm Silo
Autonomous swarms are powerful, but developers live in their IDEs (Cursor, Windsurf, Claude Code):
Tooling Fragmentation: Developers must leave their IDE, open a terminal, launch a multi-agent framework, wait, and manually copy code diffs back.
Underpowered MCP Ecosystem: 99% of MCP servers are simple wrappers around SQL or single REST endpoints.
No Streaming Multi-Agent Feedback: IDEs cannot observe what a swarm is doing in the background.
Swarm-As-MCP bridges the gap by wrapping an entire autonomous swarm into a single native MCP tool endpoint (@swarm_execute):
One-Click IDE Integration: Add one line to
~/.cursor/mcp.json.Streaming Progress HUD: Emits real-time milestone events (planning, coding, compiling, virtual browser testing) straight into your IDE conversation.
Unified Atomic Output: Returns verified git diffs with 100% passed unit tests directly into your editor buffer.
Related MCP server: @willpowell8/cursor-cloud-agent-mcp
๐ Architecture & IDE Integration Flow
flowchart TD
subgraph DeveloperIDE["Developer IDE (Cursor / Claude Code / Windsurf)"]
User["Developer in Editor"]
Prompt["Prompt: '@swarm refactor payment service and verify in UI'"]
User --> Prompt
end
subgraph SwarmAsMCP["Swarm-As-MCP Gateway Server"]
JSONRPC["Model Context Protocol (JSON-RPC 2.0)\nEndpoint: @swarm_execute"]
Orchestrator["SwarmOrchestrator\n(Task Decomposition & Progress Streamer)"]
Prompt --> JSONRPC
JSONRPC --> Orchestrator
end
subgraph AutonomousFleet["Frontier Swarm Fleet"]
Supervisor["Claude Opus 5.5 (Supervisor)"]
CLIWorker["DeepSeek V4.1-Flash (Compiler & Bash)"]
GUIWorker["GPT-6 Astra (Ghost Chromium Browser)"]
Orchestrator --> Supervisor
Supervisor --> CLIWorker
Supervisor --> GUIWorker
end
subgraph StreamingResponse["Streaming Return to IDE"]
Progress["Streaming Progress: 20% -> 50% -> 75% -> 100%"]
GitDiff["Clean Git Diff & Test Results"]
Orchestrator --> Progress
Orchestrator --> GitDiff
Progress --> User
GitDiff --> User
end๐ Quickstart
1. Installation
cd projects/swarm_as_mcp
pip install -e .2. Configure Cursor / Windsurf (~/.cursor/mcp.json)
{
"mcpServers": {
"autonomous-swarm": {
"command": "swarm-as-mcp",
"args": ["serve"]
}
}
}3. Run the IDE Simulation Demo
python3 -m swarm_as_mcp.cli demoOutput:
======================================================================
โ SWARM-AS-MCP: UNIVERSAL MULTI-AGENT SWARM EXPOSER FOR IDEs
======================================================================
Frontier Swarm Fleet: Claude Opus 5.5 + DeepSeek V4.1-Flash + GPT-6 Astra
Target IDEs: Cursor, Windsurf, Claude Code, OpenAI Operator
----------------------------------------------------------------------
[โโโโโโโโโโโโโโโโโโโโ] 20% | Supervisor (Claude Opus 5.5): Analyzing repository AST
[โโโโโโโโโโโโโโโโโโโโ] 50% | CLI Worker (DeepSeek V4.1-Flash): Refactored payment gateway
[โโโโโโโโโโโโโโโโโโโโ] 75% | CLI Worker (DeepSeek V4.1-Flash): Ran pytest suite: 42 passed
[โโโโโโโโโโโโโโโโโโโโ] 90% | GUI Operator (GPT-6 Astra): Verified 200 OK checkout UI flow
[โโโโโโโโโโโโโโโโโโโโ] 100% | Supervisor (Claude Opus 5.5): Verified zero regressions
----------------------------------------------------------------------
[STEP 3] MCP TOOL RESULT RETURNED DIRECTLY TO IDE EDITOR:
โ Execution Time: 0.12s
โ Tests Passed: 42 tests๐งช Testing
python3 -m unittest discover -s testsResult: Ran 3 tests in 0.000s ... OK (100% passing)
๐ License
Apache-2.0. Copyright (c) 2026 AAH20.
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent-native collaboration network: orchestrate a team of long-running agents from any MCP client.
Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEmpower any MCP-compatible AI Agent(MCP Client) with engineering-grade capabilities to understand, modify, run, and deliver real-world code repositories.348 PyPI1,155Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables programmatic control of Cursor's cloud-based AI agents for automated code generation and repository management via standardized MCP tools.15 npm6MIT
- FlicenseNot gradedqualityAmaintenanceEnables MCP-compatible AI clients to invoke CLI-driven agent tools over Streamable HTTP, including shell execution, file operations, patching, image viewing, web search, and nested agent tasks, with permission modes and real-time progress streaming.-
- AlicenseNot gradedqualityAmaintenanceEnables controlling an autonomous multi-agent engineering swarm from MCP clients, including starting and managing tasks, spawning agents, triggering PR reviews, and checking swarm status.5 npmMIT