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

Agent Comm

作者:keshrath版本 1.3.12i★ –i在你的电脑上运行
注册名称io.github.keshrath/agent-comm

安装

概览

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

Agent intercommunication - messaging, channels, shared state, and real-time events

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

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

安装之前

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

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "agent-comm": {
      "command": "npx",
      "args": [
        "-y",
        "agent-comm"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add agent-comm -- npx -y agent-comm

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "agent-comm": {
      "command": "npx",
      "args": [
        "-y",
        "agent-comm"
      ]
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "agent-comm": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agent-comm"
      ]
    }
  }
}

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

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

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

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“其他”中的其他服务器比较i

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

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

常见问题

Agent Comm 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.3.12)于36天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Draugr

替代选择

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

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

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

Draugr

作者:draugr-dev

Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

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

agent-comm

Agent-agnostic intercommunication system. Lets AI coding agents — Claude Code, Codex CLI, Gemini CLI, Aider, or any custom tool — talk to each other, share state, and coordinate work in real time.

Light ThemeDark Theme

Why

When you run multiple AI agents on the same codebase — code review in one terminal, implementation in another, testing in a third — they have no idea the others exist. They duplicate work, create merge conflicts, and miss context.

Without agent-commWith agent-comm
DiscoveryAgents don't know others existAgents register with skills, discover by capability
CoordinationEdit the same file, create conflictsLock files/regions, divide work
CommunicationNone — each agent works blindMessages, channels, broadcasts
State sharingDuplicate work, missed contextShared KV store with atomic CAS
VisibilityNo idea what's happeningReal-time dashboard + activity feed shows everything

agent-comm gives them a shared communication layer:

  • Agents register with a name, capabilities, and skills so others can discover them
  • They discover each other by skill or tag for dynamic task routing
  • They exchange messages (direct, broadcast, or channel-based) to coordinate, with importance levels (low/normal/high/urgent) and optional ack
  • They poll their inbox with a blocking wait (comm_poll) so mid-flight peer signals are consumed without busy-looping
  • They share state (a key-value store with atomic CAS) for locks, flags, and progress
  • They log activity events (commits, test results, file edits) to a shared feed
  • They detect stuck agents — alive (heartbeat OK) but not making progress
  • They serialize file edits via the system-layer file-coord hook (see below) so parallel agents on shared files cannot clobber each other
  • A web dashboard shows everything in real time, including an Activity Feed tab

It works with any agent that supports MCP (stdio transport) or can make HTTP requests (REST API).

Why hooks, not just MCP tools

The MCP tools (comm_state, etc.) give agents the _primitives_ to coordinate, but they don't _enforce_ coordination — the agent has to remember to call them. Our bench measured what happens when you rely on the model's discretion: even with strict procedural prompting, Claude follows the protocol on the first claim cycle then drifts back to "be helpful, finish the task." Soft coordination is unreliable.

The fix is a pair of PreToolUse hooks shipped in scripts/hooks/: `file-coord` intercepts every Edit/Write/MultiEdit and claims the file via REST POST /api/state/file-locks/ /cas (blocks the edit if another agent holds the lock); `bash-guard` intercepts git commit, git push, npm install, npm test, builds, migrations, and dev-server starts and blocks/warns when they would conflict with another session's WIP. The protocol becomes infrastructure, not a prompt the agent might ignore.

The bench's headline pilot is `multi-term-commit` — directly modeling the daily pain of two terminal sessions on the same project. Session A edits two files but doesn't commit. Session B then edits two other files and runs git commit -am "my work". Without the hook, B's commit silently includes A's WIP. With the hook, B's commit is blocked at the bash layer with an actionable message, and B reacts (selective staging, restore, or coordinate). Bench result:

naive (no hook)with hooks
Commit purityMIXED — bar.js, baz.js, foo.js, qux.jsPURE — baz.js, qux.js
Wall time91.0s78.8s (-13%)
Total cost$0.774$0.591 (-24%)
OutcomeA's WIP silently committed under B's nameclean commit, no clobber

The hook is faster AND cheaper, not just safer. Reason: when agents lack coordination on shared workspaces, they read stale state, get confused mid-task, retry, and re-think. Serializing access and surfacing the conflict early removes that wasted thinking. Run npm run setup to install both hooks automatically; see Setup → File Coordination for manual install on Claude Code, OpenCode, or any custom MCP client. See bench/README.md for the measurement methodology.

How agent-comm fits together

agent-comm is a single Node process that exposes three transports — MCP stdio (for AI hosts), REST + WebSocket (for hooks, dashboards, custom scripts) — backed by a SQLite database in WAL mode. Hooks installed in your Claude Code (or other host) settings call the REST endpoint at localhost:3421 to claim file locks, query who-edited-what, and broadcast presence. The dashboard UI at the same port is a live view of every agent, message, channel, and shared-state entry. Multiple AI hosts can connect simultaneously and see the same world.

graph TD

A["Agent A (Claude Code)"] -->|MCP stdio| COMM B["Agent B (Codex CLI)"] -->|MCP stdio| COMM C["Agent C (Custom script)"] -->|REST API| COMM HK["PreToolUse hooks (file-coord, bash-guard)"] -->|REST cas| COMM

subgraph COMM["agent-comm"] D["Agents Register, discover, heartbeat"] E["Messages Direct, broadcast, channels, threads"] F["State Namespaced KV with CAS"] G["Events Real-time pub/sub"] D --> DB["SQLite DB WAL mode, FTS5 search"] E --> DB F --> DB DB --> WS["WebSocket"] end

WS --> UI["Dashboard UI http://localhost:3421"]

Quick start

Install from npm
npm install -g agent-comm
Or clone from source
git clone https://github.com/keshrath/agent-comm.git

cd agent-comm npm install npm run build

Option 1: MCP server (for any MCP-compatible AI host)

agent-comm runs as a stdio MCP server, so any MCP-compatible host can use it. Tested hosts include Claude Code, Cline, OpenCode, Cursor (read-only state), Windsurf, Codex CLI, Aider, and Continue.dev. Adapter recipes for each are in docs/SETUP.md.

Generic MCP config:

{

"mcpServers": { "agent-comm": { "command": "npx", "args": ["agent-comm"] } } }

Add this to your host's MCP config file (the path varies by host — ~/.claude.json for Claude Code, ~/.config/opencode/config.json for OpenCode, ~/.cursor/config.json for Cursor, etc. — see the per-host sections in docs/SETUP.md).

The dashboard auto-starts at http://localhost:3421 on the first MCP connection regardless of which host is connected.

Option 2: Standalone server (for REST/WebSocket clients)
node dist/server.js --port 3421
Option 3: Automated setup (Claude Code)
npm run setup

Registers the MCP server in ~/.claude.json, installs the hook scripts (lifecycle + file-coord + bash-guard), and configures permissions. Other hosts: see docs/SETUP.md for the per-host integration recipes — every host that supports pre-tool-call hooks can use the same file-coord.mjs script unchanged.

MCP tools (7)

ToolDescription
comm_registerRegister with name, capabilities, metadata, skills, and auto-join channels
comm_agentsAgent management — actions: list, discover, whoami, heartbeat, status, unregister
comm_sendSend messages — direct (to), channel, broadcast, reply (reply_to), forward (forward)
comm_inboxRead inbox (direct + channel messages, unread filter, importance filter, thread view via thread_id)
comm_pollBlock until a new inbox message arrives (supports timeout_ms and importance filter)
comm_channelChannel management — actions: create, list, join, leave, archive, update, members, history
comm_stateShared key-value state — actions: set, get, list, delete, cas

REST API

All endpoints return JSON. Loopback only: foreign Host/Origin headers get 403, request bodies must be application/json, no wildcard CORS. See full API reference for details.

GET  /health                              Server status + uptime

GET /api/agents List online agents GET /api/agents/:id Get agent by ID or name GET /api/agents/:id/heartbeat Agent liveness (status + heartbeat age) GET /api/channels List active channels GET /api/channels/:name Channel details + members GET /api/channels/:name/members Channel member list GET /api/channels/:name/messages Channel messages (?limit=50) GET /api/messages List messages (?limit=50&from=&to=&offset=) GET /api/messages/:id/thread Get thread GET /api/search?q=keyword Full-text search (?limit=20&channel=&from=) GET /api/state List state entries (?namespace=&prefix=) GET /api/state/:namespace/:key Get state entry GET /api/feed Activity feed events (?agent=&type=&since=&limit=50) GET /api/overview Full snapshot (agents, channels, messages, state) GET /api/export Full database export as JSON

POST /api/messages Send a message (body: {from, to?, channel?, content}) POST /api/state/:namespace/:key Set state (body: {value, updated_by}) POST /api/state/:namespace/:key/cas Atomic compare-and-swap (file-coord hook uses this) DELETE /api/messages Purge all messages DELETE /api/messages Delete messages by filter DELETE /api/messages/:id Delete a message (body: {agent_id}) DELETE /api/state/:namespace/:key Delete state entry DELETE /api/agents/offline Purge offline agents POST /api/cleanup Trigger manual cleanup POST /api/cleanup/stale Clean up stale agents and old messages POST /api/cleanup/full Full database cleanup

Agent visibility and status

comm_agents with action: "heartbeat" accepts an optional status_text parameter, letting agents update

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

问 PopNx