Purpose: This tool is an MCP (Model Context Protocol) server designed to enable Claude, Cursor, or other MCP clients to send WhatsApp messages. It wraps the WhatsApp Messaging API provided by Retention Stack, thereby bypassing the requirements for Meta Business approval and a WhatsApp Business account.
Key capabilities: Supports creating sessions, obtaining QR codes, checking session status, checking whether a contact exists, and sending text messages, images, and files. Sessions remain authenticated across multiple runs, so each number only needs one QR code scan.
Usage: First register at whatsapp-messaging.retentionstack.agency/start (free tier, no credit card required), and copy the key from the console: a session token (ch_live_...) for a single number, or an account key (ak_live_...) for all numbers under the account (required when creating a session). Then add the server configuration to the MCP client configuration (for example, Claude Desktop's claude_desktop_config.json), using the npx command and setting the environment variable WHATSAPP_API_KEY. After restarting the client, ask it to create a WhatsApp session and display the QR code, scan it with WhatsApp (Settings → Linked Devices), then check the status via get_session_status until it shows WORKING. If the status shows PASSKEY_REQUIRED or PASSKEY_CONFIRMATION_REQUIRED, the linking must be completed in the browser console, because MCP clients cannot perform passkey signing. After that, you can use check_contact_exists to check a contact, then call send_text_message, send_image, or send_file to send messages.
Use cases: Suitable for developers or users who want to automate sending WhatsApp messages through MCP clients (such as Claude and Cursor), especially for scenarios that require quick integration without going through the Meta Business approval process.
Limitations: Requires a valid API key (session token or account key), and the key is read only from environment variables and sent to the API host. When upgrading from version 1.x, the old RapidAPI key is no longer valid and must be replaced with the token or key provided by the console. For local development, npm test requires no credentials, but you need to use the node command pointing to the locally built dist/index.js. Passkey linking must be completed in the browser and cannot be handled by MCP clients.