WhatsApp Connect
whatsapp_connectLink WhatsApp to Local MCP by showing a QR code right here in the chat — no Terminal needed. Call this, then on your phone open WhatsApp → Settings → Linked Devices → Link a Device, and scan the QR shown. After you scan, WhatsApp tools (whatsapp_list_chats, whatsapp_read_messages, …) start working. Local MCP can link more than one WhatsApp account: add_account: true (with an optional label) links ANOTHER account with its own QR, scanned from that account's phone; account re-links one listed by whatsapp_list_accounts. Without arguments it links the default account. If that account is already linked, it just reports that. Links like any WhatsApp Web device; WhatsApp may restrict accounts that misuse it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | With add_account: the name for the new account (default "WhatsApp 2", …). Unique on this Mac. | |
| account | No | Which linked WhatsApp account to use: its label or id from whatsapp_list_accounts. Leave it out to use the default account. | |
| confirm | No | Ignored; kept for older clients. | |
| add_account | No | Link an ADDITIONAL WhatsApp account (its own QR, scanned from that account's phone). The accounts already linked stay as they are. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||