# Green API WhatsApp MCP server

MCP gateway for WhatsApp via Green API: messaging, contacts, groups and instance management.

## Facts

- Endpoint: https://mcp.green-api.com/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: not graded (servers behind sign-in can't be scanned)
- Tools: 41
- Category: Communication · source: registry
- Repository: https://github.com/green-api/green-api-mcp-gateway
- Last probed: 2026-09-03 · first listed: 2026-07-17
- Directory page: https://gateturbo.com/mcp/green-api-whatsapp · this document: https://gateturbo.com/mcp/green-api-whatsapp.md · JSON: https://gateturbo.com/api/directory/servers/green-api-whatsapp

## Tools (41)

- `whatsapp_add_group_participant`: Add a participant to a WhatsApp group
- `whatsapp_check_whatsapp`: Check whether a phone number has a WhatsApp account
- `whatsapp_connect`: Connect a WhatsApp instance. Call this before using other tools. Validates credentials via getStateInstance.
- `whatsapp_create_group`: Create a WhatsApp group
- `whatsapp_create_instance`: Create a new WhatsApp instance via the GREEN-API Partner API
- `whatsapp_delete_instance`: Delete a WhatsApp instance via the GREEN-API Partner API
- `whatsapp_delete_message`: Delete a message
- `whatsapp_delete_notification`: Delete a notification from the queue (acknowledge receipt)
- `whatsapp_disconnect`: Disconnect a WhatsApp instance and remove credentials from the session
- `whatsapp_edit_message`: Edit a previously sent message
- `whatsapp_forward_messages`: Forward messages to another chat
- `whatsapp_get_authorization_code`: Get an authorization code for sign-in by phone number
- `whatsapp_get_chat_history`: Get chat message history. Use a small 'count' (default 50, max 100) to keep responses focused.
- `whatsapp_get_contact_avatar`: Get the avatar of a contact or group
- `whatsapp_get_contact_info`: Get information about a contact or group
- `whatsapp_get_contacts`: Get the contact list
- `whatsapp_get_group_data`: Get group data (members, name, invite link)
- `whatsapp_get_instances`: List all partner instances via the GREEN-API Partner API
- `whatsapp_get_message`: Get a message by ID
- `whatsapp_get_qr`: Get the QR code for instance authorization. The result contains the QR as an image and a qrLink URL to an official GREEN-API page with a ful
- … 21 more after connecting

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect Green API WhatsApp to your gate (https://gateturbo.com/login?next=/discovery?connect=green-api-whatsapp).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/green-api-whatsapp/claude · Claude Desktop → https://gateturbo.com/mcp/green-api-whatsapp/claude-desktop · ChatGPT → https://gateturbo.com/mcp/green-api-whatsapp/chatgpt · Codex → https://gateturbo.com/mcp/green-api-whatsapp/codex · Cursor → https://gateturbo.com/mcp/green-api-whatsapp/cursor · Windsurf → https://gateturbo.com/mcp/green-api-whatsapp/windsurf · VS Code → https://gateturbo.com/mcp/green-api-whatsapp/vscode · Gemini CLI → https://gateturbo.com/mcp/green-api-whatsapp/gemini-cli · OpenClaw → https://gateturbo.com/mcp/green-api-whatsapp/openclaw · n8n → https://gateturbo.com/mcp/green-api-whatsapp/n8n · A script or server → https://gateturbo.com/mcp/green-api-whatsapp/script

### Direct: Claude Code

Add Green API WhatsApp to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http green-api-whatsapp https://mcp.green-api.com/mcp
```

### Direct: Cursor

Add Green API WhatsApp to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "green-api-whatsapp": {
      "url": "https://mcp.green-api.com/mcp"
    }
  }
}
```

### Direct: VS Code

Add Green API WhatsApp to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "green-api-whatsapp": {
      "type": "http",
      "url": "https://mcp.green-api.com/mcp"
    }
  }
}
```

### Direct: Codex

Add Green API WhatsApp to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.green_api_whatsapp]
url = "https://mcp.green-api.com/mcp"
```

### Direct: Claude

Add Green API WhatsApp as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "Green API WhatsApp" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://mcp.green-api.com/mcp
```

### Direct: ChatGPT

Add Green API WhatsApp as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "Green API WhatsApp" with the URL below.
3. Set authentication to none.

```
https://mcp.green-api.com/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
