INDIVIDUAL MCP TOOL
get_lead
Lead card: source (ad or link), first message, device, first reply (first_reply), stage and amount; conversation — the chat from the log: messages, incoming, outgoing, last_at, incoming_after_reply (how many messages the person sent after our first reply — whether the conversation continued), outgoing_after_reply; all touches (repeat visits from ads/links; raw holds the raw ad data, and the first touch has first_message — the raw first WhatsApp message without files or keys) and the stage history (who changed it and when).
LIVE ENDPOINT
https://wapi.kz/api/mcp
Connect to this endpoint to inspect the live schema for get_lead and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Potential side effects detected · medium confidence · heuristic, not a guarantee.
- A tool name or description suggests sending messages.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.wapi-kz]
url = "https://wapi.kz/api/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"wapi-kz": {
"type": "http",
"url": "https://wapi.kz/api/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: wapi-kz
Remote MCP URL: https://wapi.kz/api/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"wapi-kz": {
"url": "https://wapi.kz/api/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"wapi-kz": {
"type": "http",
"url": "https://wapi.kz/api/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "wapi-kz",
"transport": "streamable-http",
"url": "https://wapi.kz/api/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
send_message— Send a WhatsApp message from a connected number: text, image (image_url, JPEG/PNG/WebP), file (file_url), voice message (voice_url — MP3/M4A/WAV/OGG, converted to a WhatsApp voice message) or video (video_url — MP4; MOV/WebM are converted).list_numbers— The account's WhatsApp numbers: id (for the from parameter), phone, whether it is connected (connected), status (active / paused — balance ran out).get_messages— Latest messages from the log (incoming and outgoing, newest first).get_media— A message's file (photo, video, voice message, document, sticker) by media.create_export— Build a ZIP archive: files and chat history (messages.get_export— Export status (queued, running, done, failed, expired), progress and the archive link when ready (the link is valid for 15 minutes — request it again; the archive is kept for 24 hours).get_balance— Account balance in tenge (KZT), the daily charge (330 ₸ per active number) and how many days it will last.get_limits— The number's limits for today and its trust score (0–100): how many messages, and first messages to new people, can still be sent.