Skip to main content
Glama
WhatsApp MCP Server

WhatsApp MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WHATSAPP_MCP_DB_PATHNoPath to the WhatsApp SQLite database.~/Library/Group Containers/group.net.whatsapp.WhatsApp.shared/ChatStorage.sqlite
WHATSAPP_MCP_LOG_LEVELNoLogging level. Valid values are DEBUG, INFO, WARNING, or ERROR.INFO
WHATSAPP_MCP_SEND_MODENoMessage dispatch mode. Valid values are auto or draft.auto
WHATSAPP_MCP_MEDIA_PATHNoPath to the WhatsApp media directory.~/Library/Group Containers/group.net.whatsapp.WhatsApp.shared/Message/Media
WHATSAPP_MCP_REQUIRE_BIOMETRICNoRequire Touch ID / Windows Hello for write actions.true
WHATSAPP_MCP_ENABLE_WRITE_TOOLSNoEnable write tools such as send_message and draft_message.true

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

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_connection_statusA

Check whether WhatsApp.app is installed, if the ChatStorage.sqlite database is accessible, and whether macOS Full Disk Access is granted (with setup instructions if needed). Returns summary statistics including chat count, message count, media count, and latest message date.

list_chatsA

List recent 1:1 and group chat sessions from WhatsApp's local storage. Includes contact name, JID, unread count, last message date, last message text preview, archived status, and pinned status.

get_chatA

Retrieve detailed metadata for a WhatsApp chat session by JID, phone number, or contact name. Includes unread count, message count, group membership roster (for group chats), and media breakdowns.

list_messagesA

List messages from WhatsApp's local storage with rich filtering. Filter by chat, date range (ISO 8601), sender ('me' vs 'other'), media type, or text search. Returns message ID, stanza ID, text, timestamps, sender info, read status, and media details.

search_messagesB

Search message history for specific keywords or phrases. Returns matching messages with full conversation context and timestamps.

get_message_contextA

Retrieve the conversational context around a specific message. Returns the target message along with preceding and succeeding messages in chronological order.

search_contactsA

Search contacts across WhatsApp chat sessions and contact records. Returns matched contact names, phone numbers, JIDs, and last interaction timestamps.

list_mediaA

List media attachments (images, PDFs, documents, audio clips, videos) from WhatsApp storage. Verifies whether the media files exist locally on disk and returns sizes, captions, and MIME types.

get_media_pathB

Resolve the absolute filesystem path for a media attachment by media ID or message ID. Checks disk existence, file size, and MIME type.

send_messageA

Send a WhatsApp message to a phone number or JID. Requires explicit user confirmation (confirm=true) and native OS biometric verification (Touch ID / Windows Hello). Dispatches message using the native desktop WhatsApp application.

draft_messageA

Open WhatsApp with the recipient focused and message body pre-filled without pressing Enter. Allows the user to review, edit, or manually send the message in the app. Requires explicit user confirmation (confirm=true) and native biometric verification.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 11 tools

Disambiguation4/5

Most tools target clearly distinct resources: chats, messages, contacts, media, plus two write actions (send vs draft) that are well differentiated by their confirmation semantics. The main overlap is search_messages versus list_messages, which already advertises a text search filter, so an agent could plausibly pick either for the same query.

Naming Consistency5/5

Every tool follows a consistent snake_case verb_noun pattern (list_chats, get_chat, search_messages, get_media_path, send_message, draft_message), making intent predictable from the name alone.

Tool Count5/5

Eleven tools sit squarely in the ideal 3-15 range and each covers a distinct step of the read/search/send workflow. Nothing feels padded or missing at the count level.

Completeness4/5

The surface covers connection diagnostics, chat/message/contact/media discovery, context retrieval, and message dispatch, which is close to full lifecycle for a local WhatsApp reader. Minor gaps remain: no media content download or send-attachment capability, no reply/quote targeting, and no way to mark chats read.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues