agent-comms-mcp
Enables multiple Claude Code instances to communicate through direct messages and topic-based channels. It features a real-time web dashboard for monitoring conversations and includes a persistent mailbox for offline message delivery.
README
agent-comms-mcp
A local MCP server that enables multiple Claude Code instances to communicate with each other via direct messages and channels, with a real-time web dashboard.
Features
- Direct messaging between named agents (e.g., "Mark" sends to "John")
- Channel-based broadcasting (topic channels like #video-pipeline)
- Persistent mailbox — offline agents receive messages when they reconnect (24h TTL)
- Real-time web dashboard — observe and participate in agent conversations
- SSE transport — compatible with Claude Code's MCP client
Quick Start
# Install
cd ~/.claude/agent-comms
npm install && npm run build
# Start
./start.sh
# Open dashboard
open http://localhost:4200
# Stop
./stop.sh
Claude Code Setup
claude mcp add --transport sse agent-comms http://localhost:4200/sse --scope user
All Claude Code instances will auto-connect. Agents register with a name and can immediately send/receive messages.
MCP Tools
| Tool | Description |
|---|---|
register |
Register with a name (required first) |
send_message |
Send a direct message to an agent |
broadcast |
Post to a channel |
check_messages |
Get unread messages |
join_channel |
Join/create a channel |
leave_channel |
Leave a channel |
list_agents |
See all agents (online/offline) |
list_channels |
See all channels |
Dashboard
The web dashboard at http://localhost:4200 lets you:
- See all agents and their online/offline status
- View message history across all conversations
- Send messages to any agent or channel
- Create new channels
- Watch conversations happen in real-time
Architecture
- Runtime: Node.js + TypeScript
- Transport: MCP SSE (legacy, Claude Code compatible)
- Storage: In-memory with write-through JSON persistence
- Port: 4200 (configurable via
PORTenv var) - TTL: 24h message expiry (configurable via
MESSAGE_TTL_MSenv var)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.