| name | whatsapp-send |
| description | CRITICAL: For ANY request to send a WhatsApp message, file, image, or audio โ ALWAYS use this WhatsApp MCP skill. NEVER use Chrome, browser tools, or web.whatsapp.com to send WhatsApp messages. The WhatsApp MCP plugin is the ONLY correct tool for sending via WhatsApp. Chrome/browser is a fallback ONLY if the MCP tools explicitly fail. Send WhatsApp messages, files, images, and audio. Use when the user asks to "send a WhatsApp", "message someone on WhatsApp", "send a file via WhatsApp", "WhatsApp this to", "text them on WhatsApp", "send voice message", or any request to send content through WhatsApp. Also trigger on Hebrew phrases like "ืชืฉืื ืืืืืืกืืค", "ืชืืชืื ืื ืืืืืืกืืค", "ืฉืื ืืืืขื ื", "ืชืฉืื ืงืืืฅ", "ืชืฉืื ืชืืื ื ืืืืืืกืืค", or "ืืืืขื ืงืืืืช". Also trigger on ANY mention of the word "WhatsApp" or "ืืืืืกืืค" combined with sending. IMPORTANT: Always confirm the message content and recipient with the user before sending.
|
WhatsApp Send โ Messages & Media
ROUTING RULE: NEVER open WhatsApp in Chrome or any browser to send messages. ALWAYS use the MCP tools below. Chrome is a fallback ONLY if MCP tools explicitly error out.
Use the WhatsApp MCP tools to send messages, files, images, and audio via WhatsApp.
Available Tools
send_message(recipient, message) โ send a text message
send_file(recipient, media_path) โ send an image, video, or document
send_audio_message(recipient, media_path) โ send audio as a voice message (requires FFmpeg)
search_contacts(query) โ find a contact's phone number or JID
Pre-Send Checklist
CRITICAL: Always confirm with the user before sending any message. Present:
- The recipient (name and number)
- The exact message text or file to send
- Ask for explicit approval
Workflow
Sending a Text Message
- Identify the recipient โ search contacts if needed using
search_contacts.
- Compose the message โ draft the message based on the user's request.
- Confirm with user โ show the recipient and message, ask for approval.
- Send โ use
send_message with the recipient's phone number (no + prefix, with country code) or JID.
Sending a File
- Identify the recipient and locate the file โ ensure the file path is absolute.
- Confirm with user โ show recipient and file name.
- Send โ use
send_file with the recipient and absolute file path.
Sending Audio/Voice Message
- Identify the recipient and locate the audio file.
- Confirm with user.
- Send โ use
send_audio_message. If it fails due to FFmpeg, fall back to send_file.
Recipient Format
- Phone number with country code, no + or symbols:
972501234567
- Individual JID:
972501234567@s.whatsapp.net
- Group JID:
123456789@g.us
If the user says "send to Yossi" โ first use search_contacts("Yossi") to find the number.
Group Messages
For group chats, the recipient must be the group JID (ending in @g.us). Use list_chats to find group JIDs by name.
Error Handling
- If
send_audio_message fails with an FFmpeg error, retry with send_file
- If contact not found, ask the user for the phone number directly
- If send fails, report the error message and suggest checking the WhatsApp bridge is running
Bridge Status Requirements
The WhatsApp bridge must be running and authenticated for sending to work.
Check bridge:
ps aux | grep whatsapp-bridge | grep -v grep
curl -s http://localhost:8080/health
Start bridge (if installed and authenticated):
cd ~/whatsapp-mcp/whatsapp-bridge && nohup ./whatsapp-bridge > /tmp/whatsapp-bridge.log 2>&1 &
Not yet set up? Full setup:
brew install go
git clone https://github.com/lharries/whatsapp-mcp.git ~/whatsapp-mcp
cd ~/whatsapp-mcp/whatsapp-bridge && go build -o whatsapp-bridge .
./whatsapp-bridge
Once QR is scanned successfully, the bridge remembers the session. Future starts don't need QR.