Перейти к содержимому
Логотип wapi.kz

MCP-сервер wapi.kz

Отправляет и принимает сообщения WhatsApp Business через REST API, MCP-сервер и CLI, с коннекторами для CRM и n8n.

прочитано 2026-11-23

← Назад к wapi.kz

Как подключить

Добавьте сервер в конфиг MCP-клиента. Claude Desktop, Cursor и большинство других клиентов понимают такой вид:

{
  "mcpServers": {
    "whatsapp": {
      "type": "http",
      "url": "https://wapi.kz/api/mcp"
    }
  }
}

Подключить

Claude Code, в терминале

claude mcp add --transport http wapi https://wapi.kz/api/mcp

Добавить в CursorДобавить в VS Code

claude.ai, ChatGPT и другие клиенты: добавьте https://wapi.kz/api/mcp как свой коннектор в настройках.

Инструменты сервераинструментов: 33 · прочитано 2026-11-30
  • 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), video (video_url — MP4; MOV/WebM are converted)…

  • react_messageменяет данные

    React to a message with an emoji (or remove the reaction with an empty emoji). message_id — id from get_messages (or wa_message_id). Works for incoming and own messages.

  • edit_messageменяет данные

    Edit the text of your own text message (WhatsApp allows it within 15 minutes after sending).

  • delete_messageменяет данные

    Delete your own message for everyone in WhatsApp (within about 2 days after sending). The record stays in the history with deleted_at.

  • list_groups

    WhatsApp groups the number is a member of: id (chat_id for send_message to), name, participants count, admins_only (only admins can write), is_admin. The list is cached for 5 minutes.

  • get_group

    One group of the number and its participants: jid, phone (null if hidden), name, admin.

  • 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). source: contact — written by the other party, phone — sent by a person from the phone, api/mcp — sent by a program. chat — the other party's phone or chat_id, to get a…

  • get_mediaописан сервером

    A message's file (photo, video, voice message, document, sticker) by media.id from get_messages: type, name, size and a fresh download link (valid for 15 minutes).

  • create_exportменяет данныеописан сервером

    Build a ZIP archive: files and chat history (messages.json + messages.csv) for a period. Built in the background (usually minutes) — get_export returns the status and the link. At most 2 at a time and 10 per day.

  • 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.

  • check_numberописан сервером

    Check whether a phone number is on WhatsApp before sending. phone — digits with country code (77011234567). Limit: 200 checks per day per number.

  • get_statusописан сервером

    Summary: numbers (connected or not) and balance.

  • add_numberменяет данныеописан сервером

    Add a WhatsApp number to the account — PAID: 330 ₸ (KZT) per day; the first day is charged immediately (refunded automatically if the human deletes the number within 10 minutes without linking WhatsApp), then daily until the number is…

  • connect_numberменяет данныеописан сервером

    Link WhatsApp to a wapi number (or reconnect it if it dropped). With phone — a pairing code like ABCD-EFGH: the human opens WhatsApp → Linked devices → Link a device → "Link with phone number instead" and enters the code (the most…

  • set_webhookменяет данныеописан сервером

    Set the webhook URL (https) where wapi immediately sends events: message (incoming, with a lead field; location, contact cards and polls parsed into wapi.details), message.out (sent by a person from the phone), message.ack…

  • get_analyticsописан сервером

    End-to-end WhatsApp attribution: ad spend → leads → sales for a period — shows which ad, link or website brought each WhatsApp chat and whether it turned into a sale. group — row breakdown: campaign (campaigns), adset (ad sets), ad (ads)…

  • list_leadsвиден, ещё не вызван

    Leads — people who wrote to a WhatsApp number for the first time, each with the source that brought the chat: channel = ctwa (Meta click-to-WhatsApp ad: ad.ad_id, adset_id, campaign_id, ad text and link), link (tracking link wapi.kz/go/……

  • 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…

  • update_leadменяет данныеописан сервером

    Change a lead's stage and/or record a sale. The lead — by id or by the customer's phone (their latest lead is used). Examples: "sale of 45,000 ₸ to customer 77011234567" → phone=77011234567, stage=won, value=45000; "they bought on…

  • list_linksвиден, ещё не вызван

    Tracking links wapi.kz/go/<code>: where they lead (from — number id, phone), first message text, default utm, number of clicks and leads. url — the link for ads, bio, QR; snippet — script code for a website (routes the site's WhatsApp…

  • create_linkменяет данныеописан сервером

    Create a tracking link to a WhatsApp number — to see which ad, post or website brought each chat: the person taps → lands in WhatsApp with prefilled text that carries an invisible click marker — and their first message is matched to the…

  • get_link_clicksописан сервером

    Tracking link clicks (newest first): time, IP, geo (country, region, city), device, OS, browser or app (Instagram, TikTok…), source, language, visitor (visitor; returning — clicked before), utm, fbclid/gclid, website page, and the lead…

  • get_link_statsописан сервером

    Tracking link click stats for a period — which sources, campaigns and pages bring WhatsApp chats and sales: clicks, unique clicks, visitors and returning visitors, how many reached a WhatsApp chat (leads, conversion %), sales and revenue…

  • set_number_leadsменяет данныеописан сервером

    Turn counting of organic leads on a number on or off: when on, every new contact who came without an ad or link becomes a lead (organic). Existing contacts do not become leads. Leads from ads and links are always counted.

  • list_ad_accountsвиден, ещё не вызван

    Connected Meta ad accounts (Facebook / Instagram ads) and the connections to them. For each ad account: id (for the account parameter), external_id (act_…), name, currency, enabled — whether it is synced, synced_at — when data was last…

  • list_ad_objectsвиден, ещё не вызван

    Campaigns, ad sets and ads from connected Meta ad accounts (data from the last sync, hourly). Fields: external_id (the Meta id — for set_ad_status / set_ad_budget), level (campaign | adset | ad), name, status (what is set: ACTIVE /…

  • set_ad_statusменяет данныеописан сервером

    Pause or launch a campaign, ad set or ad in Meta. status: PAUSED — pause (the ad stops showing and spending money), ACTIVE — launch (the ad starts spending the client's budget). Pausing a campaign stops all its ad sets and ads. The change…

  • set_ad_budgetменяет данныеописан сервером

    Change the daily (daily_budget) or lifetime (lifetime_budget) budget of a campaign or ad set in Meta. WARNING: this spends the client's money — raising the budget immediately increases spend charged to their card/account in Meta. Change…

  • sync_adsменяет данныеописан сервером

    Fetch fresh data from Meta now: campaigns, ad sets, ads, budgets and stats for today and yesterday (on the first run of the day — for 30 days). Normally this happens automatically (structure hourly, stats every 30 minutes) — call it if…

  • list_ad_changesвиден, ещё не вызван

    Log of ad changes made through wapi (dashboard, API, MCP, CLI): what changed (field: status, daily_budget, lifetime_budget), before → after (budget in the ad account currency), who (by), whether Meta accepted it (ok) and its response…

Как мы проверяли

Стоит ли агенту его подключать

Пока не ясно
  • 23 нояб. 2026 г. мы вызвали его инструменты на чтение по заданному сценарию, и только на 0 из 1 шагов ответ был таким, какого ждёт проверка.

После подключения

  • Оставьте подтверждение для send_message: они удаляют, отправляют или платят, не предупреждая об этом.
  • send_message, edit_message, delete_message, create_export, add_number меняют данные без входа: вызвать их может любой, у кого есть адрес.

Вывод сделан правилами по замерам выше. Вероятный первый вызов выбрала модель по списку инструментов: прочитайте описание, прежде чем на него полагаться.

Замер каждый день

ежедневных проверок: 8, первая 2026-11-23
  • Оценка INITE MCP51 из 100отвечает 100 · описания 99 · контекст 75 · использование 0 · подключение 100 · снижена, пока ни один наш сценарий не прошёл · снижена из-за предупреждений ниже
  • Проверено вызовомпройдено шагов: 0 из 1последний прогон 23 нояб. 2026 г., только вызовы на чтение
  • Отвечал100% днейответов на ежедневные проверки: 8 из 8
  • Медиана первого ответа917 мс
  • Место в контексте агентаоколо 7 493 токеновописания всех инструментов (33), они занимают контекст агента на каждом ходу
  • Описания инструментовA · 99 из 100
  • Типизированные ответы0 из 33 инструментовобъявлен outputSchema: ответ приходит с типами и читается сразу
  • Параметры без описания: в 1 из 33

На что посмотреть

  • Инструменты, которые удаляют, отправляют или платят, но помечены как неразрушающие: send_message
  • Инструменты, которые меняют данные, на сервере, который отвечает без входа: send_message, edit_message, delete_message, create_export, add_number

Программа проверяет сервер раз в день: initialize и tools/list, без модели. Токены считаем по длине описаний, примерно четыре символа на токен. Оценка равна среднему шести проверок имени, описания, схемы и аннотаций каждого инструмента. Она показывает, насколько понятно описаны инструменты; работают ли они, по ней не видно. Оценка складывается только из замеренного: отвечает ли сервер (25%), делает ли работу продукта (25%), описания (20%), контекст (10%), использование (10%) и насколько легко подключиться (10%). Незамеренная часть не учитывается. Скрытая инструкция ограничивает оценку 40 баллами. Состояние MCP-серверов вендоров: методика и цифры →

Безопасность2026-11-29

Оценка A, 98 из 100, проверено 2026-11-29 · проверено пунктов: 18 из 18 · не прошли: 1

Полный отчёт →

Что он ответилпроверено 2026-11-25
  • Состояниеотвечаетпроверено 2026-11-25
  • Инструменты33
  • Сервер называет себяwapi.kz
  • Версия сервера0.5.0
  • Версия протокола2025-06-18

2026-11-25 сервер ответил на initialize и tools/list без входа. Первый ответ за 676 мс.

Чей это сервер
  • Имя в реестреkz.wapi/whatsappподтверждён в реестре MCP

Имя в реестре записано в пространстве wapi.kz. Реестр пускает в такое пространство только того, кто доказал владение доменом через DNS или HTTP.

OpenAPI-спецификация

Путей: 51, прочитано 2026-11-23. Открыть спецификацию ↗

Каждую строку нашла программа: запись в реестре, ответ самого сервера, разобранная спецификация. Если строки нет, мы этого не нашли; это не значит, что этого нет.