WhatsApp MCP Server

by msaelices

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GREENAPI_API_TOKENYesYour GreenAPI API token
GREENAPI_ID_INSTANCEYesYour GreenAPI ID instance

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
open_session

Open a new WhatsApp session.

send_message
Send a message to a chat. Parameters: - phone_number: The phone number of the recipient - content: The content of the message to send - reply_to: ID of the message to reply to (optional)
get_chats
Get a list of chats. Parameters: - limit: Maximum number of chats to return (default: 50) - offset: Offset for pagination (default: 0)
create_group
Create a new WhatsApp group. Parameters: - group_name: Name of the group to create - participants: List of participant phone numbers
get_group_participants
Get the participants of a WhatsApp group. Parameters: - group_id: The WhatsApp ID of the group
ID: 3j2xxaoqly