
WhatsApp Web MCP Server
io.github.mario-andreschak/mcp-whatsapp-web·v1.2.0·29 starsWhatsApp MCP via web.js or browserless Baileys: messages, media, chats, groups and contacts
29 stars54 downloads/wk
Reviews
Write oneNobody has reviewed WhatsApp Web MCP Server yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
WhatsApp Web MCP Server tools (1)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
ping
Public scan report
scanner v0.1.10 · 2026-10-16 · same rubric, same numbers if you re-run it
- Code scan43 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 29 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How WhatsApp Web MCP Server compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 93% of 48,243 servers
- Tools
- 1
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 29
- more than 92% of 28,706 servers
- Downloads a week
- 54
- more than 43% of 12,306 servers with a package
What its tools let an agent do: 1 read
Install WhatsApp Web MCP Server in Claude Code, Cursor or VS Code
Runs npx -y mcp-whatsapp-web on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mcp-whatsapp-web -- npx -y mcp-whatsapp-web
What the publisher says
From the WhatsApp Web MCP Server repository's README, as published. We do not edit it. Read it on GitHub
Very Important
Automation of Whatsapp Messages without Meta (Business-)API is against WhatsApp' Terms of Service! You take full responsibility for everything you do with this MCP-Server. It is possible that your account will be flagged/restricted.
MCP WhatsApp Web (TypeScript)
A Model Context Protocol (MCP) server for WhatsApp Web, implemented in TypeScript. This project is a TypeScript port of the original whatsapp-mcp repository.
With this MCP server, you can:
- Search and read your personal WhatsApp messages (including media)
- Search your contacts
- Send messages to individuals or groups
- Send and receive media files (images, videos, documents, audio)
Features
- TypeScript Implementation: Fully typed codebase for better developer experience and code reliability
- Selectable WhatsApp Backend: Uses whatsapp-web.js by default, with an optional Baileys backend that runs without a browser
- MCP Server: Implements the Model Context Protocol for seamless integration with AI assistants
- Media Support: Send and receive images, videos, documents, and audio messages
- Multiple Transport Options: Supports stdio and Streamable HTTP transports — even both at once from a single process (start with stdio and set MCPHTTPPORT to additionally expose http://127.0.0.1:/mcp, or run HTTP-only with --http)
- Flexible Authentication: QR code (as an MCP image tool), pairing code (requestpairingcode tool, or automatically printed to stderr at startup via WHATSAPPPAIRINGPHONENUMBER), and an optional OAuth flow for HTTP clients (MCPOAUTH=true) where the browser authorization page shows the WhatsApp QR code — unlinking WhatsApp revokes tokens so clients automatically re-authenticate
Architecture
This MCP server consists of:
- TypeScript MCP Server: Implements the Model Context Protocol to provide standardized tools for AI assistants to interact with WhatsApp
- WhatsApp Backend: A shared service interface selects web.js/Puppeteer or Baileys/WebSocket, handles authentication, and manages message sending/receiving
- Tool Implementations: Provides various tools for contacts, chats, messages, media, and authentication
Prerequisites
- Node.js >= 22.0.0 (Node 22 or 24 recommended for the Baileys SQLite dependency)
- npm or yarn
- For the default webjs backend: Google Chrome or Microsoft Edge (auto-detected; needed for video/GIF codec support; other operations can use Puppeteer's bundled Chromium)
- For baileys: install optional dependencies, including the native better-sqlite3 module. No Chrome, Edge, or Chromium is needed at runtime.
FFmpeg is bundled automatically via the ffmpeg-static npm package — no manual installation needed. You can point the FFMPEG_PATH environment variable at your own binary to override it.
Installation
npx
npx mcp-whatsapp-webManual Installation
- Clone this repository
git clone https://github.com/mario-andreschak/mcp-whatsapp-web.git
cd mcp-whatsapp-web- Install dependencies
npm install- Build the project
npm run build- Configure environment variables (optional)
Copy the example environment file and modify as needed:
cp .env.example .envShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
WhatsApp Web MCP Server: common questions
- Is WhatsApp Web MCP Server safe?
- Yes, by our scan: it is graded A (92/100). Read the WhatsApp Web MCP Server safety report
- How do I install WhatsApp Web MCP Server?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does WhatsApp Web MCP Server need an API key?
- No secret keys are declared. It reads 16 settings from the environment.
- Is WhatsApp Web MCP Server maintained?
- The last commit was 49 days ago (2026-09-17). The latest release is v1.2.0.
- How does WhatsApp Web MCP Server compare with other MCP servers?
- safety score 92/100 (higher than 93% of 48,243 servers); tools 1 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.