WhatsApp for Gemini CLI
io.github.mcp-dir/whatsapp-mcp
Connect a personal/Business WhatsApp account via QR pairing (multi-device, like WhatsApp Web). Send
client:Gemini CLI
transport:streamable-http
tools:47
Install WhatsApp in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"whatsapp-mcp": {
"httpUrl": "https://api.mcp.ai/p_whatsapp"
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs
What Gemini CLI can do once it is connected
- whatsapp_list_accounts
- whatsapp_sync
- whatsapp_send_text
- whatsapp_send_media
- whatsapp_chats
- whatsapp_messages
- whatsapp_messages_write
- whatsapp_contacts_list
- whatsapp_contacts_get
- whatsapp_groups
- whatsapp_group_members
- whatsapp_group_participants_add
- whatsapp_group_participants_remove
- whatsapp_group_participants_promote
- whatsapp_group_participants_demote
- whatsapp_react
- whatsapp_poll_create
- whatsapp_poll_vote
- whatsapp_message_delete
- whatsapp_message_forward
- whatsapp_message_edit
- whatsapp_chat_metadata
- whatsapp_chat_archive
- whatsapp_chat_unarchive