---
name: supergreen-whatsapp
description: Connect AI agents to a hosted WhatsApp line via Supergreen's Streamable HTTP MCP server or REST API to read, search, send messages, media, polls, and manage groups without self-hosting or Meta Business verification.
---

# Supergreen WhatsApp

Supergreen hosts your regular personal or business WhatsApp account in an isolated cloud container behind a dedicated sticky residential proxy ($10/month flat per line after a 7-day free trial; zero Meta Business verification or local Docker/Go bridge).

## Connect via Remote MCP (Streamable HTTP)

- **Endpoint (Bearer auth):** `https://api.supergreen.cc/mcp` with header `Authorization: Bearer <secretToken>`
- **Endpoint (URL token for custom connectors):** `https://api.supergreen.cc/mcp/<secretToken>`
- **Read-only mode:** Append `?readonly=1` to either URL to expose only read/search tools and block all write/send calls.
- **Discovery:** Unauthenticated `initialize` and `tools/list` work directly on `POST https://api.supergreen.cc/mcp`, and machine-readable metadata is published at `https://api.supergreen.cc/.well-known/mcp/server-card.json`.

### MCP JSON Configuration

```json
{
  "mcpServers": {
    "supergreen-whatsapp": {
      "type": "http",
      "url": "https://api.supergreen.cc/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_SECRET_TOKEN"
      }
    }
  }
}
```

## Available MCP Tools (21)

- **Read & Search (11):** `get_account_status`, `list_chats`, `search_contacts`, `search_messages`, `get_messages`, `get_groups`, `get_group_members`, `get_group_details`, `get_join_requests`, `check_whatsapp_number`, `convert_lid_to_number`
- **Write & Group Management (10):** `send_message`, `send_media`, `send_poll`, `send_reaction`, `edit_message`, `delete_message`, `add_group_member`, `remove_group_member`, `approve_join_requests`, `reject_join_requests`

## Agent Best Practices

1. Call `list_chats` or `search_contacts` first to resolve the exact chat JID (`<digits>@c.us` or `<id>@g.us`) before calling `get_messages` or `send_message`.
2. Message history and keyword search query the line's isolated 7-day sync buffer (Supergreen does not maintain a central message archive).
3. Confirm recipient and message text with the user before invoking write tools (`send_message`, `send_media`, `send_poll`, `edit_message`, `delete_message`, or group membership changes).

## Getting a Line Token & Full API Docs

- Start a 7-day free trial and copy your line's `secretToken` or ready-to-paste MCP URL at `https://supergreen.cc/mcp` and `https://supergreen.cc/app`.
- Full REST API, webhooks, and TypeScript SDK docs: `https://api.supergreen.cc/llms.txt` and `https://supergreen.cc/docs`.
