swarm-mcp
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
swarm-mcp
Group | Badges |
Build | |
Release |
|
Trust |
|
Indexes | |
Stack | |
Community & docs |
|
swarm-mcp, the swarm-routing org's MCP server: a local, read-only
Model Context Protocol server (stdio,
Python stdlib) whose tools each run one read-only command of a
swarm-routing/.github script (a fidelity sheet's checks, the golden-rule
checks on a diff, a release's readiness and aftercare, a release lock) and
return the script's own summary, capped. The Claude Code plugin
swarm-routing from swarm-routing/skills
starts it at the commit it pins; any other MCP client runs it the same way.
Skills hold the procedures, this repository the server, each versioned and
released on its own.
Tools
Tool | Runs (a swarm-routing/.github script) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Every tool is read-only and returns the script's summary, capped; exit 1 means findings. The design, its rules and what is out of scope: ADR-0002.
Related MCP server: local-mcp-toolbox
Use
In Claude Code, enable the swarm-routing plugin
(swarm-routing/skills): it starts
this server at the commit its swarm-mcp.lock pins. In any other MCP
client, register the command
python3 -I /path/to/swarm-mcp/tools/swarm-mcp/swarm_mcp.pyas a stdio server, with ORG_TOOLS_DIR set to a checkout of
swarm-routing/.github if you have one (otherwise the server fetches a
snapshot of the commit this repository's .github/org-sync.lock pins).
server.json describes the server for the official
MCP Registry (#51); Commitizen
keeps its version in step with each release, and
.github/workflows/mcp-registry.yml publishes it there on each release, by
GitHub OIDC (no stored token).
Security model
swarm-mcp serves stdio only. The MCP client starts it as a child process for one user, and it runs with that user's permissions. Nothing listens on a network, so there is no caller to authenticate and no traffic to rate-limit. Whoever can start the server can already run the scripts it wraps. The limits that do apply (ADR-0002):
Read-only tools. Each tool maps to one read-only command of a
swarm-routing/.githubscript, from a fixed table. None writes, dispatches, comments or bumps a lock.Arguments are data. Every tool's schema is closed: an unknown argument is refused. Every value must be a non-empty string with no NUL byte and no leading
-, so no option reaches a script through an argument. The patterned values (a version, a tag, a repository, a ref, aKEY=PATH) must match their pattern.No shell. The command is an argv list, run in its own process group with stdin closed.
One call at a time. Messages are served in order, one at a time.
Bounded time. A call is killed (its whole process group) after
SWARM_MCP_TIMEOUTseconds, 300 by default, and returned as a tool error. Anotifications/cancelledfor the running call kills it at once and drops its response (#16).Bounded output. A result is the script's summary trimmed to
SWARM_MCP_MAX_CHARScharacters, 6000 by default, with a quarter of that for stderr. Exit 1 means findings; any other failure is a tool error.Pinned scripts. The scripts run at the commit this repository's
.github/org-sync.lockpins, never.githubmain(#39). A lock with no commit is a tool error.
The server collects and sends nothing: PRIVACY.md. Reporting a vulnerability: SECURITY.md.
Develop
New here? docs/development.md is the developer guide: the tools to install, how to get the code and its dependencies, how to build, test, run and lint it, the Docker images, what CI checks and how to read a red run. How changes are proposed, reviewed and released is the org's CONTRIBUTING.md. Whether a regression here gets an RCAPA (root cause analysis with corrective and preventive actions), and how: docs/rcapa/README.md.
Releases & citing
Versions follow SemVer (CHANGELOG.md). Each release is listed under Releases, built by the org's release workflow.
To cite this repository, use the “Cite this repository” button (from CITATION.cff). Its releases are not archived on Zenodo, so it has no DOI: name the release you used by its tag.
Using it in your work? Contributions are welcome, and citing it helps just as much.
Contributing
Contributions from forks are welcome: see
Outside contributions
(sign off every commit with git commit -s).
Epics
What is planned and in progress here: the issues labelled epic. An epic's open sub-issues carry a priority:* and a model:* label, so a contributor or an AI agent can pick one up (how issues work). The whole org's plan: the roadmap.
No open epic: the work here is tracked as single issues.
Licence
See LICENSING.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP server that answers questions about turva.dev from its published data. Seven tools return JSON. Five of them return fixed data: the service catalog with prices and the full contract terms, contact and operator details with the privacy sections of the legal page, the engagement principles, and dated agent-readiness and security evidence with verification links. The other two read turva.dev when you call them: get_page_index lists the pages of the site from its /llms.txt index, and get_page returns one page as markdown inside that JSON. Connect over Streamable HTTP. You need no API key and no account. The server does not scan other websites or run audits.
Audit, pin and diff agent tool lists; preflight and watch remote MCP servers. Free tier; x402.
Read-only verifier for 25 ProofRelay MCP tools and non-confidential evidence bundles.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Related MCP Servers
- AlicenseBqualityDmaintenanceA local, evidence-driven MCP runtime and control plane for open-source maintainers that provides workspace-bounded tools including controlled file operations, command execution, validation primitives, durable execution records, and human review workflows via stdio and Streamable HTTP transports.33MIT
- AlicenseAqualityBmaintenanceA secure, local-first MCP server for read-only inspection and troubleshooting of development environments, exposing narrow, typed, auditable capabilities for repository inspection, log summarization, Docker review, and security scanning without granting unrestricted machine access.8MIT
- AlicenseNot gradedqualityBmaintenanceRead-only CLI and stdio MCP server that inventories the MCP servers an agent can reach, compiles a least-privilege policy with a reason for every allow/approve/deny verdict, and emits a delivery the recipient re-verifies in their own browser using a sha256 manifest.Apache 2.0
- AlicenseAqualityBmaintenanceLocal execution gate and stdio MCP proxy for AI agents, with tool policies, expiring leases, approvals and operator kill. Starts with two read-only setup tools; protection requires a trusted downstream server and private operator configuration. Not an OS sandbox. Apache-2.0.26Apache 2.0