
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
@codespar/mcp-z-api
Advanced tools
MCP server for Z-API — WhatsApp messaging platform
Add to ~/.config/claude/claude_desktop_config.json:
{
"mcpServers": {
"z-api": {
"command": "npx",
"args": ["-y", "@codespar/mcp-z-api"],
"env": {
"ZAPI_INSTANCE_ID": "your-instance-id",
"ZAPI_TOKEN": "your-token"
}
}
}
}
claude mcp add z-api -- npx @codespar/mcp-z-api
Add to .cursor/mcp.json or .vscode/mcp.json:
{
"servers": {
"z-api": {
"command": "npx",
"args": ["-y", "@codespar/mcp-z-api"],
"env": {
"ZAPI_INSTANCE_ID": "your-instance-id",
"ZAPI_TOKEN": "your-token"
}
}
}
}
| Tool | Purpose |
|---|---|
send_text | Send a text message via WhatsApp |
send_image | Send an image message via WhatsApp |
send_document | Send a document via WhatsApp |
send_audio | Send an audio message via WhatsApp |
get_contacts | Get all WhatsApp contacts |
check_number | Check if a phone number has WhatsApp |
get_profile_picture | Get profile picture URL for a phone number |
get_messages | Get messages for a phone number |
send_button_list | Send a button list message via WhatsApp |
get_status | Get WhatsApp instance connection status |
create_group | Create a WhatsApp group |
get_group_metadata | Get group metadata and participants |
add_group_participant | Add a participant to a WhatsApp group |
remove_group_participant | Remove a participant from a WhatsApp group |
send_location | Send a location message via WhatsApp |
send_contact | Send a contact card via WhatsApp |
add_label | Assign a label/tag to a chat |
get_labels | List all available labels/tags |
read_message | Mark messages as read |
delete_message | Delete a message |
get_contact_metadata | Get metadata (name, WhatsApp display name, profile picture, status) for a single contact |
add_contacts | Add one or more contacts to the WhatsApp address book. |
list_chats | List all WhatsApp chats with pagination |
mark_chat_as_read | Mark an entire chat as read or unread |
list_groups | List all WhatsApp groups with pagination |
send_option_list | Send an interactive option list (WhatsApp native list). |
send_button_actions | Send interactive action buttons (CALL, URL, REPLY). |
Z-API uses instance ID and token embedded in the request URL.
Z-API offers a free trial for testing. Create an account to get started.
| Variable | Required | Description |
|---|---|---|
ZAPI_INSTANCE_ID | Yes | Z-API instance ID |
ZAPI_TOKEN | Yes | Z-API instance token |
send_sticker — Send a sticker message via WhatsAppsend_reaction — Send a reaction to a messageget_chat_history — Get full chat history with a contactupdate_group_settings — Update group name, description, settingsleave_group — Leave a WhatsApp groupbulk_messaging — Send messages to multiple contactstemplate_management — Create and manage message templatescatalog_products — Manage WhatsApp Business catalog productsWant to contribute? Open a PR or request a tool.
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
MIT
FAQs
MCP server for Z-API — WhatsApp messaging, contacts, media
We found that @codespar/mcp-z-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.