Connect WhatsApp to Claude Code over MCP
Run one claude mcp add command and Claude Code can reach a real WhatsApp number: list numbers, check health, send messages and templates, and set webhook destinations, all on Meta's official Cloud API rather than a linked device session.
- One command, once per machine
- Available in every session afterwards
- Official Cloud API, not a linked device
Nothing charged for 7 days. Cancel anytime.
What it takes to add the connector, once per machine.
Reading, sending, template, wiring and docs tools through one connector.
Window in which free text sends rather than a template.
How do you add it?
Run claude mcp add with the http transport and the EasyCoexistence endpoint, in any terminal. Then run /mcp inside Claude Code and authenticate. The eleven tools are available in every session on that machine from then on.
Nothing is installed beyond the configuration entry. The server is remote, so there is no process to keep alive and no session held anywhere on disk.
Authorisation is OAuth, which means no token ends up in a shell history, a dotfile or a repository. That matters more here than in a desktop app, because terminal configuration tends to get committed by accident.
What is it actually useful for?
Agent work that spans WhatsApp and a codebase at the same time, which is most of what our paying users are doing.
An agent can onboard a client's number with get_connect_link, point it at the service it is building with set_webhook_destination, then send a test message and read back whether the webhook verified. That is a loop that otherwise involves a dashboard, a phone and a lot of waiting.
It is also how the documentation reaches the model. get_docs returns our product documentation as markdown, so an agent answering questions about Coexistence rules, the 24 hour window or the 14 day condition answers from our docs rather than from whatever it remembers.
Common mistakes
- Expecting incoming messages to reach the agent. MCP is request and response; delivery needs a webhook.
- Adding it per project. It is configured per machine and available in every session.
- Sending free text outside the window in a script. Check the last inbound time and branch to a template.
Connect a number at easycoexistence.com, run the claude mcp add command once, and authenticate with /mcp. US$ 9 per number per month, first 7 days free.
Frequently asked questions
Does it work in Codex too?
Anything speaking MCP over HTTP with OAuth can use the same endpoint.
Is a token stored on disk?
No. Authorisation is OAuth, so there is no secret in the configuration file.
Can an agent connect a number on its own?
It can start the process. The link it returns has to be opened by the business owner, because Meta's flow needs a browser and the phone.
Does closing the terminal disconnect anything?
No. The server is remote and the number stays connected regardless of what is running locally.
Keep reading
Ready to get started?
Set up WhatsApp Coexistence in minutes, not months. The app keeps working on the phone.
Start Free TrialNothing charged for 7 days. Cancel anytime.Verified on