Skip to main content
Glama
potocibi

whatsapp-mcp

by potocibi

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WA_CHROMENoChrome executable. Overrides the default Chrome found for your platform.
WA_SESSIONNoSet to 1 to enable the live layer. Omit to never launch a browser.
WA_HEADLESSNoSet 0 to watch the browser work1
WA_SEND_ARGSNoJSON array of arguments; {to} and {text} are substituted[]
WA_ARCHIVE_DBYesPath to the SQLite archive
WA_SEND_STATENoQuota, duplicate history and audit trail<db>.send-state.json
WA_SEND_WINDOWNoLocal hours when sending is allowed, e.g. 09:00-21:00 (may wrap midnight)
WA_SESSION_DIRNoLogin profile directory; the QR lands here on first run<db dir>/.wa-session
WA_SEND_COMMANDNoExternal command that performs a send. This or WA_SEND_VIA_SESSION enables the send tools.
WA_ARCHIVE_TABLENoTable holding the messagesmessages
WA_SEND_BLOCKLISTNoFile of numbers (one per line, # comments) never to message
WA_SEND_DUP_HOURSNoWindow in which the same text to the same person is refused24
WA_DEFAULT_COUNTRYNoDigits prepended to bare local numbers, e.g. 65
WA_LINK_TIMEOUT_SECNoTimeout in seconds for linking a device. Give it room to recover from intermittent WhatsApp errors.
WA_SEND_MAX_PER_DAYNoCap per local day. Unset means no cap; 30 is the recommended value
WA_SEND_MIN_GAP_SECNoMinimum seconds between two sends5
WA_SEND_PAUSED_FILENoKill switch: while this file exists, every send is refused
WA_SEND_VIA_SESSIONNoSet to 1 to send natively through the live session (needs WA_SESSION=1)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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