mcp-z-api
MCP server by codespar Community
Connects an AI assistant to Z-API for WhatsApp messaging, contacts and media. Published by codespar as part of the MCP Dev LATAM server collection. Intended for developers building Latin American business workflows.
Install mcp-z-api
Built from the published package, never by AI.
claude mcp add mcp-z-api -e ZAPI_TOKEN=YOUR_ZAPI_TOKEN -- npx -y @codespar/mcp-z-apiRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-z-api": {
"env": {
"ZAPI_TOKEN": "YOUR_ZAPI_TOKEN"
},
"args": [
"-y",
"@codespar/mcp-z-api"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-z-api": {
"env": {
"ZAPI_TOKEN": "YOUR_ZAPI_TOKEN"
},
"args": [
"-y",
"@codespar/mcp-z-api"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-z-api": {
"env": {
"ZAPI_TOKEN": "YOUR_ZAPI_TOKEN"
},
"args": [
"-y",
"@codespar/mcp-z-api"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-z-api --env ZAPI_TOKEN=YOUR_ZAPI_TOKEN -- npx -y @codespar/mcp-z-api{
"mcpServers": {
"mcp-z-api": {
"env": {
"ZAPI_TOKEN": "YOUR_ZAPI_TOKEN"
},
"args": [
"-y",
"@codespar/mcp-z-api"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-z-api npx -y @codespar/mcp-z-apiGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-z-api block.
About
mcp-z-api is an MCP server for Z-API, a WhatsApp messaging service. Its declared description says it covers WhatsApp messaging, contacts and media. It is published by codespar as part of MCP Dev LATAM, a repository of MCP servers that wrap commerce APIs in Latin America. The package is run with npx @codespar/mcp-z-api.
In the repository's example business workflow, Z-API is the messaging step. After a shipping label is generated, the agent sends tracking information to the customer over WhatsApp. The README says each server reads its provider host from an environment variable, such as <PREFIX>_BASE_URL, and uses a documented default when the variable is unset. The source does not list the individual tools or setup steps for this server. It is aimed at developers and teams who run business workflows with AI agents in Latin America.
Written from the project's README and checked against it.
What you need
- npx to run the package
| Setting | Needed | What it is |
|---|---|---|
ZAPI_Environment variable, secret | Required | API key for z-api |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Send a WhatsApp message to a customer with their order tracking details
- Look up a WhatsApp contact and send them a media file
- Notify a customer over WhatsApp that their order has shipped
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Send order tracking updates over WhatsApp
- Message customers from an AI agent
- Send media files to WhatsApp contacts
Alternatives to mcp-z-api
All alternatives →Jitsu MCP server lets AI assistants configure and operate Jitsu data pipelines. It covers destinations, streams, connections and functions, plus Live Events and connector syncs. It is aimed at teams that run event data pipelines.
Vexa sends a bot into Google Meet, Microsoft Teams, Zoom and Jitsi calls to capture speaker-labelled transcripts live or after the call. It suits teams that want meeting transcripts they can self-host.
Gives Claude and other MCP-compatible AI agents access to LinkedIn through your own browser session. It reads profiles, researches companies, finds jobs, and manages messages and connection requests.
Runs a NetSapiens phone system from Claude, ChatGPT, or any MCP client. Each person signs in as themselves, and their assistant gets role-aware tools for calls, voicemail, queues, and provisioning.
Resend MCP Server connects AI assistants to the Resend email platform. It lets them send and receive emails and manage contacts, broadcasts, templates, and domains. It suits developers and teams who use MCP clients such as Claude or Cursor.
The source does not describe labelhead-artist-momentum. It is a README for Paperclip, an open-source orchestration app for teams of AI agents.
Compare with Jitsu, Vexa or Linkedin MCP server
mcp-z-api: common questions
What does mcp-z-api do?
It is an MCP server for Z-API that covers WhatsApp messaging, contacts and media, according to its declared description. The source does not list its individual tools.
Who publishes mcp-z-api?
It is published by codespar and listed in the MCP Dev LATAM repository, which collects MCP servers for commerce APIs in Latin America.
How is the Z-API host configured?
The README says the server reads its provider host from an environment variable, such as <PREFIX>_BASE_URL. If the variable is unset, it uses the documented default host.
How do I install mcp-z-api?
In Claude Code run claude mcp add mcp-z-api -e ZAPI_TOKEN=YOUR_ZAPI_TOKEN -- npx -y @codespar/mcp-z-api. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is mcp-z-api the official server?
mcp-z-api is a community project by codespar, not verified by a company domain.
Is mcp-z-api free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mcp-z-api safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mcp-z-api?
Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.
Does mcp-z-api work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
