# wazap [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/razvangirgiz/wazap  
**GitHub Stars:** 2  
**npm Downloads (last month):** 4040  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/wazap

## Description
WhatsApp for your agent: chats, messages, media, contacts and groups behind MCP tools.

## Tools
Capabilities this server exposes over MCP:

- **learn** — The guide to every tool, id format and error code, as text. Call it first.
- **get_status** — Connection status, sync state, linked account, how fresh the history is, webhook delivery, versions, data dir. Top-level fields are the default account; `accounts` lists every configured one and `default` names it. Optional `account_id` on this and every other tool.
- **link_account** — Pair an account that already exists (`wazap account add`). Returns the code to type into the phone. Registered in read-only mode too.
- **list_chats** — Conversations newest-first; filter `all`/`unread`/`groups`/`individual`/`archived`.
- **read_messages** — Messages in a chat; `before` pages further back, pulling older history from the phone; `types` narrows to one or more message types, e.g. `["call"]`; `include_previews` attaches a small image of each photo. `chat_id: "status"` reads the stories of the last `hours`, which show nowhere else.
- **catch_up** — What the user missed, in one call and within a token budget, across every linked account: who is waiting on a reply, mentions, replies and open polls, missed calls, people, groups condensed, stories. Pages with a cursor. See [Catching up](#catching-up).
- **search** — Messages by meaning and by words at once, over everything the account keeps, so a paraphrase or another language still hits; `match: "words"` keeps only messages holding the words. `chat_id`, `since`, `until` and `from` narrow it, and the answer says how much it searched. Without `chat_id`, someone…
- **get_message** — One message in full, with its quoted message, each reaction with who left it, and who voted for each option of a poll or answered an event. On your own messages, `delivery` says whether it was sent, delivered, read or played, and in a group who read it and when.
- **find_contact** — Who a name, nickname, relationship ("mama"), group name, number or id means. Resolved: the `chat_id`, number, note, tags and details, plus the recent exchange and how you write there in a session that can send. Otherwise the candidates that tell people apart, to ask you. `tag` lists everyone filed…
- **get_group_info** — Participants, admins, announcement mode, who may edit the info or add members, join approval, disappearing messages, community, invite link (when you are admin).
- **get_media** — A message's media: a voice note or audio as its transcript, a photo attached as an image, any file saved to disk (`save_to` picks the directory). Transcription runs on the local or the API provider; with `save_to` a recording comes as its file, with a transcript only if one was already made, and wh…
- **wait_for_messages** — Block up to 55 s until a message arrives, then return it with a cursor for the next call. `addressed_to_me` wakes only for direct messages, @-mentions and replies.
- **remember** — Keep what the user says about a person, on this machine only: a note, tags, details (`relatie`, `nickname`, "role": "contabil") that `find_contact` matches, and `handled: true` to take an ask off `catch_up`'s waiting list until they write again. `#private` keeps their words out of what the assistan…
- **send_message** — Draft a message: text (a reply, @-mentions), media from a path or URL (`as`: document, voice note or GIF), a poll (`options`), a location (`latitude`, `longitude`) or a forward (`forward`). Does not send. A text draft to someone you write to often carries `style_check`: where it does not read like…
- **confirm_send** — Send a draft after the user has seen the preview and said yes. A draft is sent at most once; see [Sending once](#sending-once).
- **edit_message** — Edit your own message, within WhatsApp's 15-minute window.
- **react_to_message** — Add or remove an emoji reaction.
- **delete_message** — for_everyone: true` retracts your own message, within WhatsApp's 2-day window, and in a group where you are admin someone else's message too. `for_everyone: false` deletes any message for the linked account only, at any age.
- **manage_chat** — Archive, pin, mute (8h by default), mark read/unread; pin a message for everyone (24h, 7 days or 30 days) or star it; clear or delete the chat for the linked account; block or unblock a person.
- **manage_group** — Create a group; join one from an invite link or message (without `confirm: true` it only shows the group); add, remove, promote, demote, leave, rename, set or remove the group photo, invite links, list, approve or reject join requests, and change the settings. Every member sees a change at once.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "wazap": {
    "command": "npx",
    "args": ["-y","wazap-mcp"]
  }
}
```

## Documentation

## What wazap MCP server does

wazap connects an MCP client to one or more personal WhatsApp accounts using the same linked-device model as WhatsApp Web. It provides access to conversations, messages, media, contacts, groups, stories, reactions, polls, delivery information, and read receipts.

The server is designed for agent workflows such as inbox triage, message recall, group summaries, contact lookup, and assisted replies. It can search messages by words and meaning, retrieve older history from the phone, and return voice notes as transcripts when transcription is available. Local notes, tags, and contact details can also be stored on the machine for later matching.

## How it works

Run wazap where the WhatsApp data should remain. The server links an account through a QR code or an eight-character phone-number pairing code, then exposes MCP tools to the connected client. Multiple accounts can be configured, with an optional account identifier available across the tools.

Read operations cover chat listings, message history, catch-up summaries, message search, contact resolution, group details, media retrieval, and long-polling for new messages. The `catch_up` tool combines missed replies, mentions, replies, polls, calls, people, groups, and stories within a token budget. `wait_for_messages` can block for up to 55 seconds and returns a cursor for continuing from the next message.

Write operations use safeguards for actions that change WhatsApp. `send_message` creates a draft for text, media, polls, locations, or forwards; `confirm_send` sends it only after the preview is approved. Chat and group management actions provide previews where applicable. Scheduled messages and local reminders persist across restarts, while reminders post to a configured webhook when due.

## Setup and configuration

The supported runtime is Node.js 22.16 or later on the 22 line, or Node.js 24 or later. The usual setup command is:

```bash
npx wazap-mcp setup
```

Setup links the account, detects supported clients installed on the machine, writes their MCP configuration, installs the available skills, and indicates which clients need restarting. Account linking can also be started directly with `npx wazap-mcp login`, or with `--phone` for headless and SSH environments.

For a generic MCP client using stdio, configure the command as:

```json
{
  "mcpServers": {
    "whatsapp": { "command": "npx", "args": ["-y", "wazap-mcp"] }
  }
}
```

Voice transcription with whisper.cpp and semantic recall are optional local features. They can be enabled with `wazap config transcribe local` and `wazap config recall local`.

## Tools and capabilities

The toolset includes:

- `learn` for tool descriptions, identifiers, workflows, and error codes.
- `get_status`, `link_account`, and `list_contacts` for connection, account, and address-book information.
- `list_chats`, `read_messages`, `catch_up`, `search`, `get_message`, and `wait_for_messages` for inbox access and message retrieval.
- `find_contact`, `get_group_info`, and `get_media` for resolving people, inspecting groups, and opening attachments.
- `remember` for machine-local notes, tags, and contact details.
- `send_message` and `confirm_send` for reviewed messages, media, polls, locations, forwards, and scheduled sends.
- `edit_message`, `react_to_message`, `delete_message`, and `manage_chat` for message and chat changes.
- `manage_group` for group creation, membership, settings, invite links, and join requests.
- `scheduled_messages` and `reminder` for scheduled sends and local follow-up reminders.

## Limitations and notes

Sending is not immediate: message drafts require confirmation, and scheduled messages that miss their sending window are reported as missed rather than sent late. WhatsApp's own time limits apply to editing messages and deleting them for everyone. Media handling depends on the copy retained on arrival, and transcription may use local whisper.cpp or an API provider depending on configuration. The server has no hosted wazap cloud service; it runs in the environment where it is installed.

_Full upstream README: https://allmcps.com/mcp/wazap/readme_

