mcp-z-api
local MCP servermcp-z-api is a local MCP server: MCP server for Z-API — WhatsApp messaging, contacts, media. Install it from npm as @codespar/mcp-z-api.
Installation
Terminal
claude mcp add mcp-z-api -e ZAPI_TOKEN=... -- npx -y @codespar/mcp-z-api
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"mcp-z-api": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-z-api"
],
"env": {
"ZAPI_TOKEN": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Node.js 18+ (runs with npx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
ZAPI_TOKEN
Summary
MCP server for Z-API — WhatsApp messaging, contacts, media
mcp-z-api vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| mcp-z-api | 271 | Local | Yes | npm |
| mcp-evolution-api | 271 | Local | Yes | npm |
| mcp-take-blip | 271 | Local | Yes | npm |
| mcp-whatsapp-cloud | 271 | Local | Yes | npm |
| mcp-zenvia | 271 | Local | Yes | npm |
Questions
It reads one environment variable: ZAPI_TOKEN. Set them in your MCP config before starting the server.
Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
mcp-z-api is a local MCP server distributed as the npm package @codespar/mcp-z-api.
Run: claude mcp add mcp-z-api -e ZAPI_TOKEN=... -- npx -y @codespar/mcp-z-api
Run: codex mcp add mcp-z-api --env ZAPI_TOKEN=... -- npx -y @codespar/mcp-z-api
Similar MCP servers
NameStars
- mcp-evolution-apiio.github.codespar/mcp-evolution-api271
- mcp-take-blipio.github.codespar/mcp-take-blip271
- mcp-whatsapp-cloudio.github.codespar/mcp-whatsapp-cloud271
- mcp-zenviaio.github.codespar/mcp-zenvia271
- mcpcom.infobip/mcp35
- WhatsApp Web MCP Serverio.github.mario-andreschak/mcp-whatsapp-web26
- DBHubio.github.bytebase/dbhub3,574
- Anki MCP Serverai.ankimcp/anki-mcp-server497