waxum-mcp
MCP server for WhatsApp that exposes send, read, and media management tools through the waxum REST API gateway, enabling any MCP client to interact with WhatsApp chats and media over stdio.
README
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_message |
Send a text message |
send_file |
Send a local file (image/video/audio/document/sticker), kind auto-detected from mimetype |
get_messages |
Read a chat's recent history, or search it by keyword — includes sender push_name and media pointers |
download_media |
Download a message's media to local disk, returns the file path |
list_groups |
List groups this session is in, with JIDs and members |
list_chats |
List/search known contacts by name, phone, or push_name |
session_status |
Check connection/login status |
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 ./media
Spawn 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>
In 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).
Development
npm install
npm run dev # run directly with tsx
npm run build # compile to dist/
npm start # run the compiled build
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.