Skip to main content
Glama

WSAPI WhatsApp MCP Server

by wsapi-chat

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoServer port3000
NODE_ENVNoEnvironment (development, production, test)development
LOG_LEVELNoLogging level (error, warn, info, debug)info
WSAPI_API_KEYYesYour WSAPI API key
WSAPI_TIMEOUTNoRequest timeout in milliseconds30000
WSAPI_BASE_URLNoWSAPI base URLhttps://api.wsapi.chat
WSAPI_INSTANCE_IDYesYour WSAPI instance ID
WSAPI_RETRY_DELAYNoDelay between retries in milliseconds1000
WSAPI_RETRY_ATTEMPTSNoNumber of retry attempts3

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
whatsapp_send_text

Send a text message to a WhatsApp contact or group. Supports mentions and replies.

whatsapp_send_image

Send an image message to a WhatsApp contact or group. Can send from URL or base64.

whatsapp_send_video

Send a video message to a WhatsApp contact or group. Can send from URL or base64.

whatsapp_send_link

Send a link message with optional preview to a WhatsApp contact or group.

whatsapp_send_reaction

Send a reaction (emoji) to a specific message.

whatsapp_edit_message

Edit a previously sent text message.

whatsapp_delete_message

Delete a message for all participants in the chat.

whatsapp_mark_message_read

Mark a message as read.

whatsapp_star_message

Star or unstar a message.

whatsapp_send_audio

Send an audio file message to a WhatsApp contact or group. Can send from URL or base64.

whatsapp_send_voice

Send a voice message (PTT) to a WhatsApp contact or group. Can send from URL or base64.

whatsapp_send_document

Send a document file to a WhatsApp contact or group. Can send from URL or base64.

whatsapp_send_sticker

Send a sticker message to a WhatsApp contact or group. Can send from URL or base64.

whatsapp_send_location

Send a location message to a WhatsApp contact or group.

whatsapp_send_contact

Send a contact (vCard) message to a WhatsApp contact or group.

whatsapp_get_contacts

Get list of all WhatsApp contacts.

whatsapp_get_contact

Get information about a specific WhatsApp contact.

whatsapp_create_contact

Create a new WhatsApp contact.

whatsapp_update_contact

Update an existing WhatsApp contact.

whatsapp_get_contact_picture

Get the profile picture of a WhatsApp contact.

whatsapp_get_contact_business

Get the business profile information of a WhatsApp contact.

whatsapp_subscribe_contact_presence

Subscribe to presence updates for a specific contact.

whatsapp_get_groups

Get list of all WhatsApp groups.

whatsapp_create_group

Create a new WhatsApp group.

whatsapp_get_group

Get information about a specific group.

whatsapp_update_group_name

Update group name.

whatsapp_get_chats

Get list of all WhatsApp chats.

whatsapp_get_chat

Get information about a specific chat.

whatsapp_set_chat_presence

Set presence status in a chat (typing, recording, paused).

whatsapp_archive_chat

Archive or unarchive a chat.

whatsapp_pin_chat

Pin or unpin a chat.

whatsapp_get_session_status

Get current WhatsApp session status.

whatsapp_get_qr_code

Get QR code for WhatsApp login.

whatsapp_get_qr_code_image

Get QR code image for WhatsApp login.

whatsapp_get_pair_code

Get pairing code for WhatsApp login.

whatsapp_logout

Logout from WhatsApp.

whatsapp_get_instance_settings

Get current instance settings.

whatsapp_update_instance_settings

Update instance settings.

whatsapp_restart_instance

Restart the WhatsApp instance.

whatsapp_update_api_key

Generate a new API key for the instance.

whatsapp_get_account_info

Get current account information.

whatsapp_set_account_name

Update account display name.

whatsapp_set_account_picture

Update account profile picture.

whatsapp_set_account_presence

Set account presence status.

whatsapp_set_account_status

Update account status message.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wsapi-chat/wsapi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server