← Back to directory
W

WhatsApp MCP Server

Community
Search, read, and send WhatsApp messages through MCP.
Category
Other #614 of 678
Stars
★ 76 Popular
Transport
stdio (local process)
Runtime
Node.js 23.10.0+
Credentials
API key / credential required
Last commit
⚠
Tools
6
37FMRS · D

The README describes a Baileys-based personal WhatsApp connection, six MCP tools, stdio communication, local SQLite and authentication storage, and configuration examples for Claude Desktop and Cursor. No manifest was provided, and the license field is marked unknown; the README claims the project uses the ISC License.

Strongest · Documentation 9/20 Weakest · Maintenance 5/20

Reliability
7/20
Security and permissions
8/20
Maintenance
5/20
Documentation
9/20
Setup experience
8/20
Why each score
Reliability 7/20
The README identifies six tools and describes the responsibilities of stdio, SQLite, and Baileys, making the intended startup and data paths understandable. However, there is no source, manifest, or test evidence to verify the MCP handshake, tool behavior, error handling, or runtime dependencies. The Node 23.10 requirement and direct TypeScript execution also rely on unverified assumptions, so confidence is limited.
Security and permissions 8/20
The documentation says credentials and the message database are stored locally, and discloses the personal WhatsApp connection, agent data access, and message-sending capability. However, tools can send messages to individuals or groups, with no stated confirmation mechanism, recipient restrictions, or finer-grained permissions. The quickchart.io QR link and data flow receive little further explanation. The supplied material does not show a red-line behavior.
Maintenance 5/20
The supplied material has no evidence about commit history, releases, dependency updates, issue response, or a security reporting channel. The README claims an ISC license, while the object metadata lists the license as unknown, so governance and maintenance cannot be confirmed. Stars and open issues do not add points.
Documentation 9/20
The README provides a feature list, installation steps, client configuration examples, storage information, and troubleshooting guidance. It lacks verifiable tool parameter details, usage limits, fuller privacy data-flow details, and dependency or compatibility validation. The shown JSON contains a comment, and repository source is unavailable to check whether the documentation matches implementation.
Setup experience 8/20
The README gives a Node.js version requirement, dependency installation, QR authentication, and Claude Desktop/Cursor configuration, which forms a manual setup path. The process depends on cloning and manual configuration, requires a recent Node version, and the claimed direct TypeScript execution and first-run behavior are unverified. There is no CI or test evidence covering key paths, so the static-calibration cap applies.

Static review · not runReviewed 2026-11-30

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the networkChanges third-party account dataConnects to a database

Best for

  • Users who want to search and inspect personal WhatsApp chats through an MCP client.
  • Users who need to send text messages to WhatsApp individuals or groups from a compatible client.

Not for

  • Users who need to search group names or find groups as contacts.
  • Users who do not want to link a personal WhatsApp account to an AI client or store authentication details and chat data locally.
  • Users who need message types or capabilities not described in the README.

Required permissions

  • Needs to connect a personal WhatsApp account through the WhatsApp Web multi-device API; linking requires scanning a QR code with the phone.
  • Stores WhatsApp authentication details locally in `./auth_info/` and chat and message data in `./data/whatsapp.db`.
  • The MCP client can call tools to read contacts, chats, and messages; `send_message` can send messages when invoked.
  • The README says data is sent to the connected AI agent only when it actively calls a tool.

Risks and side effects

  • Local authentication details, messages, and chat data are sensitive; the README advises protecting the `auth_info/` and `data/` directories.
  • Tools can read personal chat content, and `send_message` can send messages from the account to individuals or groups.
  • The README says first startup may generate a QR code link using quickchart.io and attempt to open it in the default browser.
  • The data-handling description is the project's own statement and does not independently verify all server or client network behavior.

Setup

Before you start

Runtime:Node.js 23.10.0+

The README describes a Smithery installation for Claude Desktop: run npx -y @smithery/cli install @jlucaso1/whatsapp-mcp-ts --client claude. For manual installation, Node.js 23.10.0 or later and npm (or yarn/pnpm) are required. Clone the repository and install dependencies, then run node src/main.ts for the first time and scan the QR code to link the WhatsApp device. Configure the client using the provided example, replacing {{PATH_TO_REPO}} with the repository's absolute path. The README gives configuration locations for Claude Desktop and Cursor. Restart the client to connect.

claude_desktop_config.json
{"mcpServers":{"whatsapp":{"command":"node","args":["{{PATH_TO_REPO}}/src/main.ts"],"timeout":15,"disabled":false}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "whatsapp": {
      "command": "node",
      "args": [
        "{{PATH_TO_REPO}}/src/main.ts"
      ],
      "timeout": 15,
      "disabled": false
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.whatsapp]
command = "node"
args = ["{{PATH_TO_REPO}}/src/main.ts"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add whatsapp -- node '{{PATH_TO_REPO}}/src/main.ts'

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm the WhatsApp tools appear in your client's tool list. Then ask it to search for a contact; returned contact results confirm the connection is working.

Troubleshooting

  1. If the QR link does not open automatically, check the console for the quickchart.io URL, open it manually, and scan it promptly with the phone.
  2. For `DisconnectReason.loggedOut`, stop the server, delete `./auth_info/`, and restart to authenticate again.
  3. Initial syncing may take time; check `wa-logs.txt` and console output.
  4. If messages are missing or out of sync, the README suggests stopping the server, deleting `./auth_info/` and `./data/`, then re-authenticating and syncing; consider that this removes local data.
  5. For client connection problems, check the command and absolute path in the configuration, confirm Node.js is installed and on PATH, and review client logs and `mcp-logs.txt`.
  6. For send failures, check the recipient JID format and Baileys errors in `wa-logs.txt`.

Things to try

Once connected, you can ask your AI assistant things like:

  • Search for the contact named Meu amor.
  • List my recent WhatsApp chats.
  • Show the message history for a chat.
  • Send a WhatsApp message to a contact or group.

Tools 6

search_contacts read-only
Search contacts by name or part of a phone number; groups are not included.
list_messages read-only
Retrieve paginated message history for a specific chat.
list_chats read-only
List chats sorted by activity or name, with filtering and pagination, optionally including last-message details.
get_chat read-only
Get detailed information about a specific chat.
get_message_context read-only
Retrieve messages immediately before and after a specified message ID.
send_message destructive
Send a text message to a recipient JID, either an individual or a group.

Use cases

Find WhatsApp contacts by name or part of a phone number.
View recent chats, chat details, and paginated message history.
Read messages around a specified message.
Send WhatsApp text messages to individuals or groups.

Supported clients

Claude Desktop
Cursor
ClinePartial support
Roo CodePartial support

Listed from the project's documentation, not tested by this site.

Overview

A WhatsApp MCP server built with TypeScript and Baileys. It connects a personal WhatsApp account and lets compatible AI clients use tools to search contacts, inspect chats and message history, and send text messages to individuals or groups. It connects through the WhatsApp Web multi-device API; chats and messages are stored in a local SQLite database, and authentication details are stored locally. The README says data is sent to the connected AI agent only when it actively calls the provided tools.

Similar servers

Source revision ce9b144a2327 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/whatsapp-mcp-ts.svg)](https://followmcp.com/en/servers/whatsapp-mcp-ts)