Swarmmesh MCP server
Multi-agent context sharing, memory, and status coordination via MCP tools.
0 stars16 downloads/wk
Reviews
Write oneNobody has reviewed Swarmmesh yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Swarmmesh tools (10, 3 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
delete_contextwrite actionDelete a context value.
deregister_agentDeregister an agent from the mesh. Idempotent.
get_contextRead a single context value.
get_statusGet a mesh status snapshot (agent count, namespaces, entry counts, uptime).
list_agentsList agents currently registered with the mesh.
list_contextList all live (non-expired) context entries in a namespace.
publish_contextwrite actionPublish (create or overwrite) a context value in a namespace.
query_memoryQuery memory entries in a namespace. Ranking is keyword/BM25-style term-frequency scoring, not semantic/embedding search.
register_agentRegister an agent with the mesh.
write_memorywrite actionWrite a memory entry other agents in the swarm can find later.
Public scan report
scanner v0.1.9 · 2026-09-23 · same rubric, same numbers if you re-run it
- Code scan7 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 11 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the Swarmmesh repository's README, as published. We do not edit it. Read it on GitHub
<!-- mcp-name: io.github.RudrenduPaul/swarmmesh -->
SwarmMesh
Install • Quickstart • Features • CLI reference • Compare • FAQ
Shared context and memory for swarms of parallel AI agents, over a small protocol both Python and Node speak the same way.
Spin up ten coding agents on the same task and they cannot see what each other found. One agent rediscovers a bug another already fixed. Two agents overwrite the same file because neither knew the other touched it. SwarmMesh is a small server that sits alongside your existing agent framework and gives every agent process, in any language that can speak HTTP, a shared place to publish context and search memory.
It is not an orchestration framework. It does not schedule tasks, define agent roles, or route work between agents. Your existing framework (or your own code) keeps doing that. SwarmMesh only answers one question: how do independent agent processes read and write the same shared state.
Install
pip install swarmmesh-cli
# or
npm install -g swarmmesh-cliEither gives you a swarmmesh command on your PATH.
See it work
This is a real terminal session, not a mockup: a Python-run mesh, a Node agent writing to it, and a Python agent reading back what the Node agent wrote. Two different languages, one shared mesh.
# Terminal 1: start a mesh (Python implementation, but either works)
$ swarmmesh serve --port 8420
INFO: Uvicorn running on http://127.0.0.1:8420
# Terminal 2: a Node agent joins and writes
$ swarmmesh agent register node-agent-1 researcher --port 8420 --json
{ "agent_id": "node-agent-1", "role": "researcher", ... }
$ swarmmesh context set interop-demo status '"investigating flaky test"' \
--agent-id node-agent-1 --port 8420 --json
{ "namespace": "interop-demo", "key": "status", "value": "investigating flaky test", ... }
$ swarmmesh memory write interop-demo \
"found a race condition in the retry loop" --agent-id node-agent-1 --port 8420 --json
{ "namespace": "interop-demo", "text": "found a race condition in the retry loop", ... }
# Terminal 3: a Python agent joins the same mesh and reads it back
$ swarmmesh context get interop-demo status --port 8420 --json
{ "value": "investigating flaky test", "updated_by": "node-agent-1", ... }
$ swarmmesh memory query interop-demo "race condition" --port 8420 --json
{ "results": [{ "entry": { "text": "found a race condition in the retry loop" }, "score": 0.575 }] }Every command above was re-run for real against both CLIs while writing this README: the Node CLI registered an agent and wrote context and memory against a Python-hosted mesh, and the Python CLI read it straight back, in the same run, over the real HTTP API, with the score above (0.575) reproduced exactly. No shared filesystem, no shared process, no translation layer. Just the protocol.
Quickstart
# Start a mesh (in-memory by default; add --persist ./mesh.db for SQLite storage)
swarmmesh serve --host 127.0.0.1 --port 8420
# From another terminal: register an agent
swarmmesh agent register agent-1 researcherShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
claude mcp add swarmmesh -- uvx swarmmesh-cli
Swarmmesh: common questions
- Is Swarmmesh MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Swarmmesh safety report
- How do I install Swarmmesh?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Swarmmesh need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Swarmmesh maintained?
- The last commit was 11 days ago (2026-09-13). The latest release is v0.1.3.
- What can I use instead of Swarmmesh?
- Servers from other publishers that do the same job: Basic Memory MCP server, IWE MCP server and Agent-Native Plan MCP server. Compare all Swarmmesh alternatives.
Alternatives to Swarmmesh
Same job from other publishers: the closest match first, then the best rated.
- Basic MemoryLocal-first knowledge management with bi-directional LLM sync via Markdown files.not reviewedEstablishedC
- IWEMarkdown knowledge base as agent memory. Runs against the notes directory it is started in.not reviewedEstablishedA
- Agent-Native PlanStructured visual plans and PR recaps with diagrams, prototypes, annotations, and sharingnot reviewedEstablishedA
- ContextStream MCP ServerProject memory, semantic code search, and grounded agent context.not reviewedEstablishedA
- Mnemoverse MemoryHosted AI agent memory that learns from outcomes, with shared rooms, in Claude, Cursor and ChatGPT.not reviewedEstablishedA