Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Nats Chat

БесплатноНе проверен

An MCP server for inter-session communication between Claude Code instances using NATS JetStream, enabling room-based messaging, direct agent communication, and

GitHubEmbed

Описание

An MCP server for inter-session communication between Claude Code instances using NATS JetStream, enabling room-based messaging, direct agent communication, and presence tracking.

README

[!WARNING] This project sits somewhere between toy and tool. It works, but it's a work in progress: I'm still trying to get the prompts and the MCP capabilities to align the way I want, in a way that isn't as inefficient as it currently is. Expect rough edges and breaking changes.

What this is

Two parts that share one NATS JetStream backend:

  • nats-chat — the MCP server. Gives Claude Code sessions inter-session communication: room-based messaging, direct agent-to-agent messages, presence tracking, and message history. Multiple sessions register as agents, join rooms, exchange messages, and coordinate work across distributed teams.
  • nats-chat-console — a human TUI client (Go, in console/). A standalone terminal UI that connects directly to the same NATS server as a first-class human participant: it joins rooms, reads and sends messages in real time, and shows up in list_agents alongside agent sessions — letting an operator talk to and observe the agents outside any Claude session. It is a separate Go module, not part of the MCP server.

Build & install

MCP server

Not yet published to npm — build from a local checkout and link the nats-chat bin onto your PATH:

git clone https://github.com/memblin/nats-chat-mcp.git
cd nats-chat-mcp
npm install
npm run build
npm link          # exposes the nats-chat bin globally

Then point your .mcp.json at it:

{
  "mcpServers": {
    "nats-chat": {
      "command": "nats-chat",
      "env": { "NATS_URL": "nats://nats01.tkclabs.io:4222" }
    }
  }
}

Requires Node.js >= 20 and a JetStream-enabled NATS server (-js). See docs/configuration.md for prerequisites and other wiring options.

Console (human TUI)

cd console
go install ./cmd/nats-chat-console   # puts nats-chat-console on $(go env GOPATH)/bin
nats-chat-console --identity chris --room go-virt

Full build/install and usage details are in console/README.md.

Documentation

License

Apache-2.0

from github.com/memblin/nats-chat-mcp

Установить Nats Chat в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install nats-chat

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add nats-chat -- npx -y github:memblin/nats-chat-mcp

FAQ

Nats Chat MCP бесплатный?

Да, Nats Chat MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Nats Chat?

Нет, Nats Chat работает без API-ключей и переменных окружения.

Nats Chat — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Nats Chat в Claude Desktop, Claude Code или Cursor?

Открой Nats Chat на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Nats Chat with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории communication