whatsapp-mcp-server
If you are the rightful owner of whatsapp-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
WhatsApp MCP Server is a Python implementation that enables language models like Claude to interact with WhatsApp functionality through GreenAPI.
WhatsApp MCP Server provides a Model Context Protocol (MCP) interface to interact with WhatsApp Business API using FastMCP. It is designed to facilitate communication between language models and WhatsApp by leveraging the GreenAPI service. The server supports various functionalities such as messaging, group management, session handling, and chat history retrieval. It uses the `whatsapp-api-client-python` library to interact with the WhatsApp Cloud API, requiring a GreenAPI account for access. Configuration is managed through environment variables, and the server can be run on different hosts and ports. FastMCP is used to provide both WebSocket and HTTP endpoints, allowing for flexible integration with other systems.
Features
- Messaging: Send text messages to WhatsApp contacts.
- Group Management: Create groups, list members, add/remove participants.
- Session Handling: Manage WhatsApp API sessions.
- Chat History: Retrieve chat lists and message history.
Tools
open_session
Open a new WhatsApp session.
send_message
Send a message to a chat.
get_chats
Get a list of chats.
create_group
Create a new WhatsApp group.
get_group_participants
Get the participants of a group.