# wa — safe WhatsApp automation [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/yolo-labz/wa  
**GitHub Stars:** 0  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/wa-safe-whatsapp-automation

## Description
Safety-first WhatsApp tools: draft-gated sends, enforced rate limits, append-only audit.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/yolo-labz/wa), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
brew install yolo-labz/tap/wa
```

2. Start the server:

```sh
wad &                                                # daemon, single instance per profile
```

3. Sign in:

```sh
wa pair                                              # QR-code pairing on first run
```

4. Install:

```sh
nix profile install github:yolo-labz/wa
```

5. Install:

```sh
curl -fsSL https://raw.githubusercontent.com/yolo-labz/wa/main/install.sh | bash
```

6. Start the server:

```sh
wad &
```

## Documentation

## What wa — safe WhatsApp automation does

wa — safe WhatsApp automation provides a local WhatsApp automation stack built around two binaries. The `wad` daemon maintains one WhatsApp Multi-Device session, its SQLite ratchet store, and the websocket connection to WhatsApp. The `wa` client communicates with that daemon over a Unix socket using JSON-RPC.

The repository also includes an MCP entry point at `wa mcp serve`. It gives AI agents access to the daemon over stdio, so agent requests use the same safety controls as direct CLI requests. The intended deployment is personal or profile-scoped automation, not a multi-tenant service, bulk-messaging system, Matrix bridge, REST gateway, or official WhatsApp Cloud API integration.

## How it works

A running daemon keeps the session warm. This avoids reattaching the session for every request and gives subsequent calls lower latency than a cold connection, at the cost of approximately 30 MB RSS per profile and a reported 5–8 second cold connect.

MCP requests pass through a default-deny, per-action allowlist. Sending is draft-gated by default: an agent proposes a message into a human-review queue, and the message is not sent until a draft approval command is run. The safety path also applies short-window limits of 2 messages per second with burst 2 and 30 per minute with burst 30, plus a warmup ramp for fresh sessions. These limits are described as non-overridable, and the project does not provide a force flag for bypassing them.

Every RPC path uses an append-only JSON Lines audit log. The daemon is designed for one instance per profile and should not run as root. Optional profile separation can support personal and work accounts on the same installation.

## Setup and configuration

Install with Homebrew, Nix, the repository's checksum-verified installer, or Docker. In a typical local setup, start `wad`, pair the phone with `wa pair`, and add permitted recipients with `wa allow add <jid> --actions send`.

Start the MCP server with:

```bash
wa mcp serve
```

For Claude Desktop, Claude Code, or Cursor, the documented configuration invokes the `wa` binary with `mcp serve`. The MCP transport is stdio. The daemon's session data is held locally; Docker uses `/data` for the session according to the quickstart.

## Tools and capabilities

The wa — safe WhatsApp automation MCP surface is centered on controlled WhatsApp messaging rather than a broad API gateway. Supported capabilities described in the material include:

- Exposing the local WhatsApp daemon to AI agents over MCP stdio.
- Sending messages through a draft-first workflow.
- Approving queued drafts with the CLI before delivery.
- Applying per-action recipient allowlists with default-deny behavior.
- Enforcing send limits and session warmup without an override flag.
- Recording requests in an append-only audit log.
- Keeping a persistent Multi-Device session for warm calls.

The underlying CLI also supports pairing, recipient allowlist management, profiles, service installation, and diagnostic commands.

## Limitations and notes

wa — safe WhatsApp automation uses the reverse-engineered Multi-Device protocol through `whatsmeow`, not the official WhatsApp Cloud API. It is intended for a single person or isolated local profiles and is not presented as a multi-tenant SaaS or REST service.

The daemon must remain available for warm calls, and each profile consumes roughly 30 MB of memory. A new connection can take 5–8 seconds. Message limits cannot be disabled, and ordinary sends have no stated daily cap, but the per-second and per-minute limits remain enforced.

It does not specify environment variables, a published MCP tool-name list, or a license name.

_Full upstream README: https://allmcps.com/mcp/wa-safe-whatsapp-automation/readme_

