WhatsApp Web MCP Server
WhatsApp MCP via web.js or browserless Baileys: messages, media, chats, groups and contacts
Open the source (opens github.com) https://github.com/mario-andreschak/mcp-whatsapp-web
Before you use it
- Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
What it is
MCP servers from io.github.mario-andreschak.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
How to get it
npm package (stdio)
mcp-whatsapp-web@1.2.0
From the server's entry in the official MCP Registry
Settings it asks for
WHATSAPP_BACKEND· WhatsApp backend: webjs uses a persistent browser profile; baileys connects without a browser and requires separate pairingBAILEYS_SESSION_DIR· Baileys credentials and synchronized history directory (default: <working directory>/baileys-sessions). Use a private absolute path, owned by one server…LOG_LEVEL· Log level for the log file (logs/mcp-whatsapp.log)LOG_STDERR_LEVEL· Log level for stderr (visible in most MCP client logs)WHATSAPP_HEADLESS· webjs only: set to false to show the browser window instead of running headlessWHATSAPP_NO_SANDBOX· webjs only: explicitly disable the browser sandbox for containers that require it. The sandbox is enabled by default.BROWSER_EXECUTABLE_PATH· webjs 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_DIR· webjs only: persistent browser profile directory (default: <working directory>/whatsapp-sessions)WHATSAPP_PAIRING_PHONE_NUMBER· Phone number pairing: when set (international, symbol-free format, e.g. 4915112345678), an 8-character pairing code is logged to stderr on startup instead of…FFMPEG_PATH· Path to an ffmpeg binary (only needed to override the ffmpeg installed automatically via the ffmpeg-static npm package)WA_WEB_VERSION· webjs only: pin the WhatsApp Web version if a WhatsApp-side update breaks the client.HEALTH_CHECK_INTERVAL_MS· webjs only: connection health check interval in milliseconds (<=0 disables)
Related
-
waha
MCP serversWAHA - WhatsApp HTTP API (REST API) that you can configure in a click! Multiple engines: WEBJS (browser based), NOWEB (websocket nodejs), GOWS (websocket go), WPP (browser)
git clone https://github.com/devlikeapro/waha.git -
whatsapp-mcp
MCP serversGive your AI agents your WhatsApp. An MCP server that reads, searches and sends your messages, running on your own Cloudflare account with one-click deploy.
git clone https://github.com/felipeadeildo/whatsapp-mcp.git -
whatsapp-mcp-server
MCP serversWhatsApp MCP Server for AI Agents - TypeScript, Baileys and Cloud API
git clone https://github.com/heitorcarvalhohlbryzeis6-cloud/whatsapp-mcp-server.git -
wamcp
MCP serversWhatsApp MCP Server — Connect AI agents to WhatsApp via Model Context Protocol. 61 tools, 10 resources, 12 real-time events. Supports Baileys (WhatsApp Web) and Cloud API. Built with TypeScript, BullMQ, and Docker.
git clone https://github.com/delltrak/wamcp.git -
whatsapp-claude-plugin
MCP serversClaude Code WhatsApp channel plugin — run AI directly from WhatsApp, voice transcription, remote tool approval, access control. No API keys, no Docker, just a linked device.
git clone https://github.com/Rich627/whatsapp-claude-plugin.git -
whatsapp
MCP serversWhatsApp (Web + Business API), SMS, contacts, and call records via 2Chat's MCP server.