WhatsApp Messaging API
MCP server by jevil25 Community
WhatsApp Messaging API is an MCP server that lets Claude, Cursor, or any MCP client send WhatsApp messages. It wraps a WhatsApp Messaging API on RapidAPI and needs no Meta Business approval or WhatsApp Business account.
Install WhatsApp Messaging API
Built from the published package, never by AI.
claude mcp add whatsapp-messaging-api -e WHATSAPP_API_KEY=YOUR_WHATSAPP_API_KEY -- npx -y whatsapp-messaging-api-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"whatsapp-messaging-api": {
"env": {
"WHATSAPP_API_KEY": "YOUR_WHATSAPP_API_KEY"
},
"args": [
"-y",
"whatsapp-messaging-api-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install WhatsApp Messaging API in Claude Desktop
{
"mcpServers": {
"whatsapp-messaging-api": {
"env": {
"WHATSAPP_API_KEY": "YOUR_WHATSAPP_API_KEY"
},
"args": [
"-y",
"whatsapp-messaging-api-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"whatsapp-messaging-api": {
"env": {
"WHATSAPP_API_KEY": "YOUR_WHATSAPP_API_KEY"
},
"args": [
"-y",
"whatsapp-messaging-api-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add whatsapp-messaging-api --env WHATSAPP_API_KEY=YOUR_WHATSAPP_API_KEY -- npx -y whatsapp-messaging-api-mcp{
"mcpServers": {
"whatsapp-messaging-api": {
"env": {
"WHATSAPP_API_KEY": "YOUR_WHATSAPP_API_KEY"
},
"args": [
"-y",
"whatsapp-messaging-api-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install WhatsApp Messaging API in Antigravity CLI
gemini mcp add whatsapp-messaging-api npx -y whatsapp-messaging-api-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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-messaging-api block.
About
WhatsApp Messaging API is an MCP server that lets Claude, Cursor, or any MCP client send WhatsApp messages. It wraps the WhatsApp Messaging API hosted on RapidAPI. You create a session, scan a QR code or request a pairing code, and then send text, images, and files. The source states that no Meta Business approval and no WhatsApp Business account are required.
The server reads your RapidAPI key from the WHATSAPP_API_KEY environment variable and sends it only to the API host. Sessions stay authenticated between runs, so linking a number is a one-time step. It suits people who want their AI assistant to send WhatsApp messages without setting up a Meta Business account.
Written from the project's README and checked against it.
Tools it gives your assistant
list_sessionsList all sessions on this API key.create_sessionCreate a new session.get_session_statusCheck a session's current status.get_qr_codeGet the QR code to authenticate a session.request_pairing_codeGet an 8-digit pairing code instead of a QR code.check_contact_existsCheck if a phone number is on WhatsApp before sending.send_text_messageSend a text message.send_imageSend an image via URL.send_fileSend a file such as a PDF or document via URL.
What you need
- RapidAPI key
- WhatsApp account to link through QR code or pairing code
- npx available to run the package
| Setting | Needed | What it is |
|---|---|---|
WHATSAPP_Environment variable, secret | Required | Session token (ch_live_...) or account key (ak_live_...) from whatsapp-messaging.retentionstack.agency/app. Free tier, no credit card. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Create a WhatsApp session and show me the QR code to scan.
- Check if +15551234567 is on WhatsApp, then send it a text message.
- Send this PDF URL to my WhatsApp contact as a file.
Good to know
- Images and files are sent via URL only.
- The server exits on startup if WHATSAPP_API_KEY is missing.
- Sessions must be authenticated by scanning a QR code or entering a pairing code first.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to WhatsApp Messaging API
All alternatives →Jitsu MCP server lets AI assistants configure and operate Jitsu data pipelines. It covers destinations, streams, connections and functions, plus Live Events and connector syncs. It is aimed at teams that run event data pipelines.
Vexa sends a bot into Google Meet, Microsoft Teams, Zoom and Jitsi calls to capture speaker-labelled transcripts live or after the call. It suits teams that want meeting transcripts they can self-host.
Gives Claude and other MCP-compatible AI agents access to LinkedIn through your own browser session. It reads profiles, researches companies, finds jobs, and manages messages and connection requests.
Runs a NetSapiens phone system from Claude, ChatGPT, or any MCP client. Each person signs in as themselves, and their assistant gets role-aware tools for calls, voicemail, queues, and provisioning.
Resend MCP Server connects AI assistants to the Resend email platform. It lets them send and receive emails and manage contacts, broadcasts, templates, and domains. It suits developers and teams who use MCP clients such as Claude or Cursor.
The source does not describe labelhead-artist-momentum. It is a README for Paperclip, an open-source orchestration app for teams of AI agents.
Compare with Jitsu, Vexa or Linkedin MCP server
WhatsApp Messaging API: common questions
Do I need a Meta Business account to use this?
No. The source states that no Meta Business approval and no WhatsApp Business account are required.
Is my API key kept safe?
The source says the key is read from the environment and sent only to the API host. It is never logged.
Do I have to link my number every time I use it?
No. The source says sessions stay authenticated between runs, so linking is one-time per number.
How do I install WhatsApp Messaging API?
In Claude Code run claude mcp add whatsapp-messaging-api -e WHATSAPP_API_KEY=YOUR_WHATSAPP_API_KEY -- npx -y whatsapp-messaging-api-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is WhatsApp Messaging API the official server?
WhatsApp Messaging API is a community project by jevil25, not verified by a company domain.
Is WhatsApp Messaging API free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is WhatsApp Messaging API safe to use?
It scores 73 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to WhatsApp Messaging API?
Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.
Does WhatsApp Messaging API 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.
