Cc Mess
БесплатноНе проверенInter-Claude-Code communication plugin — mesh networking for multiple Claude Code instances
Описание
Inter-Claude-Code communication plugin — mesh networking for multiple Claude Code instances
README
cc-mess
Inter-Claude-Code communication plugin — mesh networking for multiple Claude Code instances. Enables discovery, communication, task delegation, and emergent trust relationships using a file-based transport layer and symmetric peer architecture.
Note: cc-mess uses Claude Code's Channels feature (research preview) for real-time message delivery between instances. Channels are experimental and require the
--dangerously-load-development-channelsflag. The API and behavior may change in future Claude Code releases.
Architecture
graph TD
Human[Human via Telegram] <-->|cc-telegram-plus| Coordinator
Coordinator[Coordinator Instance<br/>apollo-3f2a] <-->|file-based inbox| WorkerA[Worker<br/>hermes-c1b7]
Coordinator <-->|file-based inbox| WorkerB[Worker<br/>athena-9d4e]
WorkerA <-->|peer-to-peer| WorkerB
subgraph "~/.claude/channels/mess/"
Registry[registry.json]
Control[control.json]
Config[config.json]
Inboxes[inboxes/]
end
Coordinator --- Registry
WorkerA --- Inboxes
WorkerB --- Inboxes
Setup
1. Build cc-mess
cd /path/to/cc-mess
npm install
npm run build
2. Add to your project
In your project directory, create .mcp.json:
{
"mcpServers": {
"cc-mess": {
"command": "node",
"args": ["/path/to/cc-mess/dist/server.js"],
"env": {}
}
}
}
3. Configure the mesh
Create ~/.claude/channels/mess/config.json:
{
"allowed_directories": ["/path/to/your/projects/*"],
"max_instances": 10,
"max_spawn_depth": 3,
"require_telegram_relay": false,
"default_guardrail": "permissive"
}
Set require_telegram_relay: true if you want to enforce Telegram visibility before workers can be spawned.
4. Pre-allow MCP tools
In your project's .claude/settings.json:
{
"permissions": {
"allow": [
"mcp__cc-mess__list_instances",
"mcp__cc-mess__send",
"mcp__cc-mess__broadcast",
"mcp__cc-mess__reply",
"mcp__cc-mess__spawn",
"mcp__cc-mess__kill",
"mcp__cc-mess__update_self",
"mcp__cc-mess__mesh_control",
"mcp__cc-mess__send_as_human"
]
}
}
Running
Start the coordinator
The --dangerously-load-development-channels server:cc-mess flag is required for instances to receive messages from each other. Without it, MCP tools work but channel notifications (inbound messages) are silently dropped.
CC_MESS_ROLE=coordinator claude --dangerously-load-development-channels server:cc-mess
Start a worker (interactive)
In another terminal, from the same project directory:
CC_MESS_ROLE=worker claude --dangerously-load-development-channels server:cc-mess
Start a worker (one-shot task)
CC_MESS_ROLE=worker claude --dangerously-load-development-channels server:cc-mess \
"You are a mesh worker. Call list_instances to see the mesh, then do your assigned task."
Tmux dashboard
Launch a full dashboard with coordinator, viewer, and auto-created worker panes:
npm run dashboard -- --no-telegram --clean
--no-telegram— disable the Telegram relay requirement for spawning--clean— wipe previous mesh state (registry, inboxes, audit) and start fresh
Workers spawned from the coordinator automatically appear as interactive panes in the dashboard.
Conversation viewer
View the message timeline between instances:
npm run viewer # show all messages
npm run viewer -- --follow # live-tail new messages
npm run viewer -- --last 20 # show last 20 messages
npm run viewer -- --from hermes # filter by sender
Spawn a worker from the coordinator
Inside the coordinator session:
spawn(cwd: "/path/to/project", task: "Refactor the auth module")
This launches a new Claude Code process with the cc-mess plugin injected automatically.
MCP Tools
| Tool | Purpose |
|---|---|
send |
Send a message to a specific instance by name |
broadcast |
Send a message to all instances (or filtered subset) |
reply |
Reply to a received message (threads via in_reply_to) |
list_instances |
Show the current registry — who's alive, what they're doing |
spawn |
Launch a new Claude Code instance with a task |
kill |
Ask an instance to gracefully shut down |
update_self |
Update own registry entry (task, capabilities) |
mesh_control |
Pause, resume, or shut down the entire mesh (coordinator only) |
send_as_human |
Route a Telegram message to an instance as the human (coordinator only) |
Telegram Integration
The coordinator can relay mesh events to Telegram via cc-telegram-plus. See docs/coordinator-claude-md.md for the CLAUDE.md template that enables:
- Auto-relay of spawns, exits, crashes, task delegation, and results
- Human-to-instance messaging via
@nameprefix /messcommands (status, kill, spawn, pause, resume, shutdown_all, logs, verbosity)
Relay config
Create ~/.claude/channels/mess/relay.json:
{
"chat_id": "your-telegram-chat-id",
"verbosity": "normal"
}
Verbosity levels: quiet (errors only), normal (spawns, exits, tasks), verbose (everything including chat).
Configuration Reference
| Key | Type | Default | Description |
|---|---|---|---|
allowed_directories |
string[] |
[] |
Glob patterns for valid spawn locations |
max_instances |
number |
10 |
Hard cap on total mesh size |
max_spawn_depth |
number |
3 |
Maximum spawn chain depth |
require_telegram_relay |
boolean |
true |
Require active Telegram relay for spawning |
default_guardrail |
string |
"permissive" |
Default guardrail profile for spawned instances |
Guardrail Profiles
strict— Read-only. AllowsRead/Glob/Grepwithin cwd, limited Bash commands, blocks writes/web access. For review tasks and code analysis.permissive— Full development sandbox. Allows read/write within cwd, Bash (exceptgit push), package registry access. For implementation tasks.custom— Inline tool-level policies specified at spawn time viacustom_policies.
Transport
All state lives under ~/.claude/channels/mess/. File-based message queues with atomic writes (temp + rename), lockfile-protected registry, and at-least-once delivery with persistent deduplication.
Development
npm install
npm run build # Compile TypeScript
npm run dev # Watch mode
npm run test # Run tests (114 tests)
npm run lint # Lint
npm run typecheck # Type check
License
MIT
Установка Cc Mess
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/yaniv-golan/cc-messFAQ
Cc Mess MCP бесплатный?
Да, Cc Mess MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Cc Mess?
Нет, Cc Mess работает без API-ключей и переменных окружения.
Cc Mess — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Cc Mess в Claude Desktop, Claude Code или Cursor?
Открой Cc Mess на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Cc Mess with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
