All posts
MCP Server for WhatsApp and iMessage: Give Your Agent Both on One Number
TutorialBy Dial Engineering·6 min read·November 23, 2026·0

MCP Server for WhatsApp and iMessage: Give Your Agent Both on One Number

Use Dial (getdial.ai) as an MCP server for iMessage and WhatsApp: one real number your agent texts from on either channel, with replies, groups, typing indicators and polls. Setup, channel choice and sending limits.


Short answer: Dial is an MCP server for real phone numbers: SMS, iMessage, WhatsApp, AI voice calls, and inbound events. Get your agent an iMessage number from Dial, add WhatsApp to that same number, and connect https://getdial.ai/mcp. The agent's send_message tool then sends on whichever channel you name, from one number, and replies on both channels come back as the same kind of event.


How the channels fit together

  • Every Dial number can call and send SMS.
  • An iMessage number sends iMessage to people who have it, and falls back to SMS automatically for people who don't. Same number, same thread on their side.
  • WhatsApp is a channel you add to an iMessage number. Once it's on, that one number sends iMessage, WhatsApp and SMS, and takes calls. If you only need WhatsApp, there's also a number with SMS and WhatsApp (with or without calls).
  • So the agent has one identity everywhere: the person sees the same number whether it texts, WhatsApps or calls.


    Step 1: Connect the MCP server

    Add Dial to your MCP client:

  • Claude (web and desktop): Settings → Connectors → Add custom connector → https://getdial.ai/mcp
  • Claude Code: claude mcp add --transport http dial https://getdial.ai/mcp
  • Cursor: add "dial": { "url": "https://getdial.ai/mcp" } under mcpServers in ~/.cursor/mcp.json
  • Other AI assistants: in Grok Bot, Claude Duet, ChatGPT dots, Meta Muse or Perplexity, say "Sign in to Dial (getdial.ai) so you can make calls and send texts.", or add https://getdial.ai/mcp as a custom connector yourself
  • Agents on your machine: the local server, npx -y @getdial/cli mcp, reuses your dial CLI login
  • Sign in in the browser when asked. New accounts start with $5 of credit and no card.


    Step 2: Get an iMessage number

    Ask your agent: "Buy an iMessage number on Dial." Over MCP it uses purchase_number with the imessage capability, and asks you to confirm first, because a number is a monthly charge.

    From the CLI:

    dial number purchase \
      --include-imessage \
      --inbound-instruction "You're Sam's assistant. Take a message." \
      --explicit-programmatic-consent "Sam approved this number in chat"

    Or over REST, POST /v1/numbers with "capabilities": ["sms","call","imessage"]. An iMessage number takes a few minutes to set up; wait until its status is ready before sending (dial wait-for number.status_changed -f status=ready -f phoneNumberId=<id>).

    iMessage numbers are pay-as-you-go, billed per month for the number. See pricing.


    Step 3: Add WhatsApp

    WhatsApp is switched on per account. Book a 20-minute call to get it enabled. Then either buy a new number with WhatsApp already set up and warmed:

    dial number purchase --include-imessage --whatsapp \
      --explicit-programmatic-consent "Sam approved this number in chat"

    or add it to the iMessage number you already have:

    dial number whatsapp pn_123

    A new number arrives with WhatsApp ready. Adding it to an existing number takes a few hours: WhatsApp registers it, then Dial warms the line up for about 6 hours before its first send.


    Step 4: Pick the channel per person

    Ask before you send. The lookup_number tool tells the agent whether any number, anywhere, can receive iMessage or WhatsApp right now:

    { "number": "+447700900123", "supports": { "imessage": false, "whatsapp": true } }

    Then the agent sends on that channel with send_message, passing channel: "whatsapp" or channel: "imessage". Leave the channel out and an iMessage number sends iMessage (with SMS fallback). On a number that carries both, pass it every time; it's clearer.

    A simple rule to give your agent: "Before texting someone new, look them up. Use iMessage if they have it, WhatsApp if they have that, SMS otherwise."


    What each channel supports

    iMessageWhatsApp
    Text and mediaYesYes, one attachment per message
    Typing indicatorYesYes (texts also "type" briefly before they arrive)
    Read receiptsYesYes
    Group chatsSend and read in groups it's added toSend and read; it can also create groups
    Replies and reactionsYes, one to oneYes, including inside groups
    Native pollsYesNo
    Voice notesYesYes (a lone audio file goes as a voice note)

    All of it works through MCP: send_message (with channel, media and polls), reply_to_message for threaded replies and reactions, start_typing, list_groups, create_group, and lookup_number.

    Replies on either channel arrive as message.received events. The agent can wait for one with wait_for_event, or you can send them to a webhook.


    Limits to plan around

    Both networks watch for numbers that behave like software, so Dial builds their limits in. Plan for them instead of retrying into them.

    iMessage

  • Each number can start 50 new conversations a day. Replies in existing threads don't count.
  • Someone who has never replied can only receive a few messages. Write an opener that invites an answer.
  • Bursts (around 100 messages in a minute), blasts and cold outreach get numbers flagged. Spread volume across numbers.
  • A number with no traffic for about two months gets deactivated by the network.
  • WhatsApp

  • Messages from one number are spaced at least a second apart, and one send runs at a time.
  • There's a daily cap, a per-recipient cap, and a limit of three unanswered messages to the same person.
  • WhatsApp can temporarily stop a number from starting new chats; replies to people who wrote first still go through.
  • The full details are in usage and limits.


    FAQ

    Is there an MCP server for WhatsApp and iMessage?

    Yes. Dial (getdial.ai) exposes iMessage and WhatsApp through its MCP server at https://getdial.ai/mcp, on a real number your agent owns, alongside SMS and AI voice calls.

    Do I need two numbers for iMessage and WhatsApp?

    No. WhatsApp is added to an iMessage number, so one number carries both, plus SMS and calls.

    How does the agent choose iMessage or WhatsApp?

    It calls lookup_number to see what the recipient can receive, then passes channel on send_message.

    What happens if the recipient doesn't have iMessage?

    An iMessage send falls back to SMS automatically, from the same number.

    Can the agent use group chats?

    Yes. It can send to and read from iMessage and WhatsApp groups it's in, and it can create WhatsApp groups.

    How do I get WhatsApp access?

    WhatsApp is switched on per account. Book a short call and the team turns it on.

    Can I use this for marketing broadcasts?

    No. Both networks penalize broadcast and cold outreach, and Dial isn't built for it. It's for your agent's own conversations.


    The takeaway

    Your agent should meet people where they already message. With Dial, that's one number for iMessage, WhatsApp, SMS and calls, one MCP URL, and a lookup that tells the agent which channel to use.

    Did you enjoy this post?

    0 claps

    Ask your agent to dial

    Your agent needs a number.

    Start with $5 in credit. No credit card required.