原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Swarmmesh

作者:RudrenduPaul版本 0.1.3i★ –i在你的电脑上运行
注册名称io.github.RudrenduPaul/swarmmesh

安装

概览

作者提供的说明(英文原文)

Multi-agent context sharing, memory, and status coordination via MCP tools.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "swarmmesh": {
      "command": "uvx",
      "args": [
        "swarmmesh-cli",
        "swarmmesh",
        "mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add swarmmesh -- uvx swarmmesh-cli swarmmesh mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "swarmmesh": {
      "command": "uvx",
      "args": [
        "swarmmesh-cli",
        "swarmmesh",
        "mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "swarmmesh": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "swarmmesh-cli",
        "swarmmesh",
        "mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 RudrenduPaul 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 5676 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5676 个服务器的 30% 更新
  • 基础检查结果等于或优于此分类中其他 5676 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Swarmmesh 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.3)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT2个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

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-cli

Either 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 researcher

Publish and read shared context

swarmmesh context set my-run phase '"planning"' --agent-id agent-1 swarmmesh context get my-run phase

Write and search shared memory

swarmmesh memory write my-run "found a race condition in the retry loop" --agent-id agent-1 swarmmesh memory query my-run "race condition"

Check what's on the mesh

swarmmesh status --json

This exact sequence was run end to end while writing this README and completed in a few seconds, start to finish, against the real swarmmesh-cli package installed from PyPI.

To build from source instead of installing from a registry:

# Python

git clone https://github.com/RudrenduPaul/swarmmesh.git cd swarmmesh pip install -e python/

Node

cd swarmmesh/node npm install npm run build npm link

Features

  • A documented wire protocol. docs/protocol.md specifies every HTTP endpoint and WebSocket event, so any process that can speak HTTP and JSON can join a mesh. The two official CLIs are convenient clients, not the only valid ones.
  • Two independent, interoperating implementations. Python (swarmmesh-cli on PyPI, FastAPI + Typer, 74 tests, 91% statement coverage) and Node (swarmmesh-cli on npm, Express + commander, 65 tests, 91.64% statement coverage) implement the protocol identically. Each package's own test suite runs independently in CI; cross-language interop (a Node client against a Python-hosted server and back) is demonstrated in the "See it work" section above and was re-run by hand against both real packages, not covered by an automated cross-language test in CI today.
  • Real-time updates over WebSocket. /v1/events pushes context.updated, context.deleted, memory.written, agent.registered, and agent.deregistered frames so an agent can react the moment another agent changes shared state, instead of polling.
  • Honest memory search. Memory queries use Okapi BM25 keyword ranking: real term-frequency scoring, computed locally with no extra dependencies and no network calls. It is not semantic or embedding search. A RankingBackend interface is a documented extension point if you want to plug in your own embedding-based scorer; SwarmMesh doesn't ship one.
  • Pluggable storage. In-memory by default (process lifetime only), or --persist for SQLite-backed storage that survives restarts.
  • Agent-native by default. Every subcommand on both CLIs supports --json for structured, script-parseable output, and both ship a swarmmesh mcp subcommand that starts an MCP server over stdio so an MCP-capable agent (Claude or otherwise) can call SwarmMesh as a set of tools without shelling out.
  • A deliberately small trust boundary. Both servers bind to 127.0.0.1 by default, not 0.0.0.0. There's no authentication in v1. See Security.

The number below is measured, not estimated. 50 sequential PUT /v1/context/{namespace}/{key} requests against a local Python-run server averaged 0.8ms round trip each (40ms total for 50 requests) on the machine this README was written on. This isn't a rigorous benchmark, includes curl's own process-spawn overhead per request, and will vary by machine, but it's a real number from a real run, not a guess. Reproduce it yourself with:

for i in $(seq 1 50); do curl -s -o /dev/null -w "%{time_total}\n" \

-X PUT "http://127.0.0.1:8420/v1/context/bench/key$i" \ -H "Content-Type: application/json" -d "{\"value\":\"v$i\",\"agent_id\":\"bench\"}"; done

CLI reference

Both CLIs expose the same command tree. Flag names differ slightly between the two (Python uses Typer's --flag style, Node uses commander's), but the commands and their behavior are identical. Output below is transcribed from running --help on each built CLI.

swarmmesh serve [--host HOST] [--port PORT] [--persist PATH]

Start a SwarmMesh coordination server.

swarmmesh status [--host HOST] [--port PORT] [--json] Show a mesh status snapshot (agent count, namespaces, entry counts, uptime).

swarmmesh mcp [--host HOST] [--port PORT] Start an MCP server over stdio, proxying tool calls to a running mesh.

swarmmesh agent register [--metadata JSON] [--host HOST] [--port PORT] [--json] swarmmesh agent list [--host HOST] [--port PORT] [--json] swarmmesh agent deregister [--host HOST] [--port PORT] [--json]

swarmmesh context set [--agent-id ID] [--ttl SECONDS] [--host HOST] [--port PORT] [--json] swarmmesh context get [--host HOST] [--port PORT] [--json] swarmmesh context list [--host HOST] [--port PORT] [--json] swarmmesh context delete [--host HOST] [--port PORT] [--json]

swarmmesh memory write [--agent-id ID] [--metadata JSON] [--id ID] [--host HOST] [--port PORT] [--json] swarmmesh memory query [--top-k N] [--host HOST] [--port PORT] [--json]

context set parses as JSON, falling back to a plain string if it isn't valid JSON. context set ns key '"planning"' stores the string planning. So does context set ns key planning (no quotes), through the same string fallback.

MCP Server

SwarmMesh ships a Model Context Protocol (MCP) server, on both the Python and Node packages, so an MCP-capable agent (Claude Desktop, Claude Code, or any other MCP client) can call SwarmMesh as a set of tools instead of shelling out to the CLI. The MCP server doesn't reimplement the protocol; it proxies each tool call over HTTP to a swarmmesh serve process you already have running.

# 1. Start a mesh

swarmmesh serve --host 127.0.0.1 --port 8420

2. In another terminal (or from an MCP client), start the MCP server

(stdio transport) pointed at that mesh:

swarmmesh mcp --host 127.0.0.1 --port 8420

mcp support is included by default in both packages (it's a core dependency, not an optional extra), so a plain pip install swarmmesh-cli or npm install -g swarmmesh-cli is all you need.

Claude Desktop config (claude_desktop_config.json):

{

"mcpServers": { "swarmmesh": { "command": "swarmmesh", "args": ["mcp", "--host", "127.0.0.1", "--port", "8420"] } } }

Both the Python and Node MCP servers expose the same ten tools, mirroring the SwarmMeshClient methods above:

ToolWhat it doesExample call
register_agentRegister an agent with the mesh.register_agent(agent_id="agent-1", role="researcher")
deregister_agentDeregister an agent from the mesh. Idempotent.deregister_agent(agent_id="agent-1")
list_agentsList agents currently registered with the mesh.list_agents()
publish_contextPublish (create or overwrite) a context value in a namespace.publish_context(namespace="my-run", key="phase", value="planning", agent_id="agent-1")
get_contextRead a single context value.get_context(namespace="my-run", key="phase")
list_contextList all live (non-expired) context entries in a namespace.list_context(namespace="my-run")
delete_contextDelete a context value.delete_context(namespace="my-run", key="phase")
write_memoryWrite a memory entry other agents in the swarm can find later.write_memory(namespace="my-run", text="found a race condition in the retry loop", agent_id="agent-1")
query_memoryQuery memory entries in a namespace by BM25 keyword ranking (not semantic search).query_memory(namespace="my-run", query="race condition")
get_statusGet a mesh status snapshot (agent count, namespaces, entry counts, uptime).get_status()

Library API reference

Both packages export a typed client so you can call a mesh directly from your own agent code

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx