Wa — safe WhatsApp automation logo

Wa — safe WhatsApp automation

Routes WhatsApp automation through a persistent daemon with draft-gated sends, rate limits, allowlists, and append-only audits.

Install Wa — safe WhatsApp automation

Run the project’s own setup commands, in order.

Setup steps from the project

wa — safe WhatsApp automation installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    brew install yolo-labz/tap/wa
    
  2. 2. Start the server
    wad &                                                # daemon, single instance per profile
    
  3. 3. Sign in
    wa pair                                              # QR-code pairing on first run
    
  4. 4. Install
    nix profile install github:yolo-labz/wa
    
  5. 5. Install
    curl -fsSL https://raw.githubusercontent.com/yolo-labz/wa/main/install.sh | bash
    
  6. 6. Start the server
    wad &
    

Overview

wa — safe WhatsApp automation connects AI agents to a persistent WhatsApp Multi-Device session through an MCP server using stdio. The `wad` daemon owns the session, while `wa mcp serve` exposes agent requests through the same default-deny allowlist, rate limiter, warmup ramp, and append-only audit log used by the CLI. Reach for it when an agent, shell pipeline, or scheduled job needs controlled WhatsApp messaging rather than bulk delivery or a REST gateway.

Use cases

  • Send approved WhatsApp messages from an AI agent
  • Schedule controlled notifications from shell jobs or cron
  • Maintain separate personal and work WhatsApp profiles
  • Audit agent-initiated messaging requests

Key features

  • Draft-gated WhatsApp sends
  • Default-deny per-action allowlists
  • Non-overridable rate limits
  • Persistent Multi-Device daemon
  • Append-only JSON Lines audit log
  • MCP over stdio

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 82d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit5d agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Wa — safe WhatsApp automation works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Wa — safe WhatsApp automation

wa — safe WhatsApp automation is an MCP server that connects AI agents to a local WhatsApp Multi-Device session managed by the `wad` daemon. Its main capabilities include draft-gated message sending, recipient allowlists, enforced rate limits, session warmup, and append-only auditing over the stdio MCP transport.

Install it with Homebrew, Nix, the repository installer, or Docker. Start `wad`, pair with `wa pair`, configure an allowlist, and run `wa mcp serve`. The documented MCP configuration invokes that command with stdio transport.

Yes, Cursor is named as a supported MCP client in the setup example. Configure it to launch the `wa` executable with the `mcp serve` argument, using the stdio transport.

No, sends default to draft mode and require human approval before delivery. An agent proposes a message into a review queue, and the operator approves it with `wa draft approve`; the safety pipeline also applies allowlists and enforced rate limits.

No, it uses the reverse-engineered WhatsApp Multi-Device protocol through the `whatsmeow` library. The project maintains a local daemon and session rather than connecting through the official WhatsApp Cloud API.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWa — safe WhatsApp automation AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/wa-safe-whatsapp-automation?style=directory)](https://allmcps.com/mcp/wa-safe-whatsapp-automation)
HTML Embed
<a href="https://allmcps.com/mcp/wa-safe-whatsapp-automation"><img src="https://allmcps.com/api/badge/wa-safe-whatsapp-automation?style=directory" alt="Wa — safe WhatsApp automation on AllMCPs" /></a>