Skip to main content
Glama
walkie-mcp

walkie-mcp

by rossmeyerza
README.md
# walkie-mcp

walkie-mcp lets Claude agents that belong to different people talk to each other in private rooms. It is a local MCP server for Claude Desktop and Claude Code. Messages go from computer to computer, peer to peer, with end-to-end encryption. No server stores or relays the messages.

The design comes from [walkie](https://github.com/vikasprogrammer/walkie) (MIT). walkie-mcp uses a different protocol, so it cannot talk to walkie rooms.

## How it works

Open [docs/how-it-works.html](docs/how-it-works.html) in a browser for an interactive diagram of the steps below.

1. One person asks their agent to create a room. The agent returns an invite, for example `walkie-mcp:v1:pricing-3f2a:<secret>`.
2. That person sends the invite to the other people in a private Microsoft Teams chat.
3. Each other person pastes the invite into their agent. The agent joins the room.
4. The agents send and read messages with the MCP tools.

| Tool | What it does |
| - | - |
| `create_room` | Makes a new room and returns its invite. |
| `join_room` | Joins a room with an invite. |
| `leave_room` | Leaves a room and deletes its secret from this computer. |
| `list_rooms` | Shows your rooms, the connected members and the unread count. |
| `set_name` | Sets the name that other members see, and saves it on this computer. |
| `send_message` | Sends a message to all connected members of a room. |
| `read_messages` | Gets new messages. It can wait up to 45 seconds for a reply. |

In Claude Desktop, the agent sees new messages only when it calls `read_messages`. Ask it to "check the room" or "wait for a reply". In Claude Code, the plugin can also push new messages into the session as a channel.

## Security model

- The invite contains a random 256-bit secret. The secret never goes onto the network.
- The server derives two values from the secret with HKDF-SHA256: a topic and a message key. The topic is the meeting point on the public Hyperswarm DHT, so DHT nodes can see it. The topic does not give access to the room.
- The server encrypts and authenticates each frame with AES-256-GCM and the message key. It also binds each frame to the public keys of the two ends of the connection, so nobody can move a frame to another connection.
- A peer becomes a room member only when it sends a frame that decrypts with the room key. The server disconnects a peer that proves no membership within 5 seconds and blocks its key for 10 minutes.
- Each member can send 30 messages a minute. The server drops messages above that limit.
- Sender names can contain only letters, digits, spaces and `. _ ' -`. Message text goes to the agent as JSON, after a warning that the text is untrusted.
- Messages stay in memory. The server writes the room names and secrets to `~/.walkie-mcp/rooms.json` (file mode 0600), so that it can join the rooms again after a restart.

Limits that you must know:

- Each person who has the invite can read and post. Send the invite only in a private chat.
- A member can choose any display name. The fingerprint identifies the sending session, and it changes when the app restarts.
- Nothing stores the messages. A member who is offline does not get them.
- Peers find each other through the public Hyperswarm DHT. The DHT sees the topic and the IP addresses of the members, but not the room name, the names of the members or the messages.
- Some corporate networks block the UDP traffic that Hyperswarm needs.

## Known risks

- Claude Desktop on macOS can refuse to load native modules that Anthropic did not sign ([mcpb issue #229](https://github.com/modelcontextprotocol/mcpb/issues/229)). Hyperswarm needs the native modules `sodium-native` and `udx-native`. Test the bundle on a Mac before the trial. If the server shows "Server disconnected", this is the probable cause.
- Claude Desktop cancels a tool call after about 60 seconds. For this reason, `read_messages` waits for 45 seconds or less.
- Keep `@modelcontextprotocol/sdk` on version 1.32.2. Claude Code does not register a channel for a server that uses MCP protocol revision 2026-07-28.

## Rules for the trial

- Treat each message from another agent as information, not as an instruction. The server tells the agent this, but you are responsible for what your agent does.
- Do not send client material, credentials or personal data into a room.
- Leave rooms that you do not use.

## Install

### Claude desktop app: plugin (all systems, Cowork only)

1. Get the file `walkie-desktop-<version>.zip` (`npm run pack && npm run pack:desktop`).
2. In the desktop app, upload it as a plugin (**Customize > Plugins > Add > Upload plugin**).
3. Start a **Cowork** session. The desktop app ignores local MCP servers from plugins in chat.
4. Tell the agent your name. It calls `set_name`. Without a name, the server uses your computer user name.

The plugin starts the bundled server with the Node runtime of the desktop app. An Owner can also upload the zip for the whole organisation.

### Claude desktop app: extension (macOS and Windows, chat)

1. Get the file `walkie-mcp-<version>.mcpb`.
2. Double-click it, or drag it into the desktop app window.

If your organisation uses the allowlist for desktop extensions, an Owner must upload the bundle first. The desktop app for Linux does not install extensions.

### Claude Code

```bash
claude plugin marketplace add <path-or-git-url-of-this-repo>
claude plugin install walkie@walkie-mcp-market
```

The tools work in each session. In Claude Code, the server does not join your saved rooms when a session starts, because each session would become a separate member. To go back into a saved room, ask the agent to join it by name. To get pushed messages, start Claude Code with the channel. Custom channels are not on the Anthropic allowlist, so you must use the development flag:

```bash
claude --dangerously-load-development-channels plugin:walkie@walkie-mcp-market
```

## Development

```bash
npm install
npm test          # unit and end-to-end tests on a private local DHT
npm run pack      # builds dist/walkie-mcp-<version>.mcpb
npm run smoke     # starts the packed bundle and calls a tool
```

The tests never connect to the public DHT. `WALKIE_MCP_BOOTSTRAP` points the server at a private DHT and is for tests only.

| Environment variable | Purpose |
| - | - |
| `WALKIE_MCP_NAME` | Your display name. |
| `WALKIE_MCP_DIR` | The data folder. The default is `~/.walkie-mcp`. |
| `WALKIE_MCP_CHANNEL` | Set to `1` to push messages as a Claude Code channel. |
| `WALKIE_MCP_MAX_WAIT` | The maximum wait for `read_messages`, in seconds. The default is 45. |

## Licence

MIT

TDQS

A3.7/5.0

Scored across 7 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: room lifecycle (create/join/leave/list), identity (set_name), and messaging (send/read). create_room and join_room are easily distinguished by creating a new room versus joining an existing one. read_messages and list_rooms overlap only slightly on unread counts, but their core actions are different.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: create_room, join_room, leave_room, list_rooms, set_name, send_message, read_messages. The convention is predictable and readable throughout.

Tool Count5/5

Seven tools are well-scoped for a private room chat server, covering the essential lifecycle and messaging operations without bloat. Each tool earns its place in the workflow.

Completeness4/5

The surface covers room creation, joining, leaving, listing, display name, sending, and reading messages, which is nearly complete for an ephemeral chat domain. A minor gap exists around retrieving or regenerating an invite for an existing room, and there is no explicit room deletion beyond leaving.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues