Whatsapp MCP server
{
"mcpServers": {
"green-api-whatsapp": {
"type": "http",
"url": "https://mcp.green-api.com/mcp"
}
}
}{
"mcpServers": {
"green-api-whatsapp": {
"type": "http",
"url": "https://mcp.green-api.com/mcp"
}
}
}{
"mcpServers": {
"green-api-whatsapp": {
"type": "http",
"url": "https://mcp.green-api.com/mcp"
}
}
}{
"servers": {
"green-api-whatsapp": {
"type": "http",
"url": "https://mcp.green-api.com/mcp"
}
}
}{
"mcpServers": {
"green-api-whatsapp": {
"type": "http",
"url": "https://mcp.green-api.com/mcp"
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsonversion 0.1.2
What it does
An MCP gateway that connects AI agents to WhatsApp via the Green API service. It enables sending messages, managing groups and contacts, checking instance state, and receiving incoming notifications through various transport protocols (stdio, SSE, HTTP, or hybrid).
- Send text messages, files, locations, and contacts to WhatsApp users or groups from AI agents.
- Manage WhatsApp groups by creating them, adding or removing participants, and retrieving group information.
- Receive incoming WhatsApp messages and notifications via polling or HTTP webhook receivers.
Tools this server exposes
| Tool | Does |
|---|---|
| send_message | Send text messages, files by URL, locations, contacts, or polls via WhatsApp. |
| forward_message | Forward messages within WhatsApp. |
| edit_message | Edit previously sent messages. |
| create_group | Create a new WhatsApp group. |
| get_group_data | Retrieve information about a WhatsApp group. |
| add_group_participant | Add a participant to a WhatsApp group. |
| remove_group_participant | Remove a participant from a WhatsApp group. |
| check_phone_number | Check if a phone number is registered on WhatsApp. |
| fetch_contacts | Retrieve the list of contacts. |
| get_contact_info | Get information about a specific contact. |
| get_instance_state | Retrieve the current state of a WhatsApp instance. |
| get_instance_settings | Get settings for a WhatsApp instance. |
| get_qr_code | Retrieve the QR code for authorizing a WhatsApp instance. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.