wa-mcp-server
v0.2.1MCP server (stdio and Streamable HTTP) that gives AI assistants access to a wa-mcp WhatsApp bridge
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_contacts Search contacts
Find a contact by name, alias or phone fragment in the local directory. Use list_chats to browse by recent activity. Works offline and in demo. Blank queries and unmatched names give an empty list. Omit account for the default. Unknown accounts fail.
| Parameter | Type | Description |
|---|---|---|
query * | string | Case-insensitive name, alias or phone fragment, such as Rivera or 55501. A blank query yields no contacts. |
account | Account name from list_accounts, such as work. Omit to use the default account. An unknown account name fails. | |
limit | integer | Maximum matching contacts, up to 200. Zero or negative uses 20. |
list_chats List recent chats
Browse conversations in the local archive, most recently active first. Use search_contacts for a person or get_chat for one conversation. Works offline and in demo. An empty archive or unmatched filter gives an empty page. Omit account for the default. Unknown accounts fail.
| Parameter | Type | Description |
|---|---|---|
account | Account name from list_accounts, such as work. Omit to use the default account. An unknown account name fails. | |
limit | integer | Maximum results per page, up to 200. Zero or negative uses the default. |
offset | integer | Number of rows to skip, starting at 0. Pass the previous next_offset to continue. |
query | Filter by stored title or JID substring, such as Team or @g.us. Omit for all chats. |
get_chat Inspect one chat
Inspect one conversation and its newest stored messages. Use list_messages for a longer history. Works offline and in demo. An unknown name fails, an absent JID gives found=false, and a chat without messages has an empty preview. Omit account for the default. Unknown accounts fail.
| Parameter | Type | Description |
|---|---|---|
chat * | string | Chat JID from list_chats (15550100001@s.whatsapp.net or 120363000000001@g.us), international phone number or chat name. Unknown names fail. Ambiguous names return candidates. |
account | Account name from list_accounts, such as work. Omit to use the default account. An unknown account name fails. | |
recent | integer | Number of recent messages, up to 200. Zero or negative uses 5. |
list_messages Search stored messages
Search stored messages and derived text without sending read receipts. Use get_message_context around a known message. Works offline and in demo. An unknown chat name fails. Empty history or unmatched filters give an empty page. Omit account for the default. Unknown accounts fail.
| Parameter | Type | Description |
|---|---|---|
account | Account name from list_accounts, such as work. Omit to use the default account. An unknown account name fails. | |
after | Exclusive lower bound in Unix seconds as text, YYYY-MM-DD (local midnight) or ISO 8601, such as 2026-11-01T09:00:00Z. Omit for no lower bound. | |
before | Exclusive upper bound in Unix seconds as text, YYYY-MM-DD (local midnight) or ISO 8601, such as 2026-12-01T00:00:00Z. Omit for no upper bound. | |
chat | Restrict to one chat by JID (15550100001@s.whatsapp.net or 120363000000001@g.us), international number or name. Omit for all chats. Unknown names fail. Ambiguous names return candidates. | |
full_text | boolean | Return complete derived text. By default each transcript or extracted text is clipped at 2000 characters. |
include_deleted | boolean | Include stored messages marked deleted for everyone. By default these rows are hidden. |
kinds | Message kinds to include, such as ["voice","audio"]. Choices are text, image, video, ptv, audio, voice, document, sticker, location, contact, poll and unsupported. Omit for all. | |
limit | integer | Maximum results per page, up to 200. Zero or negative uses the default. |
offset | integer | Number of rows to skip, starting at 0. Pass the previous next_offset to continue. |
oldest_first | boolean | Return chronological order when true. The default starts with the newest message. |
query | Case-insensitive substring, such as invoice. Also searches stored derived text. Omit for all text. | |
sender | Author JID from a message's from_jid or international phone number, such as +15550100001. Omit for all senders. |
get_message_context Read messages around an ID
Read a stored message and the messages immediately before and after it. Use list_messages to find the anchor. Works offline and in demo without sending receipts. A missing chat or message fails. Either side of the exchange can be empty. Omit account for the default. Unknown accounts fail.
| Parameter | Type | Description |
|---|---|---|
chat * | string | Chat JID from list_chats (15550100001@s.whatsapp.net or 120363000000001@g.us), international phone number or chat name. Unknown names fail. Ambiguous names return candidates. |
message_id * | string | Opaque id from list_messages in this chat, such as ABC123. Copy it exactly. |
account | Account name from list_accounts, such as work. Omit to use the default account. An unknown account name fails. | |
after | integer | Number of later messages, clamped to 0 through 50. Use 0 for none. |
before | integer | Number of earlier messages, clamped to 0 through 50. Use 0 for none. |
download_media Download one attachment
Save the attachment from one message, reusing a verified local copy. Use download_chat_media for a batch. A missing message fails. New downloads need the bridge. Demo declines downloads. Omit account for the default. Unknown accounts fail.
| Parameter | Type | Description |
|---|---|---|
chat * | string | Chat JID from list_chats (15550100001@s.whatsapp.net or 120363000000001@g.us), international phone number or chat name. Unknown names fail. Ambiguous names return candidates. |
message_id * | string | Opaque id from list_messages in this chat, such as ABC123. Copy it exactly. |
account | Account name from list_accounts, such as work. Omit to use the default account. An unknown account name fails. |
send_message Send a WhatsApp text message
Send a text message through the linked account or queue it during quiet hours. Use send_file for attachments. Sending defaults off and follows the configured human approval policy. Demo, unknown recipients and an offline bridge block delivery. Multipart failures identify any parts already sent. Omit account for the default. Unknown accounts fail.
| Parameter | Type | Description |
|---|---|---|
text * | string | Nonblank message body, up to 12000 characters including mention tags. Example: Meeting moved to 10. |
to * | string | Recipient JID (15550100001@s.whatsapp.net), international number, configured alias or exact address-book name. For groups use the JID, such as 120363000000001@g.us. |
account | Account name from list_accounts, such as work. Omit to use the default account. An unknown account name fails. | |
confirm | boolean | Only for clients without elicitation when sending.allow_confirm_flag is enabled. Set true only after the user approves the exact recipient and content. Defaults to false. |
mentions | Group members to mention by JID or international phone number, such as ["+15550100001"]. Omit for no mentions. | |
reply_to | Message id to quote in the recipient chat, such as ABC123 from list_messages. Omit for a standalone message. |
send_file Send a file attachment
Upload an allowed local file to a WhatsApp recipient or queue it during quiet hours. Use send_message for text alone. Sending defaults off and follows the approval policy. Missing files, unknown recipients, demo or an offline bridge block delivery. Omit account for the default. Unknown accounts fail.
| Parameter | Type | Description |
|---|---|---|
path * | string | Server-local file in downloads_dir, exports_dir or sending.allowed_media_dirs, such as /exports/invoice.pdf. |
to * | string | Recipient JID (15550100001@s.whatsapp.net), international number, configured alias or exact address-book name. For groups use the JID, such as 120363000000001@g.us. |
account | Account name from list_accounts, such as work. Omit to use the default account. An unknown account name fails. | |
caption | Optional message caption, up to 4096 characters, such as November invoice. Omit to send the file alone. | |
confirm | boolean | Only for clients without elicitation when sending.allow_confirm_flag is enabled. Set true only after the user approves the exact recipient and content. Defaults to false. |
mentions | Group members to mention by JID or international phone number, such as ["+15550100001"]. Omit for no mentions. | |
reply_to | Message id to quote in the recipient chat, such as ABC123 from list_messages. Omit for a standalone message. |
transcribe_chat_audio Transcribe voice notes and audio
Transcribe a chat's stored voice notes and audio files. Use get_media_text to read a saved transcript. Missing files need the bridge. Force replaces transcripts, and remote backends may charge. Empty scans find nothing. Demo previews cached transcripts. Omit account for the default. Unknown accounts fail.
| Parameter | Type | Description |
|---|---|---|
chat * | string | Chat JID from list_chats (15550100001@s.whatsapp.net or 120363000000001@g.us), international phone number or chat name. Unknown names fail. Ambiguous names return candidates. |
account | Account name from list_accounts, such as work. Omit to use the default account. An unknown account name fails. | |
days | integer | Look back this many days, at least 1. Ignored when full_archive is true. |
force | boolean | Transcribe even if a transcript exists, replacing stored text and potentially repeating charges. |
full_archive | boolean | Scan all stored audio and voice messages in this chat instead of the recent day window. |
limit | integer | Maximum audio messages to transcribe this call, clamped to 1 through 200. |
time_budget_seconds | integer | Time budget in seconds, clamped to 1 through 600. Checked between operations. |
get_bridge_status Check bridge status
Check whether this account is linked and ready to send. Use list_accounts to check several accounts. An offline bridge is reported alongside local diagnostics. Demo reports an unlinked archive with sending disabled. Omit account for the default. Unknown accounts fail.
| Parameter | Type | Description |
|---|---|---|
account | Account name from list_accounts, such as work. Omit to use the default account. An unknown account name fails. |
get_my_day Get the daily WhatsApp briefing
Find what needs your attention on a given day across configured accounts. Use list_tasks for tracked work across dates. Omit account to merge all accounts. Unknown accounts fail. Works offline and in demo. Empty days show no priorities. Refresh can prune expired tasks. Optional summaries may contact a paid provider.
| Parameter | Type | Description |
|---|---|---|
account | Account name from list_accounts, such as work. Omit to merge all configured accounts, with account labels on multi-account results. Unknown account names fail. Accounts missing the chat or archive are… | |
chat | Restrict to one chat by JID (15550100001@s.whatsapp.net or 120363000000001@g.us), international number or name. Omit for all chats. Unknown names fail. Ambiguous names return candidates. | |
date | Local calendar date in YYYY-MM-DD form, such as 2026-11-23. Omit for today. | |
refresh | boolean | Refresh the local task tracker if stale before collecting the briefing. False uses stored task state. |
summary | boolean | Also request ai_summary from the configured AI provider using names, due hints and clipped context. Remote providers may charge. Default uses local rules. |