Skip to main content
Glama

Parley: WhatsApp MCP server for AI agents

Give your AI agent WhatsApp. Parley is an MCP server that lets Claude, Cursor, ChatGPT or any MCP client read your chats and send messages from your own number, at a human pace, with every message on record.

Verbiflow/parley MCP server License: MIT

Website · Get started · Run it yourself

Set up in 30 seconds

1. Add the MCP server (one line):

claude mcp add --transport http parley https://app.itsparley.com/mcp

Any client that supports remote MCP servers takes the same URL, https://app.itsparley.com/mcp. That includes Claude, ChatGPT and Codex. For Cursor, put this in ~/.cursor/mcp.json:

{ "mcpServers": { "parley": { "url": "https://app.itsparley.com/mcp" } } }

2. Scan the QR code. Sign in once when your client asks. Then on your phone, open WhatsApp → Linked devices → Link a device and scan the code at app.itsparley.com. Your phone keeps working as normal.

3. Ask. "Send Maya the Q4 deck and ask if Thursday at 3 still works." The agent calls send_message, and Parley sends it at the next natural slot.

Related MCP server: wa-bridge

Why Parley

You link an account once, the same way you'd add a new device. Any agent that speaks MCP can then read your conversations, reply, react and reach out. Parley doesn't send at machine speed. It queues each message and sends it when you plausibly would: inside your local hours, with gaps between messages, and under daily limits that start low on a new account. You can link several numbers and choose which chats agents can see.

WhatsApp is live. iMessage, Slack, LinkedIn and Gmail are next. They will use the same MCP tools, so an agent you set up today keeps working as channels arrive.

Early development. The MCP tools are stable enough to build on, but expect changes.

What your agent gets

The four things Parley gives an agent: it sends as you, paces like a person, sends rich messages, and keeps a record

It sends as you. Messages come from your own number, in chats people already have with you. There's no bot account and no "sent by AI" label.

It sends at a human pace. Messaging apps flag accounts that send like software. Agents never send directly. send_message puts the message in an outbox and reserves the account's next human-paced slot:

  • inside the account's active hours, in its own timezone, if you turn them on for that number (off by default)

  • with random gaps between messages (set the seconds per number, or keep the channel default), plus bursts and breaks

  • under daily caps per kind of message, which start low, grow as the account warms up, and halve when the platform pushes back

  • with replies going ahead of new conversations once those hit their cap

When the platform answers with a rate limit or a checkpoint, Parley backs off, pauses that kind of message, or stops and waits for you. It doesn't retry blindly.

It handles rich messages. Formatting, photos, video, voice notes, documents and reactions go out the way the app shows them. Incoming media is available to the agent through get_media.

It keeps everything on record. You can see which agent sent what, when it went out, and whether it was delivered and read. You can cancel anything still queued, delete a sent message for everyone, or disconnect an agent from the dashboard, which cuts off its access immediately.

MCP tools

Area

Tools

Accounts

list_channels, list_connections, connect, connection_status

Reading

read_inbox, list_chats, search, get_notifications, load_history, get_media

Sending

send_message, react_to_message, delete_message

Outbox

send_availability, list_outbox, message_status, cancel_message

Webhooks

create_webhook, list_webhooks, update_webhook, delete_webhook, test_webhook, resend_webhook_delivery

With several accounts linked, tools take a connection_id (or just the account's number), so one agent can work across a personal and a work number. Reading tools cover every account unless you filter. send_availability tells the agent when it can next send and why, so it can plan instead of guessing.

Will my account get banned?

Nobody can promise it won't, because messaging apps don't publish their limits for personal accounts. Parley's defaults stay below the levels where people report getting restricted. A new account starts slow, and Parley backs off as soon as the app pushes back. If you run Parley yourself, you can also send each account through its own residential or ISP proxy in the account's country. See DEVELOPING.md.

Run it yourself

Parley is a Node 24 app on Postgres and Redis. DEVELOPING.md covers setup, tests, and linking a real WhatsApp account locally. deploy/README.md covers how production runs.

npm install
export DATABASE_ADMIN_URL=postgres://postgres@127.0.0.1:5432/postgres
npm run check    # typecheck and the full test suite
apps/api/            the app: dashboard, sign-in, OAuth, the MCP endpoint, sessions and the outbox
packages/auth/       accounts, tokens, sealed secrets, migrations
packages/channels/   the channel connector framework; WhatsApp is the first
packages/pacing/     human pacing: active hours, gaps, caps, warmup (pure functions)
packages/proxies/    egress through proxy providers, one exit per account
site/                itsparley.com, a static Next.js site on its own Worker

In production, the app runs as a Cloudflare Worker at app.itsparley.com. The live channel sockets run on a separate sessions service, and the marketing site is a Worker of its own at itsparley.com. A push to main runs the tests and deploys all three.

License

MIT.

Parley isn't affiliated with Meta, Apple, Google, Slack or LinkedIn.


If Parley is useful to you, a ⭐ helps other people building agents find it.

Available Tools

24 tools
cancel_messageCancel a messageAInspect

Cancel a message that is still scheduled. Messages already sent or sending can't be canceled; to take back one that went out, use delete_message.

Inputs: message_id (required).

connectConnect a channelAInspect

Start linking a messaging account (e.g. WhatsApp) to Parley. You can link several on one channel (another WhatsApp number is just another connect); linking a number that is already linked replaces the old link. Returns a link URL to open in a browser (scan the QR / authorize), and a connection id to poll with connection_status.

Inputs: channel (required), country, timezone.

connection_statusConnection statusBInspect

Check a connection. While linking, returns the link material (e.g. the WhatsApp QR string). Returns "connected" once live.

Inputs: connection_id (required).

create_webhookCreate a webhookAInspect

Have Parley POST to a URL the moment something happens on one linked number, instead of polling read_inbox. Each webhook belongs to one number; add one per number to hear from several. Events: message.received (a message came in from someone else); message.sent (the account sent a message (from its phone, or through Parley)); reaction.added (someone (or the account) reacted to a message, or changed their reaction); reaction.removed (someone (or the account) took their reaction back); message.deleted (a message was deleted for everyone). Only real, live changes are sent: never history, backfills, or a message seen twice; chats the account holder ignored never send. Each request is a signed JSON POST: { id, type, created_at, sent_at, connection: { id, channel, account }, data }; for messages the text is at data.message.text (the answer's payload_format has every event's shape and an example: build the receiver from it). If the receiver checks who's calling with a key of its own (an Authorization header or API key its setup gave you), pass it in headers. The answer carries the signing secret: keep it, it isn't shown again (update_webhook with rotate_secret makes a new one). The account holder sees and can change every webhook on that number's page on the Parley dashboard. At most 10 per number.

Inputs: url (required), events, headers, description, +1 more.

delete_messageDelete a sent messageAInspect

Delete a message the account sent, for everyone in the chat, as the account holder would from their phone (the chat shows "This message was deleted"). Works on messages sent through Parley or from the phone, for about two days after sending. Paced like a reply; follow it with message_status. Still scheduled? Use cancel_message instead.

Inputs: message_id (required), chat_id, connection_id, idempotency_key.

delete_webhookDelete a webhookBInspect

Remove a webhook. Nothing more is sent to it, including deliveries still waiting.

Inputs: webhook_id (required).

get_mediaGet a message's mediaAInspect

Open the photo, video, voice note, audio recording, document or sticker a message carries (a message from read_inbox with media). Photos and stickers come back as images you can see, and text files (txt, csv, json, …) as text. Voice notes, audio, videos, PDFs and other files up to 10 MB come back as the file itself, which your client saves to disk; videos also come with their preview frame. Every answer has a download_url (any size, valid for an hour) and a ready save_with curl command for saving the file yourself. Needs the connection online; an old file may take a moment while the sender's phone uploads it again.

Inputs: chat_id (required), message_id (required), connection_id.

get_notificationsGet notificationsAInspect

What came in from the other side since chats were last read: totals (all_chats), and each chat with something new and how many messages and reactions. Pass chat_id to split it into that chat (this_chat) and the rest (other_chats). Never marks anything read; read_inbox with a chat_id reads one. Every other tool's answer carries the same totals as new_since_last_read when something is new.

Inputs: channel, chat_id, connection_id.

list_channelsList channelsAInspect

List the messaging channels Parley supports and each channel's capabilities (how you link it, media/groups/threads).

Inputs: no named parameters.

list_chatsList chatsAInspect

List the chats (people and groups) agents can see (everything except what the account holder ignored), across all connected accounts, most recent first (the same person can appear once per account). awaiting says who owes the next message: "you" when the last word was theirs. new counts the messages and reactions from the other side since the chat was last read (read_inbox or load_history mark it read; listing doesn't). Set awaiting_reply to get just the conversations waiting on you, only_new for just the ones with something new.

Inputs: channel, only_new, connection_id, awaiting_reply.

list_connectionsList connectionsAInspect

List the messaging accounts linked to Parley (there can be several per channel, e.g. a personal and a work WhatsApp), with each one's number (account) and whether it can send right now. Other tools take connection_id: this id, or simply the account's number.

Inputs: no named parameters.

list_outboxList outboxAInspect

Messages you queued: scheduled ones in send order, then sent, failed and canceled ones. A failed message carries an error code; outcome_unknown means the send was interrupted and may or may not have arrived. To follow one message, use message_status.

Inputs: limit, status, connection_id.

list_webhooksList webhooksAInspect

Webhooks (URLs Parley calls the moment a message, reaction or deletion happens on a linked number). Each belongs to one number (account, connection_id). Lists each one's URL (keys in it masked), events, the headers it sends (names only), whether it's on, its last success and failure, and its latest deliveries (with include_payloads, the exact JSON body each sent: use it to debug a receiver). Also answers payload_format, what every request body looks like.

Inputs: deliveries, connection_id, include_payloads.

load_historyLoad a chat's historyAInspect

Fetch a chat's older messages from the account holder's phone, as WhatsApp's own "get older messages from your phone" does: the count messages before the oldest one Parley has (e.g. from before the account was linked, or while the chat was ignored), with their attachments and reactions. Call it again to go further back, count at a time. Waits up to about 20 seconds for the phone, which must be online; answered says whether it replied. Answered, it returns the older messages it fetched; not, the chat's latest messages as Parley has them. Afterwards they're in read_inbox too. Like read_inbox, it says what's new since the chat was last read (new_since_last_read, new: true, new_reactions; older history fetched now isn't new) and marks what it returns as read unless mark_read is false — and then, by default, sends read receipts on WhatsApp too (see read_receipts).

Inputs: chat_id (required), count, mark_read, connection_id, +1 more.

message_statusMessage statusAInspect

Check on one message, reaction or deletion you queued (the id send_message, react_to_message or delete_message returned): scheduled (with when it goes out), sending, sent (with when), failed (with why), or canceled. Poll this after a send to know it went out.

Inputs: message_id (required).

react_to_messageReact to a messageAInspect

React to a message with an emoji, as the account holder would from their phone. Paced like a reply. Pass an empty emoji to take your reaction back; a new one replaces the old.

Inputs: emoji (required), chat_id (required), message_id (required), connection_id, +1 more.

read_inboxRead inboxAInspect

Read recent messages across all your connected accounts, newest first (each says which account it is on) — from every chat except ones the account holder ignored. Filter by channel, connection, or one chat (chat_id from list_chats). Page back with before. A message with media carries a photo, video, voice note, document or sticker (its text is the caption, or a placeholder like "[photo]"): call get_media to see it. reactions lists who reacted with what. new_since_last_read says how much came in from the other side since these chats were last read (messages and reactions, per chat); new messages and reactions carry new: true, and new_reactions lists every new reaction with the message it's on (even one on an old message not shown). Reading marks what it shows as read, for every agent on the account; pass mark_read: false to just look. Paging back with before never marks anything. Reading that marks read also sends read receipts on WhatsApp by default (blue ticks, if that number's WhatsApp has them on; the account holder can turn this off per number in Parley): pass read_receipts: false to read without telling the sender. Looking (mark_read: false) or paging back sends none unless read_receipts is true.

Inputs: limit, before, channel, chat_id, +3 more.

resend_webhook_deliveryResend a webhook deliveryAInspect

Send a past delivery's event again (delivery ids are in list_webhooks), e.g. after fixing a receiver. It goes as a new delivery to the same webhook with the same body and event id (a receiver that dedupes on Parley-Event-Id sees a repeat; sent_at shows when this one went) and a fresh media download link. Waits up to about 10 seconds for the outcome. The webhook must be on (test events go either way).

Inputs: delivery_id (required).

send_availabilitySend availabilityAInspect

Whether a connection can send right now, and if not, when each kind of message could next go out and why. Includes today's sends against the account's daily limit, which every kind of message counts toward.

Inputs: connection_id.

send_messageSend a messageAInspect

Queue a message on a connected channel: text, or a photo, video, GIF, voice note or document (pass media; text is then its caption). Parley sends at a human pace to keep the account safe: with gaps between sends, breaks after bursts, and a daily limit; if the person turned on active hours for the number, only inside its local active hours. The reply says when it will go out (scheduled_for) and why it isn't sooner (waits). Replies in existing conversations go ahead of conversation openers that hit their limit.

Inputs: to (required), kind, text, media, +4 more.

set_send_gapSet the gap between sendsAInspect

Set how long a connection waits between two sends: at least gap_seconds, up to twice that at random so it doesn't look scripted. 0 sends back to back; null goes back to the channel's default (WhatsApp 1–3s). Messages already queued are rescheduled on the new gap. A short gap makes the account look less human and raises the chance the platform restricts it, so change it only when the person asks. Openers to new contacts, breaks after bursts and the daily limit still apply.

Inputs: gap_seconds (required), connection_id.

test_webhookTest a webhookAInspect

Send a webhook.test event to a webhook (signed like every other, and shaped like a message.received: the text is at data.message.text) and wait up to about 10 seconds to say whether it was delivered: the status the URL answered, or why it failed. A failed first attempt is retried like any delivery. The answer includes the exact payload sent.

Inputs: webhook_id (required).

update_webhookUpdate a webhookAInspect

Change a webhook's URL, events, description or headers, turn it off or back on, or replace its signing secret (rotate_secret: the old one stops working at once and the new one is in the answer). Turning it off drops what it still had waiting.

Inputs: webhook_id (required), url, events, enabled, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 24 tools

    Disambiguation4/5

    Most tools target clearly distinct resources and actions: outbound messages, inbound reading, media, connections, and webhooks are cleanly separated. There is some overlap between get_notifications and list_chats with only_new/new counts, and between read_inbox and load_history, but the descriptions provide clear selection guidance.

    Naming Consistency4/5

    All tool names use snake_case and are highly readable, with a strong verb_noun pattern such as list_outbox, send_message, and create_webhook. A few names like message_status, connection_status, and search depart from that pattern, so it is not perfectly uniform.

    Tool Count3/5

    24 tools is heavy for a single MCP server, even though the domain spans messaging, media, connections, and webhooks. The surface is well organized and avoids obvious redundancy, but it sits in the 16-25 'borderline heavy' range.

    Completeness4/5

    The set covers the main messaging lifecycle: connecting accounts, sending/canceling/deleting messages, reading/searching/history/notifications, media, pacing, and webhook creation/testing/resending. Minor gaps remain, such as disconnecting or unlinking a connection and some explicit chat-level management, but core workflows are covered.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      A self-hosted MCP server that connects AI clients to WhatsApp via the WAHA HTTP API. It enables users to manage sessions, search contacts, and send or receive messages and media directly through natural language interfaces.
      8 npm
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      A self-hosted WhatsApp bridge that exposes a stdio MCP server with ~20 tools for reading conversations, sending messages, managing groups, contacts, and aliases, enabling AI agents to operate WhatsApp directly.
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A self-hosted WhatsApp gateway that exposes messaging capabilities via MCP, allowing AI agents to send, receive, and manage WhatsApp messages through a single-command setup with SQLite storage.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Self-hosted WhatsApp management over Model Context Protocol, exposing a streamable HTTP MCP endpoint with 30 tools for session/QR pairing, messaging, media storage, and optional on-CPU voice note transcription via whisper.cpp.
      MIT