0
grade F
10 days ago
glama

WhatsApp MCP Stream

An MCP server that enables interaction with WhatsApp using the Baileys library and Streamable HTTP transport. It supports managing contacts, chats, and messages, while providing a web admin UI for QR code authentication and media handling.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
🚨
Known vulnerabilities in dependencies: 2 critical, 11 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
🔐
You'll be asked for 2 credentials: REQUIRE_UPLOAD_TOKEN, UPLOAD_TOKEN
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configAUTO_DOWNLOAD_MAX_MB
configAUTO_DOWNLOAD_MEDIA
configAUTO_SELECT_CONTACT
configBAILEYS_LOG_LEVEL
configDB_PATHSESSION_DIR>/store.sqlite SQLite database path for chats/messages persistence.
configFFMPEG_PATH
configLOG_LEVEL
configMCP_BASE_URL
configMCP_HTTP_ENABLE_JSON_RESPONSE1 Use direct JSON responses for Streamable HTTP POST requests by default. Set to 0 to force the older SSE-style POST response handling.
configMEDIA_DIRSettings can be edited in the admin UI and are persisted to SETTINGS_PATH (defaults to /settings.json).
configMEDIA_PUBLIC_BASE_URL
configPUBLIC_BASE_URL
🔐 secretREQUIRE_UPLOAD_TOKEN
configSESSION_DIRDB_PATH <>/store.sqlite SQLite database path for chats/messages persistence.
configSETTINGS_PATHSettings can be edited in the admin UI and are persisted to (defaults to MEDIA_DIR/settings.json).
configTRANSPORT
configUPLOAD_ENABLED
configUPLOAD_MAX_FILES
configUPLOAD_MAX_MB
🔐 secretUPLOAD_TOKEN
configWA_DISCONNECT_RECOVERY_DELAY_MS30000 How long to wait after a socket close before the disconnect watchdog forces reconnect/restart.
configWA_DISCONNECT_RECOVERY_RESTART_CODES428 Comma-separated disconnect status codes that should escalate straight to an internal restart watchdog.
configWA_EVENT_LOG0 Enable detailed WhatsApp event logs.
configWA_EVENT_STREAM0 Write raw Baileys event stream to a file for deep debugging.
configWA_EVENT_STREAM_PATH/app/logs/wa-events.log File path for the event stream log.
configWA_IDEMPOTENCY_TTL_MS86400000 How long completed send_message idempotency records are retained in SQLite for safe retries.
configWA_MESSAGE_INDEX_MAX20000 Max in-memory entries for message index (jid:id -> raw message).
configWA_MESSAGE_KEY_INDEX_MAX20000 Max in-memory entries for message key index (id -> raw message).
configWA_READINESS_GRACE_MS180000 Grace period during recovery/disconnect before /healthz turns unhealthy.
configWA_RESYNC_RECONNECT1 Enable reconnect safety net after force resync.
configWA_RESYNC_RECONNECT_DELAY_MS15000 Delay before reconnect after force resync (ms).
configWA_SEND_DEDUP_WINDOW_MS45000 Suppress exact duplicate send_message requests to the same JID within this window.
configWA_SYNC_RECOVERY_COOLDOWN_MS300000 Minimum delay between automatic app-state recoveries.
configWA_SYNC_RECOVERY_WINDOW_MS900000 Time window used to count repeated app-state corruption failures.
configWA_SYNC_SOFT_RECOVERY_LIMIT2 Number of soft recoveries before escalating to an internal restart.
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 7 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/loglux-whatsapp-mcp-stream-0ltxck)](https://m8ven.ai/mcp/loglux-whatsapp-mcp-stream-0ltxck)
commit: 474c78830df9709ce399d2e1ccb73264bbda5163
code hash: b7deb431298af512d7d01bc80096d0c11eb08f8a27d123d541c5e93b7e0ca476
verified: 4/11/2026, 3:04:10 PM
view raw JSON →