waxum-mcp
Provides tools for interacting with WhatsApp, including sending text messages and files, reading chat history, downloading media, listing groups and chats, and checking session status.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
waxum-mcp
MCP server for WhatsApp, backed by the waxum REST API gateway. Exposes send/read/media tools to any MCP client (Claude Desktop, Claude Code, etc.) over stdio.
Requires waxum >= 0.11.5 (needs GET /messages/chat/{chat_jid}).
Session pairing (QR / phone-number linking) is not part of this
server — pair the session directly against waxum first (its own
console or POST /sessions/{id}/pair), then point this server at
that already-paired session.
Tools
Tool | Does |
| Send a text message |
| Send a local file (image/video/audio/document/sticker), kind auto-detected from mimetype |
| Read a chat's recent history, or search it by keyword — includes sender push_name, media pointers, and reply/quote linkage |
| Download a message's media to local disk, returns the file path |
| List groups this session is in, with JIDs and members |
| List/search known contacts by name, phone, or push_name |
| Check connection/login status |
| Fetch waxum's live API docs (index, or a topic's full page) — look this up before guessing at a request shape or enum value |
Related MCP server: wappmcp
Configuration
Two ways to point this server at waxum, chosen by WAXUM_MODE (or
auto-detected: client if WAXUM_BASE_URL is set, else spawn).
Client mode — waxum already running elsewhere
WAXUM_MODE=client
WAXUM_BASE_URL=http://localhost:3451
WAXUM_TOKEN=<superadmin token or a session token>
WAXUM_SESSION_ID=<the session to operate on>
WAXUM_MEDIA_DIR=./media # optional, default ./mediaSpawn mode — this server manages the waxum process
WAXUM_MODE=spawn
WAXUM_BINARY_PATH=/path/to/waxum
WAXUM_WORKDIR=/path/to/waxum/data # optional, default: binary's directory
WAXUM_PORT=3451 # optional, default 3451
WAXUM_TOKEN=<superadmin token> # optional, a random one is generated if unset
WAXUM_SESSION_ID=<the session to operate on>
WAXUM_DATABASE_URL=sqlite:///data/waxum.db # optionalIn spawn mode the token becomes the spawned process's
SUPERADMIN_TOKEN env var — waxum's own bootstrap credential — so no
token needs to be minted ahead of time. The child process's stdout
and stderr are forwarded to this server's stderr (never stdout, which
is reserved for the MCP protocol channel).
Spawn mode uses SQLite by default at <WAXUM_WORKDIR>/waxum.db, keeping
the MCP server zero-config and restart-safe. Set WAXUM_DATABASE_URL to
an explicit sqlite:// path, PostgreSQL URL, or MySQL URL when needed.
Development
npm install
npm run dev # run directly with tsx
npm run build # compile to dist/
npm start # run the compiled buildTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Your own WhatsApp as an MCP server: read, search and send from any MCP client.
Drive WhatsApp from any MCP client: pair devices, send text and media, manage contacts and groups.
WhatsApp MCP on your own number: read chats, search contacts, send messages.
Free WhatsApp MCP server for ChatGPT and Claude: read and search chats, every send you approve.
Related MCP Servers
- AlicenseBqualityCmaintenanceAn 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.4285MIT
- AlicenseNot gradedqualityDmaintenanceA WhatsApp Web MCP server that enables reading chats, contacts, and messages, as well as sending, replying, reacting, and managing WhatsApp messages via stdio.47 npm3MIT
- AlicenseNot gradedqualityDmaintenanceA least-privilege, send-only MCP server for WhatsApp, backed by Meta's official WhatsApp Cloud API. It exposes tools to send text messages and pre-approved templates.12 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server that turns WhatsApp into agent-callable tools, enabling search contacts, send/receive messages, read chats, handle media, and monitor calls via the WhatsApp Web multi-device protocol.9 npmMIT