Whatsapp logo

Whatsapp

Links WhatsApp accounts to an authenticated MCP endpoint for reading, searching, and optional message sending.

Install Whatsapp

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

Streamable HTTP (Remote)
Server URL
https://wacli.me/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Hosted endpointLive · 2d agoLive Remote EndpointOur automated health check connected to this remote MCP endpoint successfully.Last checked 2d ago · Nov 27, 2026, 16:00 UTC

Clients with native remote MCP support can connect directly to this URL.

Remote endpoint
https://wacli.me/mcp

Overview

The whatsapp MCP server connects an account to the wacli WhatsApp CLI and exposes its messages through Streamable HTTP. Account owners link once by scanning a QR code, then MCP clients authenticate with a URL and bearer token to read, search, and optionally send messages. Use it when agents need access to a WhatsApp account without running the CLI locally. Self-hosting supports separate tenant stores, while the hosted service is currently a public alpha.

Use cases

  • Read messages from a linked WhatsApp account through an MCP client
  • Search synchronized WhatsApp history for conversations or messages
  • Send WhatsApp messages when tenant write access is enabled
  • Host multiple isolated WhatsApp account stores

Key features

  • Streamable HTTP MCP endpoint
  • QR-based WhatsApp account linking
  • Message reading and search
  • Optional send_message tool
  • Bearer-token tenant authentication
  • Per-tenant wacli store isolation

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.

13/13 checks healthy over the last 54d

Adoption & maintenance

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

GitHub stars3Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Whatsapp works

What the whatsapp MCP server does

The whatsapp MCP server provides an MCP gateway for a WhatsApp account managed through the wacli CLI. It exposes tools for reading and searching messages, and can register a send_message tool when sending is explicitly enabled for a tenant. MCP clients connect over Streamable HTTP rather than launching a local process.

An account is linked through a QR flow similar to WhatsApp Web. After linking, the service provides a connection URL and bearer token. Each token maps to one wacli store directory, allowing separate tenants to use isolated account data.

How it works

The Node server serves MCP requests at /mcp. Every request must include a valid Authorization: Bearer … header. The server resolves the token to a tenant, then constructs tools for that tenant's wacli store. Read operations invoke wacli in read-only mode.

The /connect page supports self-service linking and issues a token. The service also exposes a landing page at /, a liveness endpoint at /healthz, and OAuth 2.1 discovery endpoints under /.well-known/oauth-*. These endpoints support connection and monitoring workflows; MCP tool calls still require tenant authentication.

Message history depends on synchronization. Running wacli --store stores/<tenant> sync backfills history and should continue as a daemon when ongoing updates are needed. Without a sync process, the store contains only data retrieved during the last run.

Setup and configuration

For self-hosting, install the server dependencies, build the site, and start the Node process:

Terminal
npm install --prefix server
node scripts/build.mjs
PORT=8787 HOST=127.0.0.1 node server/server.mjs

The PORT variable controls the listening port, HOST controls the bind address, WACLI_BIN selects the wacli executable, and WACLI_ME_TENANTS selects the tenant configuration file. Defaults are provided for all four variables.

Create a tenant entry with an ID, a random token, a store path, and an allowSend setting. Tokens can be generated with openssl rand -hex 32. The tenant file is reread every five seconds, so adding a tenant does not require a restart. To link an account manually, run wacli's auth command for the tenant store and scan the displayed QR code.

Tools and capabilities

The whatsapp MCP server supports these capabilities based on tenant configuration:

  • Read WhatsApp data through wacli-backed MCP tools.
  • Search the linked account's stored messages.
  • Send messages through send_message only when allowSend is true.
  • Keep tenant data separated by mapping each token to one store directory.

Sending is disabled when allowSend is false, and the tool is not registered in that case. This makes read-only access the default configuration.

Limitations and notes

The project is a public alpha and currently runs as a single host and single process. The service should bind to loopback and be published through a tunnel instead of exposing its port directly. Tenant tokens and store directories must be treated as credentials: possession of a store can provide access to the linked account's messages.

Linking uses an unofficial WhatsApp client, which conflicts with WhatsApp's terms of service and may result in a blocked number. Use accounts you own and communicate this risk to users. The hosted service is available at https://wacli.me, while self-hosting is supported by the repository.

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

whatsapp is an MCP server that connects MCP clients to a linked WhatsApp account through the wacli CLI. Its main tools read and search stored messages, with an optional send_message tool controlled by tenant configuration. Clients connect over Streamable HTTP using a bearer token after QR-based account linking.

Install the server dependencies with `npm install --prefix server`, build the site with `node scripts/build.mjs`, and start `server/server.mjs`. Configure the port, bind address, wacli binary, and tenant file with the documented environment variables.

Link the account by opening the `/connect` flow or running `bin/wacli --store stores/<tenant> auth`, then scan the displayed QR code on the phone. Use the resulting MCP URL with the issued bearer token, and run the wacli sync command to backfill history.

Set the tenant's `allowSend` value to `true`; this registers the `send_message` tool for that tenant. Leave it `false` to keep the account read-only. The tenant configuration is reread every five seconds, so a server restart is not required for the file change.

Do not expose its listening port directly; bind it to loopback and publish it through a tunnel. Requests require bearer tokens, but tokens and store directories are credentials because a store can contain the linked account's messages. The project also uses an unofficial WhatsApp client that may lead to account blocking.

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