whatsapp-mcp-plus
Provides tools for interacting with a personal WhatsApp account, enabling AI agents to search, read, summarize, and (when allowed) send messages, manage chats, groups, and media, with safety guardrails like read-only mode, allowlists, and rate limits.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@whatsapp-mcp-plussearch my chats for the WiFi password"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
whatsapp-mcp-plus
A secure, zero-setup WhatsApp MCP server. Read-first and safe by default.
It connects your personal WhatsApp to an MCP client (Claude Desktop, Cursor, Claude Code) so your AI can search, read, summarize, and, when you allow it, act on your WhatsApp, with guardrails that keep your account safe.
This is a maintained, single-binary successor to the (now abandoned)
lharries/whatsapp-mcp, rebuilt in
TypeScript on Baileys with a safety
layer it never had.
⚠️ Read the account-safety disclaimer before using. This uses an unofficial WhatsApp client. Used carelessly it can get your number banned. This tool is designed to minimize that risk, but cannot eliminate it.
WhatsApp Rewind, from your own chats
Ask your AI for whatsapp_rewind to generate a Spotify-Wrapped-style set of
story cards (1080×1920 SVG) from your history, cover, top people, your daily
rhythm, top emojis, reply-speed leaderboard, and by-the-numbers:
Prefer a single card? wrapped_card writes one shareable SVG; whatsapp_wrapped
prints a terminal card. Also: response_leaderboard (who you reply to fastest /
leave on read longest), chat_stats (per-chat, with reply times), top_words,
and export_chat.
Related MCP server: WA MCP
Why this instead of the original
original (abandoned) | whatsapp-mcp-plus | |
Setup | Go bridge + Python server, hand-edited config, CGO on Windows | single Node process, one command |
Safety | none (README even warns about the hole) | read-only default, allowlist, rate limits, confirm-to-send, injection guard |
Tools | 12 (read + basic send) | 51 (react, reply, edit, delete, groups, presence, polls, transcription, analytics, chat mgmt) |
Native deps |
| none — uses Node's built-in |
Maintained | last commit Jul 2025 | yes |
Quick start
npx whatsapp-mcp-plusOn first run it prints a QR code in your terminal. Open WhatsApp on your phone → Settings → Linked Devices → Link a device and scan it. Your recent history syncs into a local SQLite database. Nothing leaves your machine except what the AI explicitly reads through a tool call.
Or with Docker (both the connection and the server in one container):
docker build -t whatsapp-mcp-plus .
docker run -it -v wamcp-data:/app/data -v wamcp-auth:/app/auth_info whatsapp-mcp-plusSee the analytics without pairing
Want to see what whatsapp_wrapped and response_leaderboard produce? Run the
demo, it seeds a sample database and prints the real tool output:
npm run demoWire it into your MCP client
{
"mcpServers": {
"whatsapp": {
"command": "npx",
"args": ["-y", "whatsapp-mcp-plus"],
"env": { "WAMCP_MODE": "read-only" }
}
}
}Claude Desktop:
claude_desktop_config.jsonCursor:
~/.cursor/mcp.json
Safety model (safe by default)
WhatsApp bans are mostly behavioral. Reading is low-risk; cold or bulk sending is high-risk. Defaults are tuned to keep you in the safe zone.
Modes (WAMCP_MODE):
read-only(default) — every write tool is blocked. Search/read/analyze only.assisted— sending allowed, but gated by allowlist + rate limits + confirm.unrestricted— rails off (opt-in, not recommended).
Rails (on by default outside unrestricted):
Allowlist — you can only message existing contacts or people who messaged you first (messaging strangers is the #1 ban trigger). Override per-contact with the
allowlist_addtool.Rate limiting — per-minute + per-day caps and a human-like gap+jitter between sends.
Confirm-to-send — a send returns a token and waits; nothing goes out until you call
confirm_action. This stops a prompt-injected message from firing.Injection guard — incoming messages that look like instructions aimed at an AI are flagged so the model treats them as data, not commands.
Every knob is an env var: WAMCP_ALLOWLIST_ONLY, WAMCP_REQUIRE_CONFIRM,
WAMCP_RATE_PER_MINUTE, WAMCP_RATE_PER_DAY, WAMCP_MIN_GAP_MS, WAMCP_JITTER_MS.
Tools
51 tools (the abandoned original had 12):
Read: search_contacts, list_chats, list_groups, get_chat,
list_messages (with date range), get_last_interaction, contact_info,
get_message_context, search_messages
Send: send_message (with reply), send_file, send_voice_note,
send_location, send_poll, send_contact
Message actions: react_to_message, edit_message, delete_message,
mark_read, forward_message, star_message
Groups: group_info, create_group, group_update_participants,
group_set_subject, group_set_description, group_invite_link, group_leave
Chat management: pin_chat, mute_chat, block_contact,
check_number_on_whatsapp, get_profile_picture
Presence / profile: send_presence, set_profile_status, set_profile_name
Media / intelligence: download_media, transcribe_voice_message
Analytics: whatsapp_rewind (6-card story set), wrapped_card (single
shareable SVG), whatsapp_wrapped (terminal card), response_leaderboard (who
you reply to fastest / leave on read longest), top_words, chat_stats
(per-chat, incl. response times), export_chat (markdown/text transcript)
Control: get_status, get_me, set_mode, confirm_action,
allowlist_add/remove/list
Voice transcription
transcribe_voice_message downloads a voice note and, if you set
WAMCP_TRANSCRIPTION_CMD (a command containing {input} that prints a
transcript), runs it through your STT of choice (e.g. whisper). Without it, the
audio is still downloaded and its path returned.
Configuration reference
Env var | Default | Meaning |
|
|
|
|
| SQLite DB + logs + downloaded media |
|
| WhatsApp pairing credentials |
| on (safe modes) | restrict sends to known recipients |
| on (safe modes) | two-step confirm before sending |
|
| max sends / minute |
|
| max sends / day |
| (none) | STT command template with |
| (none) | restrict which dirs files can be sent from (anti-exfiltration) |
Account safety & Terms of Service
This project uses Baileys, an unofficial WhatsApp Web client. Automating a personal WhatsApp account is against WhatsApp's Terms of Service and can result in your number being temporarily or permanently banned. To reduce that risk:
Keep the default read-only mode unless you truly need to send.
Never use it for cold outreach, bulk, or identical/spam messages.
Prefer an established, well-used number over a fresh SIM; avoid VOIP numbers.
Treat it as a personal assistant, not a marketing tool.
You accept this risk by using the tool. It is provided as-is, for personal and educational use, with no warranty. Not affiliated with WhatsApp or Meta.
Credits
Derived from whatsapp-mcp-ts
(ISC) and whatsapp-mcp (MIT). See
NOTICE. MIT licensed.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceWhatsApp MCP server that exposes messaging, groups, contacts, and profile management as tools and resources for AI agents, supporting Baileys and Meta Cloud API.19
- AlicenseNot gradedqualityAmaintenanceA self-hosted WhatsApp bridge that exposes a stdio MCP server with ~20 tools for reading conversations, sending messages, managing groups, contacts, and aliases, enabling AI agents to operate WhatsApp directly.2MIT
- AlicenseNot gradedqualityCmaintenanceSelf-hosted WhatsApp management over Model Context Protocol, exposing a streamable HTTP MCP endpoint with 30 tools for session/QR pairing, messaging, media storage, and optional on-CPU voice note transcription via whisper.cpp.MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/eeshsaxena/whatsapp-mcp-plus'
If you have feedback or need assistance with the MCP directory API, please join our Discord server