WhatsApp Read Agent MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WHATSAPP_DATA_DIR | Yes | Absolute path to the data directory containing the WhatsApp archive. | |
| WHATSAPP_MEDIA_DIR | Yes | Absolute path to the media directory containing downloaded attachments. | |
| WHATSAPP_ATTACHMENT_ALLOWLIST | No | Optional comma-separated list of JIDs allowed for attachment access. Empty string allows all. |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_sync_statusA | Report the local archive status: whether a device is linked, when it last synced, and how many chats/messages are archived. Reads nothing from WhatsApp. |
| list_chatsA | List archived chats (1:1 and group), ordered deterministically by name. Optionally filter by a name substring. Paginate with the returned cursor. |
| find_chats_by_nameA | Find chats whose resolved name matches (case-insensitive substring). Use this to locate a named contact or group, e.g. before reading their full history. |
| get_historyA | Read a deterministic page of a chat's message history. direction "forward" reads oldest→newest; "backward" scrolls up (newest→oldest). Returned messages are always chronological; pass the cursor back to continue. Iterate until hasMore is false for complete readback. |
| get_messageA | Fetch a single archived message by chat JID and message id, with exact timestamp and content. |
| list_attachmentsA | List archived messages in a chat that carry an attachment (image/video/audio/document/sticker), with metadata and whether bytes are downloaded. Deterministic forward pagination. |
| get_attachmentA | Return an approved attachment's locally-archived bytes. Requires approved: true for the specific message (and passes the operator allowlist, if configured). Never fetches from WhatsApp — only surfaces bytes the collector already downloaded. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tarun101/whatsapp-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server