Conversation
Packages Swarms' hosted remote MCP server (https://mcp.swarms.world/mcp, Streamable HTTP) as a Cursor plugin. Exposes 23 tools covering agent and swarm completions, graph and batched-grid workflows, reasoning agents, the auto agent builder, batch processing, models, and account monitoring. Auth is a user-supplied Swarms API key sent as an `x-api-key` header, so the credential stays on the transport and is never a tool argument. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Swarms as a third-party MCP plugin — the Swarms API for multi-agent orchestration, packaged from Swarms' hosted remote MCP server.
What it does
Points at Swarms' official hosted Streamable HTTP endpoint,
https://mcp.swarms.world/mcp. Nothing to install and nothing to run locally. It exposes 23 tools:SequentialWorkflow,ConcurrentWorkflow,HierarchicalSwarm,MixtureOfAgents,GroupChat,MajorityVoting,AgentRearrange,MultiAgentRouter,CouncilAsAJudge,LLMCouncil,DebateWithJudge,HeavySwarm,RoundRobin,PlannerWorkerSwarm), swarm batches, architecture discoveryAuth
A user-supplied Swarms API key sent as an
x-api-keyheader, declared throughvariablesso Cursor prompts for it on install — the only thing a user configures.{ "mcpServers": { "swarms": { "type": "http", "url": "https://mcp.swarms.world/mcp", "headers": { "x-api-key": "${SWARMS_API_KEY}" } } } }The server holds no key of its own; it forwards the caller's key upstream to
https://api.swarms.world. The credential stays on the transport and is never a tool argument, so the model driving the tools never sees it. Keys come from https://swarms.world/platform/api-keys.This matches Swarms' own documented Cursor setup: https://docs.swarms.ai/docs/documentation/clients/swarms-api-mcp
Verification
node scripts/validate-plugins.mjs→All plugins validated successfully.initializeagainst the live endpoint returns protocol2025-06-18, serverswarms_api1.0.0.tools/listreturns 23 tools without credentials, as documented.tools/callwithout a key returns a tool-level error (isError: true) instructing the caller to sendx-api-key, not a transport failure.tools/callwith a key returnsHTTP 200 OK — GET /v1/swarms/availableplus the architecture list.Files
third_party/swarms/—plugin.json,mcp.json,README.md,CHANGELOG.md,LICENSE,assets/logo.png(192×192, Swarms' official mark from theThe-Swarm-CorporationGitHub organization).cursor-plugin/marketplace.jsonand the rootREADME.mdtableDocs: https://docs.swarms.ai
Note
Low Risk
Additive marketplace entry and static plugin manifests only; no changes to core repo logic, though users can trigger paid Swarms API usage from chat once configured.
Overview
Adds the Swarms integration to the Cursor plugin marketplace so chat agents can call Swarms’ hosted MCP server for single agents, multi-agent swarms, workflows, and batch runs.
The new
third_party/swarms/package follows the usual third-party layout:plugin.json(requiredSWARMS_API_KEY, min Cursor3.13.0),mcp.jsonpointing athttps://mcp.swarms.world/mcpwithx-api-key: ${SWARMS_API_KEY}, plus README, CHANGELOG, and MIT LICENSE. Marketplace registration is updated in.cursor-plugin/marketplace.jsonand the rootREADME.mdplugins table.No local server or runtime code is added—only manifest and docs wiring to Swarms’ remote MCP (23 tools, user-billed API usage).
Reviewed by Cursor Bugbot for commit 0a7bfc4. Bugbot is set up for automated code reviews on this repo. Configure here.