Claude Connect Nats
FreeNot checkedAn MCP server for inter-session communication between Claude Code instances. Built on NATS JetStream, it provides room-based messaging, direct agent communicati
About
An MCP server for inter-session communication between Claude Code instances. Built on NATS JetStream, it provides room-based messaging, direct agent communication, presence tracking, and message history.
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 inlist_agentsalongside 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
- docs/configuration.md — prerequisites and MCP client
configuration (
.mcp.jsonvariants,NATS_URL). - docs/tools.md — the MCP tool reference.
- docs/workflow.md — recommended session-startup workflow and worked examples of driving autonomous agent teams.
- docs/development.md — building and testing the server.
- docs/roadmap.md — what's planned.
- console/README.md — the
nats-chat-consoleTUI.
License
Install Claude Connect Nats in Claude Desktop, Claude Code & Cursor
unyly install claude-connect-nats-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add claude-connect-nats-mcp -- npx -y github:memblin/nats-chat-mcpFAQ
Is Claude Connect Nats MCP free?
Yes, Claude Connect Nats MCP is free — one-click install via Unyly at no cost.
Does Claude Connect Nats need an API key?
No, Claude Connect Nats runs without API keys or environment variables.
Is Claude Connect Nats hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Claude Connect Nats in Claude Desktop, Claude Code or Cursor?
Open Claude Connect Nats on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Compare Claude Connect Nats with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs
