A Model Context Protocol (MCP) server providing full access to WhatsApp messaging via the whatsmeow bridge. Read messages, search contacts, send texts, media, and voice messages.
POST requests to: https://whatsapp.mcp.majewscy.tech/
x-api-key
Your server authentication key (contact us for access)
curl -X POST https://whatsapp.mcp.majewscy.tech/ \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_SERVER_KEY" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "get_whatsapp_status",
"arguments": {}
},
"id": 1
}'
curl -X POST https://whatsapp.mcp.majewscy.tech/ \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_SERVER_KEY" \
-d '{
"jsonrpc": "2.0",
"method": "tools/list",
"id": 1
}'
{
"mcpServers": {
"whatsapp": {
"type": "http",
"url": "https://whatsapp.mcp.majewscy.tech/",
"headers": {
"x-api-key": "YOUR_SERVER_KEY"
}
}
}
}
get_whatsapp_status - Check connection & auth statussearch_contacts - Search contacts by name/phonelist_messages - Query messages with filtersget_recent_conversations - Recent chat overviewget_message_context - Context around a messagelist_chats - List chats with metadataget_chat - Get chat by JIDget_direct_chat_by_contact - Find DM by phoneget_contact_chats - All chats for a contactget_last_interaction - Most recent messagesend_message - Send text messagesend_file - Send image/video/documentsend_audio_message - Send voice messagedownload_media - Download media from messageOn first run, you need to scan a QR code to authenticate with WhatsApp:
get_whatsapp_status to check if QR scan is neededGET /qr (requires x-api-key header){"jsonrpc":"2.0","id":1,"error":{"code":-32001,"message":"Invalid API Key"}}
Solution: Check your x-api-key header value
{"logged_in": false, "message": "WhatsApp service is currently unavailable."}
Solution: Check container logs, the Go bridge may need time to start
GET /health - Returns server status (no authentication required)