Skip to content
WhatsApp Web MCP Server logo
MCP server
Registry

WhatsApp Web MCP Server

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

WhatsApp Web MCP Server scores 73 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 17 tools. Filed under Communication, Web scraping. GitHub shows 31 stars. Package registries report about 90 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by mario-andreschakMITTypeScript31 stars
Trust score
73Good
Trust score 73 of 100, Good

Good trust

73 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 73 comes from

22 + 20 + 8 + 10 + 10 + 3 = 73. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity8 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 8 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "mario-andreschak-mcp-whatsapp-web": {      "command": "npx",      "args": [        "-y",        "mcp-whatsapp-web@1.5.0"      ],      "env": {        "WHATSAPP_BACKEND": "webjs",        "BAILEYS_SESSION_DIR": "",        "LOG_LEVEL": "info",        "LOG_STDERR_LEVEL": "warn",        "WHATSAPP_HEADLESS": "",        "WHATSAPP_NO_SANDBOX": "false",        "BROWSER_EXECUTABLE_PATH": "",        "WHATSAPP_SESSION_DIR": "",        "WHATSAPP_ALLOWED_CHATS": "",        "WHATSAPP_PAIRING_PHONE_NUMBER": "",        "FFMPEG_PATH": "",        "WA_WEB_VERSION": "",        "HEALTH_CHECK_INTERVAL_MS": "60000",        "TOOL_READY_TIMEOUT_MS": "45000",        "MCP_HTTP_PORT": "",        "MCP_HTTP_HOST": "127.0.0.1",        "MCP_OAUTH": ""      }    }  }}

Environment variables

NameRequiredNotes
WHATSAPP_BACKENDOptionalWhatsApp backend: webjs uses a persistent browser profile; baileys connects without a browser and requires separate pairing
BAILEYS_SESSION_DIROptionalBaileys 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 keeps being used). One running server owns a folder; give a second program its own folder.
LOG_LEVELOptionalLog level for the log file (logs/mcp-whatsapp.log)
LOG_STDERR_LEVELOptionalLog level for stderr (visible in most MCP client logs)
WHATSAPP_HEADLESSOptionalwebjs only: set to false to show the browser window instead of running headless
WHATSAPP_NO_SANDBOXOptionalwebjs only: explicitly disable the browser sandbox for containers that require it. The sandbox is enabled by default.
BROWSER_EXECUTABLE_PATHOptionalwebjs 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_DIROptionalwebjs 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 keeps being used)
WHATSAPP_ALLOWED_CHATSOptionalLimit 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 webhooks. A mistake or an empty value stops the server; leave it out to allow every chat.
WHATSAPP_PAIRING_PHONE_NUMBEROptionalPhone 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_PATHOptionalPath to an ffmpeg binary (only needed to override the ffmpeg installed automatically via the ffmpeg-static npm package)
WA_WEB_VERSIONOptionalwebjs only: pin the WhatsApp Web version if a WhatsApp-side update breaks the client.
HEALTH_CHECK_INTERVAL_MSOptionalwebjs only: connection health check interval in milliseconds (<=0 disables)
TOOL_READY_TIMEOUT_MSOptionalHow long tool calls wait for the WhatsApp client to become ready before erroring
MCP_HTTP_PORTOptionalWhen set, additionally exposes the MCP endpoint at http://127.0.0.1:<port>/mcp (Streamable HTTP) from the same process
MCP_HTTP_HOSTOptionalBind address for the HTTP endpoint (do not expose publicly; the endpoint controls your personal WhatsApp account)
MCP_OAUTHOptionalEnable OAuth for the HTTP endpoint: /mcp requires a bearer token and clients authenticate via a browser page showing the WhatsApp QR code / pairing form

Tools17Tool docs quality grade C

All capabilities
  • that call stopped ringing. reason says how: missed (nobody answered), rejected (declined on one of your devices or with rejectcall), answeredelsewhere (picked up on another device) or ended (the caller hung up, or the server l

  • a voice or video call is ringing right now.

  • Check if you're currently authenticated with WhatsApp

  • Download media from a message

  • Get information about a specific chat

  • Get information about a specific contact

  • Find a direct chat with a specific contact

  • Get a specific message by ID

  • Get the QR code for WhatsApp Web authentication

  • List available chats with metadata

  • Retrieve messages with optional filters; transcribevoicenotes: true adds the text of voice notes

  • Decline a call that is ringing right now, by the callId from a call.received event (Baileys backend only; fails once the call stopped ringing)

About

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

Frequently asked questions

What is WhatsApp Web MCP Server?

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

How do I install WhatsApp Web MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. WhatsApp Web MCP Server runs locally from the npm package mcp-whatsapp-web with the command npx -y mcp-whatsapp-web@1.5.0.

Is WhatsApp Web MCP Server free and open source?

Yes. WhatsApp Web MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does WhatsApp Web MCP Server support remote (HTTP) connections?

No remote endpoint is listed for WhatsApp Web MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does WhatsApp Web MCP Server provide?

WhatsApp Web MCP Server provides 17 tools, including call.ended, call.received, check_auth_status, and download_media. See the full tool list for descriptions and parameters.

How is WhatsApp Web MCP Server's trust score calculated?

WhatsApp Web MCP Server scores 73 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server