Repository navigation
Releases
Releases · zanellig/wacli-mcp
wacli-mcp 0.1.2
Fixed
- The release workflow publishes the npm package. For 0.1.1 it passed the package file to
npm publishin a form npm reads as a GitHub repository, so only the PyPI package went out. 0.1.2 is the first version on npm and the first MCP Registry entry that lists it.
wacli-mcp 0.1.1
The npm package and the MCP Registry entry for this version were not published, because of a bug in the release workflow. See 0.1.2, the first version on npm.
Added
- An npm package, so
npx -y wacli-mcpruns the server. It starts the PyPI release with the same version through uv. If uv is not onPATH, it downloads a pinned uv release from GitHub, checks its SHA-256, and caches it.WACLI_MCP_EXTRASpicks extras such astranscribe. - The MCP Registry entry lists the npm package next to the PyPI one.
wacli-mcp 0.1.0
First release. It is alpha software: it works with real accounts, and its interface can still change before 1.0. It needs wacli 0.26 or later and Python 3.11 or later.
wacli is not an official WhatsApp client, and WhatsApp can block an account linked to an unofficial app. Read the security section of the README for what this server does and does not protect against before you give an agent access to your messages.
Added
- Eight MCP tools over stdio:
whatsapp_status,list_chats,list_messages,search_messages,get_message_context,search_contacts,get_media, andsend_text. The server opens no network port. - Read tools run wacli with
--read-only, and their results label message content, attachments and transcripts as untrusted text written by other people. - A short
wacli sync --oncebefore reads, at most once a minute, so results are current. It can send delivery receipts but never read receipts. send_textsends to a chat JID or an international phone number and refuses contact names, which can match more than one chat.WACLI_MCP_SEND_CONFIRMATION:client(default) leaves the decision to the agent and its client, as with any tool.servermakes the server ask you itself through an MCP elicitation, and it sends only after an explicit yes.- Server confirmation prompt that shows the real recipient JID first and the full text with hidden characters made visible. One confirmation sends at most one message, even if the client resubmits it.
get_mediadownloads the attachments of up to 20 messages (photos, voice notes, videos, stickers and documents) and returns their local paths. It also returns JPEG and PNG photos up to 1 MB each, and 4 MB in total, inline, so the model sees them directly. Files are saved in a cache folder, named by message id with an extension that matches their type, and reused on later calls for the same chat, message and wacli account.- Local transcription with faster-whisper:
get_mediawithtranscribe: truereturns the text of voice notes, audio and video up to an hour long, andlist_messageswithtranscribe_audio: trueadds transcripts to the newest 20 voice notes it returns. Audio stays on your computer. Install thetranscribeextra, ortranscribe-cudafor an NVIDIA GPU on Windows. Without it, both tools still return files and transcripts saved earlier, and say how to enable transcription. - Long transcripts are shortened to keep a result under
WACLI_MCP_MAX_OUTPUT_CHARS, with a path to the full text. A repeated request waits for a transcription that is still running instead of starting a second one. - Agent sessions share one transcription service instead of each loading Whisper, so the model takes GPU memory once per machine. The first session that transcribes starts it in the background; it talks to sessions over a local, key-authenticated pipe or socket and exits after
WACLI_MCP_TRANSCRIBE_IDLE_MINUTESwithout work. A file several sessions ask for at once is transcribed once.WACLI_MCP_TRANSCRIBE_SHARED=falsekeeps transcription in each session. - Settings for the media folder, inline photo size, and the transcription model, device and language.
whatsapp_statusreports the media folder and whether transcription is available. WACLI_MCP_READ_ONLYhidessend_textand skips the pre-read sync, so no tool connects to WhatsApp or writes wacli's local copy.- Settings for the wacli path, account, store, link previews (off by default), sync timing, command timeouts, and output size. See the configuration table.
- Installation from PyPI with
uv tool install wacli-mcporuvx wacli-mcp, an MCP Registry entry namedio.github.zanellig/wacli-mcp, and plugins for Claude Code and Codex. - A security policy that lists what is in and out of scope for a report.