WhatsApp Business API: messages, media, templates, and delivery webhooks. Your agent sends receipts, confirmations, and support responses.
$ npm install @codespar/mcp-z-apiAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"z-api": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-z-api"
],
"env": {
"ZAPI_TOKEN": "<your_zapi_token>"
}
}
}
}After restart, your agent can call any of the 27 tools below โ try send_text first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
ZAPI_TOKENAPI key for z-api
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
send_textsend_imagesend_documentsend_audioget_contactscheck_numberget_profile_pictureget_messagesMCP is a protocol โ any framework that speaks it can mount this server.