WaMCP

AI Agent (MCP)

Connect Claude, Cursor, and other AI assistants to WhatsApp via the Model Context Protocol

WhatsApp Cloud MCP exposes an MCP (Model Context Protocol) server that lets AI assistants interact with WhatsApp programmatically — sending messages, looking up contacts, reading conversation history — through natural language.

Requires Pro plan or higher.


Endpoint

https://wapi.lintech.live/mcp

Transport: Streamable HTTP (not SSE)

Authentication

All MCP connections use your WA-MCP API key (wamcp_...) as a Bearer token. Find it in Settings → API Key.


Available Tools

Messaging

ToolDescription
send_textSend a plain text message
send_mediaSend image, video, audio, or document
send_locationSend a location pin
request_locationAsk a contact to share their location
send_catalogSend your WhatsApp catalog
send_productSend a single product card
send_productsSend a multi-product message with sections
send_url_buttonSend a message with a link button
send_buttonsSend a message with up to 3 quick-reply buttons
send_listSend a list menu with sections and rows
send_templateSend an approved template message

Clients & Data

ToolDescription
list_clientsList your registered WhatsApp Business accounts
list_contactsList contacts for a client (supports limit/offset)
list_messagesRetrieve message history for a client (supports limit/offset)
list_templatesList message templates for a client's WABA
create_templateSubmit a new message template for Meta review

Setup: Claude Desktop

  1. Open Claude Desktop settings: Claude menu → Settings → Developer → Edit Config
  2. Add the following to claude_desktop_config.json:
{
  "mcpServers": {
    "whatsapp": {
      "type": "http",
      "url": "https://wapi.lintech.live/mcp",
      "headers": {
        "Authorization": "Bearer wamcp_your_api_key"
      }
    }
  }
}
  1. Restart Claude Desktop.
  2. You should see a WhatsApp tool icon in the chat input. Claude can now send WhatsApp messages on your behalf.

Setup: Claude Code (CLI)

Add the MCP server to your project or global config:

claude mcp add whatsapp --transport http https://wapi.lintech.live/mcp \
  --header "Authorization: Bearer wamcp_your_api_key"

Or add it manually to .claude/mcp.json in your project:

{
  "mcpServers": {
    "whatsapp": {
      "type": "http",
      "url": "https://wapi.lintech.live/mcp",
      "headers": {
        "Authorization": "Bearer wamcp_your_api_key"
      }
    }
  }
}

Setup: Cursor

  1. Open Cursor settings: ⌘ + Shift + J → MCP
  2. Click Add new MCP server
  3. Fill in:
    • Name: whatsapp
    • Type: http
    • URL: https://wapi.lintech.live/mcp
    • Headers: Authorization: Bearer wamcp_your_api_key
  4. Save and reload Cursor.

Example Prompts

Once connected, you can give your AI assistant instructions like:

"Send a WhatsApp message to +1234567890 saying the order has shipped."

"Look up the last 10 messages from client My Store and summarize them."

"Send the welcome template to +33612345678 with the customer's name as the parameter."

"List all my WhatsApp clients and tell me which ones were active this week."

"List the contacts for client My Store and find anyone named João."

"Create a UTILITY template called order_update with a body that says 'Your order {{1}} has shipped.'"


Security Note

Your API key grants full access to your WhatsApp clients. Treat it like a password — do not commit it to version control or share it. Rotate it in Settings → API Key if it is ever exposed.

On this page