Skip to main content
Glama
Malaccamaxgit

WhatsApp MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TZNoContainer timezone — affects log timestamps and time-based features (e.g. catch_up 'today' window). Use IANA names: America/Toronto, Europe/Paris, Asia/Tokyo.UTC
DEBUGNoWhen set to 'true', emits verbose diagnostic output to stderr
STORE_PATHNoSession + message database directory/data/sessions
AUDIT_DB_PATHNoAudit log database path/data/audit/audit.db
PRESENCE_MODENoOnline presence: available or unavailableavailable
DISABLED_TOOLSNoComma-separated tool names to disable
ALLOWED_CONTACTSNoComma-separated phone whitelist (empty = allow all)
AUTH_WAIT_FOR_LINKNoDefault: after authenticate shows code/QR, wait and poll until linked (false = return immediately)false
AUTO_READ_RECEIPTSNoAuto-read incoming messages (senders see blue checkmarks immediately)true
RATE_LIMIT_PER_MINNoMax outbound messages per minute60
SEND_READ_RECEIPTSNoSend read receipts to WhatsApp when mark_messages_read is calledtrue
WELCOME_GROUP_NAMENoWhatsApp group created on first connection (empty = disable)WhatsAppMCP
DATA_ENCRYPTION_KEYNoPassphrase for AES-256-GCM field encryption. Store via docker mcp secret set or set in .env.
AUTH_LINK_TIMEOUT_SECNoDefault max seconds to wait for link when waiting (15–600)120
AUTH_POLL_INTERVAL_SECNoDefault seconds between connection checks when waiting (2–60)5
MESSAGE_RETENTION_DAYSNoAuto-delete messages/media older than N days (0 = keep forever)90
AUTO_CONNECT_ON_STARTUPNoWhen true, automatically reconnects to WhatsApp at container startup if valid session existstrue
DOWNLOAD_RATE_LIMIT_PER_MINNoMax media downloads per minute30

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Malaccamaxgit/whatsapp-mcp-docker'

If you have feedback or need assistance with the MCP directory API, please join our Discord server