WhatsApp Web MCP MCP Server

WhatsApp Web MCP Server

Local serverstdioPython

What is the WhatsApp Web MCP MCP server?

WhatsApp Web MCP MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. WhatsApp Web MCP Server.

What you get

A Node.js application that connects WhatsApp Web with AI models through the Model Context Protocol (MCP). This project provides a standardized interface for programmatic interaction with WhatsApp, enabling automated messaging, contact management, and group chat functionality through AI-driven workflows.

WhatsApp Web MCP provides a seamless integration between WhatsApp Web and AI models by:

  • Sending and receiving messages
  • Sending media messages (images only)
  • Downloading media from messages (images, audio, documents)
  • Group chat management
  • Contact management and search
  • Message history retrieval

What the assistant can call

Once WhatsApp Web MCP is connected, these are the calls the assistant has available:

  • get_status — Check WhatsApp client connection status
  • send_message — Send messages to WhatsApp contacts
  • search_contacts — Search for contacts by name or number
  • get_messages — Retrieve messages from a specific chat
  • get_chats — Get a list of all WhatsApp chats
  • create_group — Create a new WhatsApp group
  • add_participants_to_group — Add participants to an existing group
  • get_group_messages — Retrieve messages from a group
  • send_group_message — Send a message to a group
  • search_groups — Search for groups by name, description, or member names
  • get_group_by_id — Get detailed information about a specific group
  • download_media_from_message — Download media from a message

Setting it up

directly on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Configuration and credentials

You will need one environment variable: YOUR_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Choosing this one

Among the team communication options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. WhatsApp Web MCP's toolset — get_status, send_message, search_contacts and 11 more — is a fair guide to whether it matches your workflow. It is maintained by pnizer; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch WhatsApp Web MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the whatsapp web mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
get_statusCheck WhatsApp client connection status
send_messageSend messages to WhatsApp contacts
search_contactsSearch for contacts by name or number
get_messagesRetrieve messages from a specific chat
get_chatsGet a list of all WhatsApp chats
create_groupCreate a new WhatsApp group
add_participants_to_groupAdd participants to an existing group
get_group_messagesRetrieve messages from a group
send_group_messageSend a message to a group
search_groupsSearch for groups by name, description, or member names
get_group_by_idGet detailed information about a specific group
download_media_from_messageDownload media from a message
send_media_messageSend a media message to a WhatsApp contact
Components1. **WhatsAppService**: Core business logic for interacting with WhatsApp 2. **WhatsAppApiClient**: Client for connecting to the WhatsApp API 3. **API Router**: Express routes for the REST API 4. **MCP Server**: Model Co

How to install the WhatsApp Web MCP MCP server

{
  "mcpServers": {
    "wweb": {
      "command": "npx",
      "args": ["-y", "directly"],
      "env": {
        "YOUR_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
YOUR_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use WhatsApp Web MCP to get status.
  • Use WhatsApp Web MCP to send message.
  • Use WhatsApp Web MCP to search contacts.

Frequently asked questions

No. The README explicitly states the tool is for testing purposes only and should not be used in production environments. It also notes that WhatsApp does not allow bots or unofficial clients, so using it may result in account blocking.