Whatsapp MCP Server

WhatsApp MCP server (stdio) backed by Baileys + SQLite

Local serverstdio

What is the Whatsapp MCP Server?

WhatsApp MCP server (stdio) backed by Baileys + SQLite

What you get

Single-user, local, no cloud dependencies. Once you scan the QR code once, your session is saved and you don't have to scan again.

Configuration and credentials

  • Node.js 18+ (this project uses ESM and modern Node APIs) - A WhatsApp account on your phone (you'll scan a QR code once) - A C/C++ toolchain for better-sqlite3 native build: - macOS: Xcode Command Line Tools (xcode-select --install) - Linux: build-essential + python3 - Windows: Visual Studio Build Tools with the "Desktop development with C++" workload

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Whatsapp MCP Server

{
  "mcpServers": {
    "whatsapp-2": {
      "command": "npx",
      "args": ["-y", "@muhammadmustafa18/whatsapp-mcp-server"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js 18+ (this project uses ESM and modern Node APIs) - A WhatsApp account on your phone (you'll scan a QR code once) - A C/C++ toolchain for better-sqlite3 native build: - macOS: Xcode Command Line Tools (xcode-select --install) - Linux: build-essential + python3 - Windows: Visual Studio Build Tools with the "Desktop development with C++" workload

Frequently asked questions

WhatsApp MCP server (stdio) backed by Baileys + SQLite Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.