WhatsApp Connect logo

WhatsApp Connect

Read, search, and send WhatsApp messages through MCP with QR pairing, stdio or HTTP transport, and confirmation-gated outbound sends.

Install WhatsApp Connect

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "whatsapp-connect": {
      "command": "npx",
      "args": [
        "-y",
        "whatsapp-connect-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y whatsapp-connect-mcp

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

WhatsApp Connect MCP server links an MCP client to a personal WhatsApp account through the same unofficial protocol used by WhatsApp Web. It provides tools for listing chats, searching and reading messages, inspecting groups and calls, downloading media, and sending messages behind a server-enforced confirmation gate. Setup downloads a static binary, pairs the account with a QR scan, and can configure clients to use stdio or a shared authenticated local HTTP server. Reach for it when an agent needs controlled access to personal WhatsApp history, rather than for customer support, outreach, or automated bulk messaging.

Use cases

  • Search personal WhatsApp history with date and chat filters
  • Catch up on messages in an active group
  • Download and inspect message attachments
  • Draft replies for confirmation before sending
  • Find recent interactions that need a response

Key features

  • Read and search WhatsApp chats and messages
  • Inspect groups, contacts, calls, and blocklists
  • Download media attachments locally
  • Poll for new messages and fetch older history
  • Confirmation-gated outbound messaging
  • Stdio and bearer-token HTTP transports

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 95d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · whatsapp-connect-mcp (npm)

Adoption & maintenance

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

GitHub stars2Stargazers on the source repository.
npm downloads90Package downloads in the last 30 days.
Last commit16d agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How WhatsApp Connect works

What the WhatsApp Connect MCP server does

The WhatsApp Connect MCP server gives MCP clients access to a paired personal WhatsApp account. Its read capabilities cover chats, messages, contacts, groups, calls, blocked contacts, message context, attachments, and newly received messages. Search can run across message bodies globally or within a selected chat, while time-based queries accept named windows, dates with an IANA time zone, or explicit timestamp bounds.

Agents can also request older messages from the phone, retrieve group membership and metadata, and download media into the local data directory. Outbound operations are separate from the read tools and protected by a server-enforced send confirmation gate. The project describes the server as a personal messaging tool, not a platform for unsolicited outreach, support automation, or high-volume sending.

How it works

WhatsApp Connect MCP server communicates with WhatsApp through whatsmeow, following the unofficial protocol used by WhatsApp Web rather than the official WhatsApp Business API. Pairing requires displaying a QR code and scanning it in WhatsApp under Linked Devices. The paired phone determines how much history is available; requesting full history can ask for more data during pairing, but does not guarantee that all historical messages will be provided.

The default stdio transport lets each MCP client start its own server process. Because the data directory has an exclusive lock, only one client or session can use that mode at a time. The HTTP transport runs one local server, protected by a bearer token, so multiple clients or sessions can connect to it. The HTTP process must be started separately and kept running.

Setup and configuration

Installers are provided for macOS, Linux, and Windows, and an npm package can be used where Node.js is available. The setup command downloads or uses the binary, performs QR pairing, detects installed MCP clients, and offers to add a whatsapp server entry. It can be run again to pair another account or configure a newly installed client.

Choose stdio for the simplest single-client arrangement. Choose HTTP when several clients need one local server, then start it with a bind address and port; the documented default port is 2178. The server can also be installed as a user background service using the platform's launchd, systemd, or Task Scheduler facilities. Read access can initially cover every chat, only the self-chat, or no chats until an allowlist is configured. The --full-history option only affects a fresh pairing.

Tools and capabilities

The server exposes 24 tools: 14 read-oriented tools and 10 outbound or otherwise gated tools. Read tools include:

  • Listing and inspecting chats, messages, contacts, groups, calls, and the blocklist.
  • Searching message text and obtaining nearby context for a matching message.
  • Polling for new messages without repeatedly reading a chat.
  • Fetching older messages and downloading one or more media attachments.
  • Running diagnostics through the doctor tool.

Write operations require confirmation through the send gate. This lets an agent prepare a reply while leaving the actual outbound action subject to approval.

Limitations and notes

The WhatsApp Connect MCP server is pre-release software and uses an unofficial connection method. WhatsApp may identify third-party clients and ban paired numbers; the project warns that reported bans can be permanent. The confirmation gate and rate limiter address accidental or uncontrolled sending, but they cannot remove the risk associated with using a third-party protocol.

History depth is controlled by the paired phone and the protocol, so a request to search all history may reach only a limited period. The HTTP server is local in the documented setup and must remain running; a foreground process stops when its terminal ends. Pair a number that can be lost, and avoid using this tool for unsolicited or high-volume messaging.

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 WhatsApp Connect

WhatsApp Connect is an MCP server that connects an MCP client to a personal WhatsApp account through the unofficial WhatsApp Web protocol. Its main tools read, search, and inspect chats, messages, contacts, groups, calls, and media, while outbound messaging tools are protected by a server-enforced confirmation gate.

Install it with the macOS/Linux script, the Windows PowerShell script, or the npm package, then run setup. Setup downloads or uses the binary, displays a QR code for WhatsApp Linked Devices, and can add the server configuration to detected MCP clients.

Yes, Cursor is one of the clients named by the project. The setup command detects installed clients and can inject a WhatsApp server entry. Cursor can use the default stdio arrangement or connect to a shared local HTTP server configured during setup.

Yes, use the shared HTTP transport for multiple clients or sessions. Start the server separately, typically on local port 2178, and keep it running. The default stdio transport holds an exclusive data-directory lock, so it supports only one client or session at a time.

Not necessarily. Available history depends on what the paired phone and protocol provide. You can request older messages with the fetch tool and request fuller history during a new pairing, but the phone still decides how much data is sent.

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 PreviewWhatsApp Connect AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/whatsapp-connect?style=directory)](https://allmcps.com/mcp/whatsapp-connect)
HTML Embed
<a href="https://allmcps.com/mcp/whatsapp-connect"><img src="https://allmcps.com/api/badge/whatsapp-connect?style=directory" alt="WhatsApp Connect on AllMCPs" /></a>