Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By tonydzi Verifiedv1.0.0MITIn 1 marketplace
Connects Claude Code or Codex to your WhatsApp account to read chats and send messages through a local linked-device service. Uses the unofficial Baileys client that WhatsApp can restrict, so a separate number is safest.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
whatsapp, whatsapp-integration, linked-device, qr-pairing, messaging, chat-automation, whatsapp-setup, baileys ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A setup kit that lets an AI assistant (Claude Code, Codex or any MCP client) read your WhatsApp chats and send messages, using your own account.
Who it's for: people who want their AI assistant to work with WhatsApp. What you get: WhatsApp linked to your AI tools through one small local service, plus ready prompts so an agent does the setup.
Account risk, read first: this uses an unofficial WhatsApp client (Baileys). WhatsApp can restrict accounts that use such clients, so a separate number is safest. Your assistant will also see the messages you let it read.
PROMPT.md (Russian versions: Claude Code, Codex). Read it first: the agent checks what you already have, explains the risk once, installs one shared local service and opens a QR page.Done when: you send yourself a fresh test word in WhatsApp and the agent reads that exact word back.
Want an AI agent to do it for you? Paste this to Claude Code / Codex / Cursor: "Read the 'For AI agents' section of https://github.com/tonydzi/whatsapp-mcp-kit and set it up for me."
PROMPT.md (English); Russian: PROMPT-CLAUDE.ru.md, PROMPT-CODEX.ru.md. The full runbook is README.ru.md (Russian). Read the runbook and the prompt from the same revision before acting.node (a supported LTS), npm, git, Python 3. Windows, macOS or Linux.claude mcp list, codex mcp list), running processes, existing data folder, listening port. If a working install exists, use it and do not reinstall.From the runbook (README.ru.md, sections 2 to 4). Replace <KIT_DIR>, <SERVER_DIR> with folders you choose. <MCP_DIR> below means <SERVER_DIR>/node_modules/@sjawhar/whatsapp-mcp. In Windows PowerShell 5 run mkdir and cd as two separate lines (no &&):
git clone https://github.com/tonydzi/whatsapp-mcp-kit <KIT_DIR>
mkdir <SERVER_DIR> && cd <SERVER_DIR>
npm init -y
npm install --save-exact @sjawhar/[email protected]
Then, inside <SERVER_DIR>/node_modules/@sjawhar/whatsapp-mcp, run git apply --check <KIT_DIR>/patches/0001-qr-raw-to-stderr.patch and only then apply it (check patch 0002 separately). Make a Python venv in <KIT_DIR>/.venv and install qrcode pillow there. Do not run npm update and do not run the server with --help: some versions connect to WhatsApp at once.
WHATSAPP_MCP_DIR (installed package folder), XDG_DATA_HOME (private per-account data folder), WA_QR_WORK_DIR (temporary QR files).python <KIT_DIR>/pair/wa_qr_live.py --check, then python <KIT_DIR>/pair/wa_qr_live.py, and show the human the local page it prints.<ACCOUNT_PORT> is a free local port you pick (one per account). Run one owner service per account: node <MCP_DIR>/dist/index.js --http --host 127.0.0.1 --port <ACCOUNT_PORT>, with MCP_API_KEY and ALLOWED_SEND_DIR set from a protected environment (the key is generated by you and stays out of git and argv). Never bind 0.0.0.0.http://127.0.0.1:<ACCOUNT_PORT>/mcp using configs/claude-http.example.json and configs/codex-http.example.toml as examples. Codex: codex mcp add whatsapp --url http://127.0.0.1:<ACCOUNT_PORT>/mcp --bearer-token-env-var WA_MCP_TOKEN (WA_MCP_TOKEN must hold the same string as MCP_API_KEY in the environment that starts Codex).Offline checks (no phone, no network, safe to run):
python pair/wa_qr_live.py --selftest
python pair/test_wa_qr_live.py
Expected: SELFTEST PASS and ALL GREEN (52 checks), both exit 0 (run here: matched). These prove only the QR helper's logic; they pass with no WhatsApp linked, so they are not the install check. The live proof below is.
Live proof: the human sends a fresh unique word to a chat they chose, and both clients read exactly that word back, again after a controlled restart of your own owner service. A port, cached profile, old chat list or exit 0 is not proof. Report static, configured, paired, live read, live send and recipient acknowledgement separately.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub tonydzi/whatsapp-mcp-kit --plugin whatsapp-mcp-kit