Home / Search & web / WhatsApp Web MCP Server

WhatsApp Web MCP Server

io.github.mario-andreschak/mcp-whatsapp-web · v1.5.0 stdio

Score 77. Maintenance 40 of 40, security 25 of 35, adoption 12 of 25.

WhatsApp MCP via web.js or browserless Baileys: messages, media, chats, groups and contacts

Description supplied by the publisher in the MCP Registry. We have not tested this server.

Ranks #376 of 896 Search & web servers on Socketlist by score, with 31 GitHub stars and a last code push 1d ago.

Install

npx -y mcp-whatsapp-web

Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.

Connect WhatsApp Web MCP Server to Claude Code, Cursor or VS Code

Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.

Claude Code

Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Claude Code setup guide.

claude mcp add --transport stdio whatsapp-web-mcp-server -- npx -y mcp-whatsapp-web

.mcp.json (Claude Code project scope, VS Code with Copilot)

Put this in a .mcp.json file at the project root. VS Code and .mcp.json guide.

{
  "mcpServers": {
    "whatsapp-web-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-whatsapp-web"
      ]
    }
  }
}

Cursor

Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.

{
  "mcpServers": {
    "whatsapp-web-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-whatsapp-web"
      ]
    }
  }
}

Configuration the publisher declares

Environment variableRequiredSecretPublisher's note
WHATSAPP_BACKENDNoNoWhatsApp backend: webjs uses a persistent browser profile; baileys connects without a browser and requires separate pairing
BAILEYS_SESSION_DIRNoNoBaileys sign-in and synchronized history folder (default: a fixed per-user place, e.g. %LOCALAPPDATA%\mcp-whatsapp-web\baileys-sessions on Windows; an existing <working directory>/baileys-sessions kee
LOG_LEVELNoNoLog level for the log file (logs/mcp-whatsapp.log)
LOG_STDERR_LEVELNoNoLog level for stderr (visible in most MCP client logs)
WHATSAPP_HEADLESSNoNowebjs only: set to false to show the browser window instead of running headless
WHATSAPP_NO_SANDBOXNoNowebjs only: explicitly disable the browser sandbox for containers that require it. The sandbox is enabled by default.
BROWSER_EXECUTABLE_PATHNoNowebjs only: browser executable. Chrome and Edge are auto-detected; set this to use a specific browser. Chrome/Edge is required for sending videos and GIFs.
WHATSAPP_SESSION_DIRNoNowebjs only: persistent browser profile folder (default: a fixed per-user place, e.g. %LOCALAPPDATA%\mcp-whatsapp-web\whatsapp-sessions on Windows; an existing <working directory>/whatsapp-sessions kee
WHATSAPP_ALLOWED_CHATSNoNoLimit the server to these chats: phone numbers with country code and/or chat IDs (@c.us, @s.whatsapp.net, @g.us, @lid), comma-separated. Every other chat is refused for sending, reading, listing and w
WHATSAPP_PAIRING_PHONE_NUMBERNoNoPhone number pairing: when set (international, symbol-free format, e.g. 4915112345678), an 8-character pairing code is logged to stderr on startup instead of relying on the QR code
FFMPEG_PATHNoNoPath to an ffmpeg binary (only needed to override the ffmpeg installed automatically via the ffmpeg-static npm package)
WA_WEB_VERSIONNoNowebjs only: pin the WhatsApp Web version if a WhatsApp-side update breaks the client.

5 more are listed in the registry entry; see the README for the full set.

"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.

Allowlist entry

If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.

{
  "allowedMcpServers": [
    {
      "serverCommand": [
        "npx",
        "-y",
        "mcp-whatsapp-web"
      ]
    }
  ]
}

How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.

Score breakdown

PartPointsWhat we observedResult
Maintenance40/40Last push 1d ago, 0 open issuesStrong
Security hygiene25/35Licence MIT, SECURITY.md missing, published package or hosted endpointFair
Adoption12/2531 GitHub stars, 54 npm downloads a weekWeak

Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.

Maintain this server? Claim or correct this listing, or get featured in Search & web. Paid placements are labelled and never change the score.

Five scored MCP servers, every Monday

The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.

Get The Plug Weekly
GitHub stars31
npm weekly downloads54
Last push1d ago
LicenceMIT
Open issues0
SECURITY.mdNo
LanguageTypeScript
Latest version published2026-11-30

Signals captured from GitHub, npm and the official MCP Registry on December 1, 2026. See the scoring method.

Similar servers

WhatsApp MCP server (wacli)

Score 76. Maintenance 39 of 40, security 30 of 35, adoption 7 of 25.

io.github.zanellig/wacli-mcp

Search WhatsApp chats and messages and send replies through your paired wacli account.

★ 0↓ 662/wkMITpushed 4d ago Search & web