Wa MCP logo

Wa MCP

Local WhatsApp MCP server with 77 tools, agent subscriptions, a web UI, and stdio or HTTP access.

Install Wa MCP

Run the project’s own setup commands, in order.

Setup steps from the project

wa-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Add to your MCP client
    npx wa-mcp install              # register the MCP server in your agents
    
  2. 2. Start the server
    npx wa-mcp start                # daemon on 127.0.0.1:27777
    
  3. 3. Sign in
    npx wa-mcp pair                 # scan the QR (or: --code <phone-number>)
    
  4. 4. Check the setup
    npx wa-mcp doctor               # token, registrations, health — all green?
    

Overview

wa-mcp connects AI agents to a local WhatsApp session through a single-user daemon built on Baileys. It exposes 77 tools over MCP stdio and HTTP for messaging, chat search, groups, contacts, media, profiles, subscriptions, and automation. The daemon includes a loopback web UI and CLI commands for installation, pairing, health checks, and startup. Reach for it when an agent needs to read, send, or react to WhatsApp messages from a locally controlled communication workflow.

Use cases

  • Send WhatsApp messages from an MCP-compatible agent
  • Search and summarize stored WhatsApp conversations
  • Subscribe an agent to incoming messages
  • Manage WhatsApp groups, contacts, and profile settings

Key features

  • 77 WhatsApp messaging and management tools
  • MCP access over stdio and HTTP
  • SQLite storage with FTS5 full-text search
  • Chat subscriptions with agent inboxes
  • Loopback web UI and CLI
  • Optional voice-note dictation support

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

4/4 checks healthy over the last 13d

How Wa MCP works

What wa-mcp does

wa-mcp makes a local WhatsApp account available to MCP-compatible agents. Its 77 tools cover sending text and media, polls, reactions, edits, forwards, locations, contacts, scheduled messages, and templates. Reading features include chat and message retrieval, conversation context, full-text search, digests, and catch-up operations.

The toolset also includes group administration, contact aliases and labels, profile and privacy controls, blocklist management, newsletters, autoreplies, notification rules, media understanding, and data export. Agents can subscribe to chats and receive incoming events through inbox files. Pi sessions can receive events through the bundled extension, while Claude Code can expose subscribed chats as live channels when its plugin is installed.

How it works

A local daemon maintains the WhatsApp session and stores application data in SQLite with WAL mode and FTS5 search. WhatsApp connectivity is handled through a Baileys-based engine. MCP clients connect through stdio or through the daemon's HTTP POST /mcp endpoint.

The daemon listens on 127.0.0.1:27777 by default. Its HTTP API and server-sent events support the built-in web interface, which provides message logs, live filtering, conversations, media views, contacts, subscriptions, agent information, profile and privacy settings, connection settings, and pairing controls.

Incoming-message subscriptions can be used to build reactive agents. Events are spooled into agent inboxes for later handling, or delivered into supported live agent workflows. Per-agent send attribution and agent-filtered logs help distinguish activity between configured agents.

Setup and configuration

Node.js 26 or newer is required because the daemon uses node:sqlite. Install and register the server with the CLI, then start the daemon and pair the WhatsApp account:

Terminal
npx wa-mcp install
npx wa-mcp start
npx wa-mcp pair
npx wa-mcp doctor

Pairing supports QR scanning and a phone-number code. The install command can target Claude Code, Claude Desktop, Codex, Pi, Grok, or Antigravity with the appropriate platform option. After pairing, the web UI is available at http://127.0.0.1:27777/.

Install ffmpeg optionally for voice-note transcription and text-to-speech. The wa-mcp voice install command adds rec and sox shims for Claude Code /voice dictation; this workflow uses Claude Code's speech-to-text rather than a separate transcription engine or API key.

Tools and capabilities

  • Send and manage text, media, polls, reactions, edits, forwards, locations, and scheduled messages.
  • Read chats and messages, search stored content, create digests, and catch up on conversations.
  • Manage groups, contacts, aliases, labels, profiles, privacy settings, blocklists, and newsletters.
  • Subscribe agents to chats and route incoming events to inboxes or live sessions.
  • Inspect media, export data, and use autoreply and notification rules.
  • View activity and connection state through the local web UI.

Limitations and notes

The daemon is designed for one local WhatsApp session and binds to loopback by default. HTTP routes use bearer authentication, and the service includes a request body limit, rate limits, a daily sending cap, and a WA_SENDS_DISABLED emergency switch. Media paths are confined, and pairing attempts are budgeted.

Voice features require optional system packages. The server depends on Node.js 26 or newer, and its agent-specific integrations are limited to the adapters supported by its installation command and extensions.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Wa MCP

wa-mcp is an MCP server that connects AI agents to a local WhatsApp session through a Baileys-based daemon. Its main tools cover sending and reading messages, media, polls, reactions, chats, groups, contacts, search, subscriptions, profiles, and automation features, with MCP access over stdio or HTTP.

Run `npx wa-mcp install` to register wa-mcp with an agent, then use `npx wa-mcp start` and `npx wa-mcp pair` to launch and connect the WhatsApp session. `npx wa-mcp doctor` checks the token, registrations, and daemon health.

wa-mcp requires Node.js 26 or newer. The requirement comes from its use of the built-in `node:sqlite` module.

Yes, wa-mcp exposes MCP through HTTP at `POST /mcp` as well as through stdio. The local daemon listens on `127.0.0.1:27777` by default and also serves its web interface there.

Yes, optional `ffmpeg` enables voice-note transcription and text-to-speech. The `wa-mcp voice install` command supports Claude Code `/voice` dictation by installing `rec` and `sox` shims.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWa MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/wa-mcp?style=directory)](https://allmcps.com/mcp/wa-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/wa-mcp"><img src="https://allmcps.com/api/badge/wa-mcp?style=directory" alt="Wa MCP on AllMCPs" /></a>