Hosted WhatsApp MCP server for AI agents — read, search, send messages, media, polls, and groups.
Maintained by@uriva(verified)Also a maintainer?
Call this server's tools from your browser. Nothing to install.
Bearer token for your Supergreen WhatsApp line (7-day free trial at https://supergreen.cc/mcp)
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Add a user to a WhatsApp group where you are an admin.
User ID to add (e.g., '[email protected]')
Group ID (e.g., '[email protected]')
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http whatsapp https://api.supergreen.cc/mcp \ --header 'Authorization: Bearer YOUR_TOKEN'
Headers
Authorization (required): Bearer token for your Supergreen WhatsApp line (7-day free trial at https://supergreen.cc/mcp)Add a user to a WhatsApp group where you are an admin.
| Argument | Type | Description |
|---|---|---|
| userId* | string | User ID to add (e.g., '[email protected]') |
| groupId* | string | Group ID (e.g., '[email protected]') |
{
"type": "object",
"required": [
"groupId",
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID to add (e.g., '[email protected]')"
},
"groupId": {
"type": "string",
"description": "Group ID (e.g., '[email protected]')"
}
}
}Approve one or more pending join requests for a WhatsApp group.
| Argument | Type | Description |
|---|---|---|
| groupId* | string | Group ID where requests should be approved |
| requesterIds | any | Array of requester IDs to approve, or null to approve all |
{
"type": "object",
"required": [
"groupId"
],
"properties": {
"groupId": {
"type": "string",
"description": "Group ID where requests should be approved"
},
"requesterIds": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"description": "Array of requester IDs to approve, or null to approve all"
}
}
}Check whether a phone number has an active WhatsApp account and retrieve its JID.
| Argument | Type | Description |
|---|---|---|
| targetNumber* | string | Phone number to check in international format (e.g., '972501234567' or '+972501234567') |
{
"type": "object",
"required": [
"targetNumber"
],
"properties": {
"targetNumber": {
"type": "string",
"description": "Phone number to check in international format (e.g., '972501234567' or '+972501234567')"
}
}
}Resolve a WhatsApp Linked ID (e.g. '12345@lid') to a phone number.
| Argument | Type | Description |
|---|---|---|
| lid* | string | LID to resolve (e.g., '119846817792023@lid') |
{
"type": "object",
"required": [
"lid"
],
"properties": {
"lid": {
"type": "string",
"description": "LID to resolve (e.g., '119846817792023@lid')"
}
}
}Delete a previously sent WhatsApp message.
| Argument | Type | Description |
|---|---|---|
| chatId* | string | Chat ID (e.g. [email protected] for 1:1 or [email protected] for group) |
| messageId* | string | ID of the message to delete |
{
"type": "object",
"required": [
"chatId",
"messageId"
],
"properties": {
"chatId": {
"type": "string",
"description": "Chat ID (e.g. [email protected] for 1:1 or [email protected] for group)"
},
"messageId": {
"type": "string",
"description": "ID of the message to delete"
}
}
}Edit the text of a previously sent WhatsApp message.
| Argument | Type | Description |
|---|---|---|
| newText* | string | The new text for the message |
| messageId* | string | ID of the message to edit (returned from sendMessage) |
{
"type": "object",
"required": [
"messageId",
"newText"
],
"properties": {
"newText": {
"type": "string",
"description": "The new text for the message"
},
"messageId": {
"type": "string",
"description": "ID of the message to edit (returned from sendMessage)"
}
}
}Check whether the connected WhatsApp line is online, its phone number, display name, and recent connection health.
No arguments.
{
"type": "object",
"properties": {}
}Inspect metadata and participants of a WhatsApp group from its invite link.
| Argument | Type | Description |
|---|---|---|
| groupLink* | string | WhatsApp group invite link (e.g., 'https://chat.whatsapp.com/AbCdEfGhIjK') |
{
"type": "object",
"required": [
"groupLink"
],
"properties": {
"groupLink": {
"type": "string",
"description": "WhatsApp group invite link (e.g., 'https://chat.whatsapp.com/AbCdEfGhIjK')"
}
}
}List members of a WhatsApp group and their admin status.
| Argument | Type | Description |
|---|---|---|
| groupId* | string | Group ID (e.g., '[email protected]') |
{
"type": "object",
"required": [
"groupId"
],
"properties": {
"groupId": {
"type": "string",
"description": "Group ID (e.g., '[email protected]')"
}
}
}List all WhatsApp groups the line participates in, along with admin status for each group.
| Argument | Type | Description |
|---|---|---|
| useCache | boolean | Whether to use cached group metadata (defaults to true). Set to false for a fresh fetch. |
{
"type": "object",
"properties": {
"useCache": {
"type": "boolean",
"description": "Whether to use cached group metadata (defaults to true). Set to false for a fresh fetch."
}
}
}List pending membership join requests for a WhatsApp group where you are an admin.
| Argument | Type | Description |
|---|---|---|
| groupId* | string | Group ID to check for join requests |
{
"type": "object",
"required": [
"groupId"
],
"properties": {
"groupId": {
"type": "string",
"description": "Group ID to check for join requests"
}
}
}Read recent messages from a specific WhatsApp chat or group (supports pagination via message ID cursor and fromMe filter).
| Argument | Type | Description |
|---|---|---|
| id | string | Message ID cursor for pagination |
| count | integer | Number of messages to return (default: 20, max: 200) |
| chatId* | string | Chat ID to fetch messages from (e.g., '[email protected]', '[email protected]', or bare phone number) |
| fromMe | boolean | Filter by whether messages were sent by you |
| threadId | string | Optional reconstructed group thread ID to filter messages to that thread |
| direction | string | Fetch messages 'before' or 'after' the given message ID (default: 'before') |
{
"type": "object",
"required": [
"chatId"
],
"properties": {
"id": {
"type": "string",
"description": "Message ID cursor for pagination"
},
"count": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Number of messages to return (default: 20, max: 200)"
},
"chatId": {
"type": "string",
"description": "Chat ID to fetch messages from (e.g., '[email protected]', '[email protected]', or bare phone number)"
},
"fromMe": {
"type": "boolean",
"description": "Filter by whether messages were sent by you"
},
"threadId": {
"type": "string",
"description": "Optional reconstructed group thread ID to filter messages to that thread"
},
"direction": {
"enum": [
"before",
"after"
],
"type": "string",
"description": "Fetch messages 'before' or 'after' the given message ID (default: 'before')"
}
}
}List recent WhatsApp chats (1:1 and groups) ordered by most recent activity from the 7-day sync buffer, with names and last message preview.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of recent chats to return (default: 20, max: 100) |
| query | string | Optional case-insensitive filter matched against chat name, phone number, or last message text |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Maximum number of recent chats to return (default: 20, max: 100)"
},
"query": {
"type": "string",
"description": "Optional case-insensitive filter matched against chat name, phone number, or last message text"
}
}
}Reject one or more pending join requests for a WhatsApp group.
| Argument | Type | Description |
|---|---|---|
| groupId* | string | Group ID where requests should be rejected |
| requesterIds* | array | Array of requester IDs to reject |
{
"type": "object",
"required": [
"groupId",
"requesterIds"
],
"properties": {
"groupId": {
"type": "string",
"description": "Group ID where requests should be rejected"
},
"requesterIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of requester IDs to reject"
}
}
}Remove a user from a WhatsApp group where you are an admin.
| Argument | Type | Description |
|---|---|---|
| userId* | string | User ID to remove (e.g., '[email protected]') |
| groupId* | string | Group ID (e.g., '[email protected]') |
{
"type": "object",
"required": [
"groupId",
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID to remove (e.g., '[email protected]')"
},
"groupId": {
"type": "string",
"description": "Group ID (e.g., '[email protected]')"
}
}
}Search WhatsApp contacts and groups by name, pushname, or phone number to find their chat ID.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of matching contacts/groups to return (default: 20, max: 50) |
| query* | string | Name, pushname, or phone number substring to search for |
{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Maximum number of matching contacts/groups to return (default: 20, max: 50)"
},
"query": {
"type": "string",
"minLength": 1,
"description": "Name, pushname, or phone number substring to search for"
}
}
}Search recent WhatsApp messages containing a text query in the 7-day sync buffer, optionally scoped to one chat.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of matching messages to return (default: 20, max: 100) |
| query* | string | Case-insensitive text substring to search for in recent messages |
| chatId | string | Optional chat ID to restrict search to a single conversation or group |
{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Maximum number of matching messages to return (default: 20, max: 100)"
},
"query": {
"type": "string",
"minLength": 1,
"description": "Case-insensitive text substring to search for in recent messages"
},
"chatId": {
"type": "string",
"description": "Optional chat ID to restrict search to a single conversation or group"
}
}
}Send an image, video, document, or audio file (via public URL or base64) with an optional caption to a WhatsApp chat or group.
| Argument | Type | Description |
|---|---|---|
| url | string | Public HTTP/HTTPS URL of the media file to send |
| type* | string | Media type: 'image', 'video', 'document', or 'audio' |
| base64 | string | Base64 encoded media data (with or without data URL prefix) |
| caption | string | Optional caption text for the media |
| filename | string | Filename for the media. Auto-generated from MIME type if not provided |
| mimeType | string | Media MIME type (e.g., 'image/jpeg', 'video/mp4', 'application/pdf'). Auto-detected from data URL if not provided |
| toNumber* | string | Recipient's WhatsApp ID |
{
"type": "object",
"required": [
"toNumber",
"type"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public HTTP/HTTPS URL of the media file to send"
},
"type": {
"enum": [
"image",
"video",
"document",
"audio"
],
"type": "string",
"description": "Media type: 'image', 'video', 'document', or 'audio'"
},
"base64": {
"type": "string",
"description": "Base64 encoded media data (with or without data URL prefix)"
},
"caption": {
"type": "string",
"description": "Optional caption text for the media"
},
"filename": {
"type": "string",
"description": "Filename for the media. Auto-generated from MIME type if not provided"
},
"mimeType": {
"type": "string",
"description": "Media MIME type (e.g., 'image/jpeg', 'video/mp4', 'application/pdf'). Auto-detected from data URL if not provided"
},
"toNumber": {
"type": "string",
"description": "Recipient's WhatsApp ID"
}
}
}Send a text message to a WhatsApp contact or group. Always confirm recipient and content with the user first.
| Argument | Type | Description |
|---|---|---|
| message* | string | The text message to send |
| toNumber* | string | Recipient's WhatsApp ID (e.g., '[email protected]' for individuals or '[email protected]' for groups) |
| linkPreview | boolean | Whether to show link previews for URLs in the message (default: false) |
| quotedMessageId | string | ID of a message to quote/reply to |
{
"type": "object",
"required": [
"toNumber",
"message"
],
"properties": {
"message": {
"type": "string",
"description": "The text message to send"
},
"toNumber": {
"type": "string",
"description": "Recipient's WhatsApp ID (e.g., '[email protected]' for individuals or '[email protected]' for groups)"
},
"linkPreview": {
"type": "boolean",
"description": "Whether to show link previews for URLs in the message (default: false)"
},
"quotedMessageId": {
"type": "string",
"description": "ID of a message to quote/reply to"
}
}
}Create and send a poll to a WhatsApp group.
| Argument | Type | Description |
|---|---|---|
| name* | string | The poll question/title |
| choices* | array | Array of poll options (minimum 2) |
| toNumber* | string | Group ID to send the poll to (e.g., '[email protected]') |
| selectableCount | number | How many options a voter may select (default: 1) |
{
"type": "object",
"required": [
"toNumber",
"name",
"choices"
],
"properties": {
"name": {
"type": "string",
"description": "The poll question/title"
},
"choices": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of poll options (minimum 2)"
},
"toNumber": {
"type": "string",
"description": "Group ID to send the poll to (e.g., '[email protected]')"
},
"selectableCount": {
"type": "number",
"description": "How many options a voter may select (default: 1)"
}
}
}Send an emoji reaction to a WhatsApp message.
| Argument | Type | Description |
|---|---|---|
| reaction* | string | Reaction emoji to send |
| messageId* | string | ID of the message to react to |
{
"type": "object",
"required": [
"messageId",
"reaction"
],
"properties": {
"reaction": {
"type": "string",
"description": "Reaction emoji to send"
},
"messageId": {
"type": "string",
"description": "ID of the message to react to"
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 27, 2026.