# ZapZ WhatsApp API

> ZapZ WhatsApp API is an open-source MCP server for communication. MCP server that lets AI assistants send WhatsApp messages and manage ZapZ accounts. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, CLI, Self-hosted
- **Website:** https://zapz.dev
- **Repository:** https://github.com/zapz-api/zapz-sdk/tree/HEAD/mcp
- **MCP Registry name:** io.github.zapz-api/zapz-mcp
- **Categories:** [communication](https://ai-powered.com/categories/communication)
- **Listing updated:** 2026-11-27

## About

This server exposes the ZapZ WhatsApp API to MCP clients such as Claude, Cursor and ChatGPT. It offers 66 tools generated from the API's OpenAPI spec, covering instances, messages, contacts, groups and webhooks, each with a JSON Schema for its parameters.

Tools carry readOnlyHint and destructiveHint annotations, so clients can ask for confirmation before anything that changes or deletes data. Every send gets an automatically generated clientMessageId, so repeating a call does not deliver the same message twice. A read-only mode limits the server to read tools.

It runs locally over stdio via npx, or in HTTP mode (Streamable HTTP at POST /mcp) where each request carries its own Bearer key, letting one process serve several accounts. A Docker image and a hosted endpoint are also available. Keys starting with sk_test_ run against the sandbox. Keys restricted to allowed IPs need the local setup, since the hosted server uses its own IP.

## Features

- **66 generated tools:** Tools are generated from the ZapZ OpenAPI spec, such as instances_list, messages_send_text and groups_update_participants.
- **Confirmation annotations:** Read-only and destructive hints let MCP clients ask before modifying or deleting data.
- **Duplicate-safe sending:** A clientMessageId is generated for each send so retries do not send a message twice.
- **Read-only mode:** A flag or environment variable restricts the server to read tools only.
- **Stdio and HTTP transports:** Run locally over stdio or in stateless HTTP mode with per-request Bearer keys.
- **Sandbox support:** Using an sk_test_ key runs everything in the sandbox environment.

## Good for

- Let an AI assistant send WhatsApp messages through a ZapZ account
- Manage WhatsApp groups and participants from an MCP client
- Configure and inspect webhooks and instances through chat
- Test WhatsApp automation safely using sandbox keys
- Serve several ZapZ accounts from one hosted HTTP MCP process

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add zapz-mcp --env ZAPZ_API_KEY='<ZAPZ_API_KEY>' -- npx -y @zapz/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "zapz-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zapz/mcp"
      ],
      "env": {
        "ZAPZ_API_KEY": "<ZAPZ_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "zapz-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zapz/mcp"
      ],
      "env": {
        "ZAPZ_API_KEY": "<ZAPZ_API_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "zapz-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zapz/mcp"
      ],
      "env": {
        "ZAPZ_API_KEY": "<ZAPZ_API_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "zapz-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@zapz/mcp"
      ],
      "env": {
        "ZAPZ_API_KEY": "<ZAPZ_API_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add zapz-mcp --env ZAPZ_API_KEY='<ZAPZ_API_KEY>' -- npx -y @zapz/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.zapz-mcp]
command = "npx"
args = ["-y", "@zapz/mcp"]
env = { ZAPZ_API_KEY = "<ZAPZ_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "zapz-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zapz/mcp"
      ],
      "env": {
        "ZAPZ_API_KEY": "<ZAPZ_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e ZAPZ_API_KEY='<ZAPZ_API_KEY>' zapz-mcp npx -- -y @zapz/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "zapz-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zapz/mcp"
      ],
      "env": {
        "ZAPZ_API_KEY": "<ZAPZ_API_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "zapz-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zapz/mcp"
      ],
      "env": {
        "ZAPZ_API_KEY": "<ZAPZ_API_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "zapz-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zapz/mcp"
      ],
      "env": {
        "ZAPZ_API_KEY": "<ZAPZ_API_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "zapz-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zapz/mcp"
      ],
      "env": {
        "ZAPZ_API_KEY": "<ZAPZ_API_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "zapz-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zapz/mcp"
      ],
      "env": {
        "ZAPZ_API_KEY": "<ZAPZ_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "zapz-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zapz/mcp"
      ],
      "env": {
        "ZAPZ_API_KEY": "<ZAPZ_API_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "zapz-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zapz/mcp"
      ],
      "env": {
        "ZAPZ_API_KEY": "<ZAPZ_API_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "zapz-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@zapz/mcp"
      ],
      "env": {
        "ZAPZ_API_KEY": "<ZAPZ_API_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 3 tools change data. From the server's own tool labels and tool names; not verified by us.

- `instances_list` (name suggests: reads): Lists WhatsApp instances.
- `messages_send_text` (name suggests: changes): Sends a text message over WhatsApp.
- `groups_update_participants` (name suggests: changes): Updates participants of a WhatsApp group.

## FAQ

### How do I install ZapZ WhatsApp API in Claude Code?

Run: claude mcp add zapz -e ZAPZ_API_KEY=sk_live_... -- npx -y @zapz/mcp

### Can I restrict ZapZ WhatsApp API to read-only access?

Yes. Use the --read-only flag or set ZAPZ_MCP_READ_ONLY=true to expose only read tools.

### Is there a hosted endpoint?

Yes, at https://mcp.zapz.dev/mcp using a Bearer key. Keys restricted to allowed IPs will not work there; run it locally instead.

### How do I test without sending real messages?

Use an sk_test_ API key, which runs everything in the sandbox.

### Which license does ZapZ WhatsApp API use?

MIT.

### Is ZapZ WhatsApp API free?

Yes. ZapZ WhatsApp API is open source, so you can use and self-host it for free.

### How do I add ZapZ WhatsApp API to Claude Code?

Run this command in your terminal: claude mcp add zapz-mcp --env ZAPZ_API_KEY='<ZAPZ_API_KEY>' -- npx -y @zapz/mcp

### What are the best alternatives to ZapZ WhatsApp API?

The closest alternatives to ZapZ WhatsApp API are wazionapps, oZapOnline WhatsApp, ConverZAP — WhatsApp (official API), SuperSkope WhatsApp and WhatsApp MCP.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [wazionapps](https://ai-powered.com/mcp/wazionapps): wazionapps is an open-source MCP server for communication.
- [oZapOnline WhatsApp](https://ai-powered.com/mcp/ozaponline-whatsapp): oZapOnline WhatsApp is an MCP server for communication.
- [ConverZAP — WhatsApp (official API)](https://ai-powered.com/mcp/converzap-whatsapp-official-api): ConverZAP — WhatsApp (official API) is a freemium MCP server for communication.
- [SuperSkope WhatsApp](https://ai-powered.com/mcp/superskope-whatsapp): SuperSkope WhatsApp is a freemium MCP server for communication.
- [WhatsApp MCP](https://ai-powered.com/mcp/whatsapp-mcp-3): WhatsApp MCP is an MCP server for communication.
- [WhaTools — WhatsApp tools](https://ai-powered.com/mcp/whatools-whatsapp-tools): WhaTools — WhatsApp tools is a free MCP server for communication.
- [Whatsapp MCP](https://ai-powered.com/mcp/whatsapp-mcp): Whatsapp MCP is an open-source MCP server for communication.
- [pingwa](https://ai-powered.com/mcp/pingwa): pingwa is a freemium MCP server for communication.

---
Source: https://ai-powered.com/mcp/zapz-whatsapp-api
