WhatsApp for Codex
Give Codex your WhatsApp. It can read what users and teammates told you, and send updates you approve.
How do you connect WhatsApp to Codex?
Run codex mcp add whatsync --url https://whatsync.app/api/mcp, then codex mcp login whatsync to sign in. Link your WhatsApp from the dashboard. The CLI, IDE extension and Codex app share the same settings.
- Works in
- The Codex CLI, IDE extension and Codex app
- You need
- Codex. WhatsApp on your phone, or a WhatsApp Business API number.
- WhatSync server
- Hosted for you. Nothing to run yourself.
What Codex can do with your WhatsApp
Feature requests in one list
Codex collects what customers asked for on WhatsApp this month.
Release notes for clients
Turn today's changes into a short WhatsApp update, ready for you to approve.
Business API work
Check template status and analytics without opening Meta's dashboards.
Add WhatSync to Codex
You sign in to WhatSync once. No API keys to paste. Check what you need above first.
Add the server and sign in
Run these two commands. The second opens your browser to sign in to WhatSync.
codex mcp add whatsync --url https://whatsync.app/api/mcp codex mcp login whatsyncOr edit config.toml
Prefer config files? Add this to ~/.codex/config.toml, then run the login command.
[mcp_servers.whatsync] url = "https://whatsync.app/api/mcp"Link your WhatsApp
Open your WhatSync dashboard and link your personal WhatsApp from Linked devices on your phone, or connect the WhatsApp Business API. If you ask your agent something first, it replies with a sign-in link that works for 15 minutes.
Choose what it can see
In Settings, under What's saved, choose which chats your agent can see. On every plan every group is included by default; untick any group or hide any person. On the free trial, group messages stop once it has saved 250 of its 500, so one-on-one chats keep the rest. WhatSync brings in your older chats when you link. The free trial, Plus and Pro show your newest 1,000 older messages (500 from one-on-one chats, 500 from groups), and Max shows everything your phone sends.
Or use the CLI
Prefer a command to an MCP server? Run npx whatsync login once to sign in, then tell Codex it can run npx whatsync. Every command prints JSON when Codex runs it, so it reads the results directly.
npx whatsync login
npx whatsync unansweredThings to ask Codex
Copy one, change the names, and try it.
Use WhatSync. Find the error message Aisha sent in the Support group and reproduce it.
Summarise the feature requests customers sent me on WhatsApp this month.
Draft a two-line WhatsApp to the Client group about today's release. Do not send yet.
Which of our WhatsApp Business templates were rejected, and why?
Good to know
You choose which chats are saved, and you can unlink WhatsApp from your phone at any time. How we handle your data.
- Codex asks before tools with side effects, depending on your approval mode. Keep sends on approval.
- Sends are real WhatsApp messages. Set the send tool to ask you every time in your AI app's settings. Telling the agent "ask me first" in a chat is not the same thing.
- Messaging many customers? Use the Business API, and only message people who agreed to hear from you. Bulk messages from a personal number can get it restricted by WhatsApp.
- Search looks at message text, file names and captions. On Pro and up it also covers voice notes turned into text and the words in photos and scanned documents.
- Groups only work on a personal WhatsApp linked from your phone. The Business API covers customer chats, templates and campaigns.
- "Waiting on you" means the last message in a chat came from the other person. It's a hint to check, not a to-do list.
Questions
Something else? Ask us.
Does Codex support remote MCP servers?
codex mcp login.Does it work in the Codex app and IDE extension?
Do I need to install anything?
Does it work with the WhatsApp Business API?
Is WhatSync made by OpenAI?
How much does it cost?
Personal WhatsApp or the Business API
Codex can tell which one you have and uses the right tools for it.
Your personal WhatsApp
- Link the WhatsApp you already use
- Chats, groups, files, polls and reactions
- For normal one-to-one use, not bulk sending
WhatsApp Business API
- Templates and campaigns your agent can send
- Meta reviews templates and charges per message
- Only for customers who opted in
Sources
We checked these steps against Codex's own docs on October 13, 2026. Menus change, so a screen may look a little different. WhatSync is not made or endorsed by OpenAI.
Use it in your other AI apps too
One WhatSync account works in all of them. Each guide says what you need.
Add WhatSync to Codex
Your WhatsApp keeps working on your phone as normal. Unlink it whenever you like.