Zenbox
Blog

How to connect WhatsApp to Claude with MCP

November 23, 2026 · 7 min read

Short answer

Claude cannot reach WhatsApp on its own: it needs an MCP server connected to your account. Install Zenbox on a server, link your WhatsApp with a QR code like WhatsApp Web, then add the server's /mcp address to Claude as a custom connector and log in.

Claude is great at summarizing, sorting and drafting, but it cannot see your WhatsApp. To read your chats and send messages for you it needs a bridge: an MCP server. MCP, the Model Context Protocol, is the open standard AI apps use to plug into outside tools. The tool exposes functions, and Claude decides when to call them based on what you ask.

This guide covers the moving parts, what you need before you start, the full install, how to connect each AI app, and the mistakes that most often leave people stuck halfway. If you are still comparing servers, read what a WhatsApp MCP server is and how to choose one first.

How the pieces fit

Your WhatsApp

linked like WhatsApp Web

Zenbox

MCP server on your VPS

Claude

or any MCP client

Zenbox runs on your server and links to your account as one more device, using the same mechanism as WhatsApp Web. Under the hood it uses WAHA, an open-source WhatsApp HTTP API, and offers Claude concrete tools: list chats and groups, read and search messages, see who is waiting for you, summarize a day, list shared files, transcribe voice notes, schedule messages and send when you ask.

One detail worth knowing: the send tools are marked as writes, so your AI app asks you to approve every send before it goes out. Reading is free; sending always goes through you.

What you need before you start

You need

  • ✓A VPS with Docker (Ubuntu works well)
  • ✓A domain or subdomain pointing at the VPS
  • ✓Ports 80 and 443 open
  • ✓Your phone at hand to scan the QR code

You don't need

  • ✕The official WhatsApp Business API
  • ✕A new number: you use your own
  • ✕To know how to code, if you follow the guide
  • ✕To keep your phone plugged into a computer

You can also install it on your laptop without a domain. In that case it only works with Claude Code on that same machine, because claude.ai connects to custom connectors from Anthropic's cloud and cannot reach localhost. To use it from your phone or from claude.ai, a VPS with a domain is the way.

The 4 steps

  1. 1

    Server

    A VPS with Docker and a domain.

  2. 2

    Install

    Clone, generate secrets, docker compose.

  3. 3

    Link

    Scan the QR from Linked devices.

  4. 4

    Connect

    Add the connector in Claude and log in.

Steps 1 and 2: install Zenbox. On your server, with your domain already pointing at it:

git clone https://github.com/stivenrosales/waha-mcp.git zenbox
cd zenbox
sh scripts/init-env.sh --domain your-domain.com --username owner
docker compose --profile https up -d --build

The script writes your secrets to a .env file: your username, your password (ADMIN_PASSWORD) and the master key (MASTER_KEY). Copy the master key into your password manager right away. Without it, the encrypted copy of your messages cannot be read.

The first start takes a few minutes because it downloads and builds everything. It is done when docker compose ps shows the services as healthy. On a laptop, drop --domain and --profile https; the server answers at http://localhost:3000.

Step 3: link your WhatsApp. On your phone open WhatsApp, go to Linked devices, tap Link a device and scan the QR code your server shows. WhatsApp may ask for your fingerprint, face or PIN first. The code expires in about a minute; if you miss it, ask for a new one. If you let Claude Code do the install, the repository includes a guide for agents that explains how to show you the QR.

Step 4: connect Claude. On claude.ai with a Pro or Max plan, go to Customize, Connectors, click Add, then Add custom connector, and paste https://your-domain.com/mcp. On Team and Enterprise plans, an owner adds it under Organization settings and each member then connects. In Claude Code it is one command:

claude mcp add --transport http zenbox https://your-domain.com/mcp

Then run /mcp in Claude Code, pick zenbox and log in. In every case a login page opens where you enter your username and password.

Other AI apps

The same address works in any client that supports remote MCP servers:

Where to add itLogin
claude.aiCustomize, Connectors, Add custom connectorOAuth page, username and password
Claude Codeclaude mcp add --transport http/mcp, then the same login
ChatGPTTurn on developer mode, add a connectorOAuth authentication
Gemini CLImcpServers in ~/.gemini/settings.json/mcp auth

ChatGPT treats tools without a read-only annotation as write actions and asks for confirmation by default, so sends stay under your control there too. Developer mode availability depends on your ChatGPT plan; check OpenAI's documentation for yours.

Check that it works

Who is waiting for my reply?

You have 3 chats waiting:
Lucy, 2 days ago: asked for the December quote.
Daniel, 9 hours ago: wants to know if Thursday is confirmed.
Anna, 1 hour ago: sent you a PDF to review.

If you get an answer like that, everything is connected. If Claude says it has no access, check that the connector is enabled in that conversation. For more on this question, see how to see who is waiting for your reply.

What you can ask

  • "Summarize what happened in the work group this week."
  • "Find the PDF Anna sent me last week."
  • "What does the voice note Jorge sent this morning say?" (needs transcription configured)
  • "Turn my pending chats into tasks."
  • "Reply to Anna that I'll be there at 5."
  • "Tomorrow at 8, send good morning to Mom." (needs missions configured)

Common errors and how to fix them

  • The HTTPS certificate is not issued. The domain does not point at the VPS yet, or ports 80 and 443 are closed. Check the DNS record and the firewall.
  • Claude cannot reach the connector. The URL must be public HTTPS on the standard port. Claude does not connect to URLs with a custom port.
  • The QR code expired. Normal: it lasts about a minute. Request a new one and scan it right away.
  • The login page rejects the password. The password in .env is read only on the first start. If you changed it later, follow the reset procedure in the self-hosting guide.
  • Claude cannot see chats from months ago. A linked device does not receive your full history. What arrives after you link it is available.

Quick checklist

Before you finish, confirm

  • ✓The services show as healthy
  • ✓MASTER_KEY is saved in your password manager
  • ✓Your server appears under Linked devices
  • ✓Claude answers who is waiting for you

Never do this

  • ✕Expose WAHA's port (3001) to the internet
  • ✕Commit the .env file to a repository
  • ✕Share your password with anyone

What if I don't want to install anything?

We are preparing a hosted version: the same tool, with no server or Docker. You sign up, scan the QR and connect your AI. Before you decide, it is worth reading whether it is safe to connect WhatsApp to AI. You can join the waitlist at the end of this page.

Sources

FAQ

Can Claude read WhatsApp without installing anything?

No. Claude has no native access to WhatsApp. You need an MCP server, such as Zenbox, that connects to your account and offers Claude tools to read and send.

Does it work with ChatGPT or other AI apps?

Yes, with any app that supports remote MCP connectors, for example claude.ai, Claude Code, ChatGPT in developer mode and Gemini CLI.

Will Claude send messages without asking me?

No. Send tools are marked as writes, so Claude asks you to approve each one, and the server instructions tell it to send only what you asked for. Scheduled messages and missions are created by you.

Do I need the official WhatsApp Business API?

No. Zenbox links to your regular WhatsApp as one more linked device, just like WhatsApp Web. It is meant for personal use, not bulk messaging.

Can I use a free Claude plan?

Anthropic says custom connectors are available on Free, Pro, Max, Team and Enterprise plans, with Free users limited to one custom connector.

Your WhatsApp, calm.

The hosted version opens soon. The first 100 get founder pricing.