AdYour product here, seen by people installing AI tools every day

WhatsApp Web MCP Server

Community

MCP server by mario-andreschak · updated · ★ 29

Score 65

WhatsApp MCP via web.js or browserless Baileys: messages, media, chats, groups and contacts WhatsApp Web MCP Server is a community project by mario-andreschak, not verified by a company domain.

Yours? Claim it

Install WhatsApp Web MCP Server

Built from the published package, never by AI
claude mcp add whatsapp-web-mcp-server -- npx -y mcp-whatsapp-web

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install WhatsApp Web MCP Server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the whatsapp-web-mcp-server block.

Maintenance

Last commit 36 days ago

Licence

MIT: permissive, fine for commercial use

Quality

Clear description, published package or server URL

Security

Not checked yet. What we check

What you need

SettingNeededWhat it is
WHATSAPP_BACKENDEnvironment variableOptionalWhatsApp backend: webjs uses a persistent browser profile; baileys connects without a browser and requires separate pairing Default: webjs
BAILEYS_SESSION_DIREnvironment variableOptionalBaileys credentials and synchronized history directory (default: <working directory>/baileys-sessions). Use a private absolute path, owned by one server process.
LOG_LEVELEnvironment variableOptionalLog level for the log file (logs/mcp-whatsapp.log) Default: info
LOG_STDERR_LEVELEnvironment variableOptionalLog level for stderr (visible in most MCP client logs) Default: warn
WHATSAPP_HEADLESSEnvironment variableOptionalwebjs only: set to false to show the browser window instead of running headless
WHATSAPP_NO_SANDBOXEnvironment variableOptionalwebjs only: explicitly disable the browser sandbox for containers that require it. The sandbox is enabled by default. Default: false
BROWSER_EXECUTABLE_PATHEnvironment variableOptionalwebjs 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_DIREnvironment variableOptionalwebjs only: persistent browser profile directory (default: <working directory>/whatsapp-sessions)
WHATSAPP_PAIRING_PHONE_NUMBEREnvironment variableOptionalPhone 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_PATHEnvironment variableOptionalPath to an ffmpeg binary (only needed to override the ffmpeg installed automatically via the ffmpeg-static npm package)
WA_WEB_VERSIONEnvironment variableOptionalwebjs only: pin the WhatsApp Web version if a WhatsApp-side update breaks the client.
HEALTH_CHECK_INTERVAL_MSEnvironment variableOptionalwebjs only: connection health check interval in milliseconds (<=0 disables) Default: 60000
TOOL_READY_TIMEOUT_MSEnvironment variableOptionalHow long tool calls wait for the WhatsApp client to become ready before erroring Default: 45000
MCP_HTTP_PORTEnvironment variableOptionalWhen set, additionally exposes the MCP endpoint at http://127.0.0.1:<port>/mcp (Streamable HTTP) from the same process
MCP_HTTP_HOSTEnvironment variableOptionalBind address for the HTTP endpoint (do not expose publicly; the endpoint controls your personal WhatsApp account) Default: 127.0.0.1
MCP_OAUTHEnvironment variableOptionalEnable OAuth for the HTTP endpoint: /mcp requires a bearer token and clients authenticate via a browser page showing the WhatsApp QR code / pairing form

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Weekly newsletter

Like WhatsApp Web MCP Server? Get the best new MCP servers every week

The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.

No spam. Unsubscribe in one click. Privacy

Alternatives to WhatsApp Web MCP Server

All alternatives →

WhatsApp Web MCP Server: common questions

How do I install WhatsApp Web MCP Server?

In Claude Code run claude mcp add whatsapp-web-mcp-server -- npx -y mcp-whatsapp-web. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is WhatsApp Web MCP Server the official server?

WhatsApp Web MCP Server is a community project by mario-andreschak, not verified by a company domain.

Is WhatsApp Web MCP Server free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is WhatsApp Web MCP Server safe to use?

It scores 65 of 100. Grades: maintenance B, licence A, quality D. The security check has not run for it yet. Review the code before you install. How grades work.

What are alternatives to WhatsApp Web MCP Server?

Similar MCP servers: Vexa, TradingMCP, Agent-Native Brain, Agent-Native Chat.

Does WhatsApp Web MCP Server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.