WhatsApp MCP server security

Meta's official WhatsApp Business Tools MCP limits access with Facebook Login for Business scopes, admin checks and logged invocations, while the community lharries/whatsapp-mcp server works on a personal account with no vendor controls. This page sets out what each can read and change and what to lock down before staff connect either to an AI agent.

On this page

Does a WhatsApp MCP server meet enterprise access controls?

A head of IT or security approving an AI agent that touches WhatsApp needs to know which server is in front of it. Meta's official WhatsApp Business Tools MCP documents scoped Facebook Login for Business access, admin checks before any tool runs, and logged invocations for business accounts, with state-changing actions tied to an authenticated person rather than an app-level credential. Community servers such as lharries/whatsapp-mcp have no vendor-documented enterprise controls and connect to a personal WhatsApp account, so the agent acts as that individual with no central admin check or audit record from a vendor.

Meta's official server is built for development and testing workflows, not production sending at scale, and Meta says it is rolling out gradually and may not be available to everyone yet. It should not be treated as a control that governs customer messaging in production. Its listed actions include creating a WhatsApp Business Account, adding and verifying a phone number, creating or editing message templates, sending test messages and configuring webhooks, so a reviewer should confirm whether those capabilities are acceptable for the team that would receive access.

Before approving either option, the reviewer must confirm several points in the organization's own environment: whether the tenant has access to the official server at all, which Facebook Login for Business scopes and app roles each user would hold, who signs the Terms of Service for the attached business, and how invocation logs are exported and retained. For any community server, confirm that the account used is a company-owned business number rather than a personal one, and that the project's code, dependencies and local message store have been reviewed by the security team. Recording these answers in writing gives the approval a basis that can be audited later.

WhatsApp MCP security controls by server type

This table compares Meta's official WhatsApp Business Tools MCP server with the community lharries/whatsapp-mcp server on sign-in, admin checks, read scope, write actions, logging, storage and availability. Each cell states whether the behavior is documented by Meta, community-built, or not documented, so reviewers can see which claims have a vendor source. The main takeaway is that the official server's controls are vendor-documented, while the community server's controls are whatever its code does and must be verified in your own environment.

ControlMeta official serverCommunity lharries/whatsapp-mcp
Sign-inDocumented by Meta: Facebook Login for Business with a specific set of scopes, so tokens stay out of prompt historyCommunity-built: connects to a personal WhatsApp account through the WhatsApp web multidevice API using whatsmeow; sign-in is by linking a device
Admin checks before a tool runsDocumented by Meta: confirms the user is an app admin, resolves the attached business and verifies Terms of Service are signedNot documented: the README describes no admin or organization check
Read scopeDocumented by Meta: every read runs under the user's own viewer contextCommunity-built: can search and read personal WhatsApp messages and contacts
Write actionsDocumented by Meta: creating a WhatsApp Business Account, adding and verifying phone numbers, editing message templates, sending test messages, configuring webhooks; state changes need an authenticated personCommunity-built: can send messages and media to individuals or groups
Invocation loggingDocumented by Meta: every invocation is loggedNot documented: the README does not describe an invocation audit log
Data storageNot documented: Meta's announcement does not describe where message or tool data is storedCommunity-built: a Go bridge stores message history in a local SQLite database
Prompt injection riskNot documented: Meta's announcement does not address prompt injection for this serverCommunity-built: the README warns of the lethal trifecta, so injected prompts could lead to private data exfiltration
AvailabilityDocumented by Meta: announced September 15, 2026, rolling out gradually, may not be available to everyone yet, built for development and testing rather than production sending at scaleCommunity-built: MIT licensed open-source project, not a Meta product; available to any user who runs it

How the official server and the community bridge enforce access

The two designs put their enforcement points in different places, and that decides who you are trusting. Meta's official WhatsApp Business Tools MCP signs the user in through Facebook Login for Business and grants a specific set of scopes, so tokens are not placed in the prompt history. Before any tool runs, the server confirms that the user is an admin of the app, resolves the attached business and verifies that the Terms of Service are signed. Reads run under the user's own viewer context, every invocation is logged, and any action that changes state requires an authenticated person rather than an app-level credential. Those checks happen in Meta's service, so your reviewers can test them from the outside by confirming which business and app a given user can reach.

The community lharries/whatsapp-mcp project works differently. It is an MIT licensed project, not a Meta product, and it connects to a personal WhatsApp account through the WhatsApp web multidevice API using the whatsmeow library. Its two parts run on the machine where it is installed: a Go WhatsApp bridge that stores message history in SQLite, and a Python MCP server that exposes tools to the AI client. Nothing in that design asks a business admin to approve the connection, and no Meta-side check resolves a business or confirms terms before a tool runs. Any control you want, such as who can run the bridge, where the SQLite file sits and whether the AI client can reach it, has to be built and verified on the reviewer's own endpoint.

For the review, ask each vendor or maintainer to show where a read and a write are authorized, and whether that record is kept outside the endpoint. Confirm with Meta which accounts, roles and scopes apply to your business, since the official server is rolling out gradually and may not yet be available to your organization. For the community server, treat the bridge as a process that holds a logged-in personal session and the local message store, then check host access, file permissions and network egress on the machine that runs it. Many other community WhatsApp MCP servers exist as separate projects with their own code, so each one needs its own review against this same question.

Decisions to make before connecting WhatsApp to an agent

Before any agent touches a WhatsApp account, the team has to settle which account type it will use, who approves the connection, and how far the agent may act. Each choice below narrows what the agent can read or change, and each can be checked before rollout.

Business account or personal number

The official WhatsApp Business Tools MCP works against the WhatsApp Business Platform, while the community lharries/whatsapp-mcp server connects to a personal WhatsApp account. Confirm which account type the server will touch before anything else. A personal number mixes staff conversations with the agent's reach, so ask whether a dedicated business number can be used for testing instead.

Community server README

Admins and roles that approve the connection

The official server uses Facebook Login for Business and checks that the signed-in user is an admin of the app, that the business is resolved, and that the Terms of Service are signed. Decide in writing which named people hold those admin roles, and who may approve a new connection. Remove any admin who no longer needs access.

Meta announcement

Test and development flows only

Meta says the official server is built for development and testing, not production sending at scale, and that it may not yet be available to every account. Decide whether the agent may only create templates, send test messages and configure webhooks in a test setup. Treat any path that sends to real customers as a separate, later approval.

Location of the SQLite history store

The community bridge stores message history in a local SQLite database, which holds the full text of personal conversations. Decide which machine hosts it, who has operating-system access to that machine, whether the disk is encrypted, and whether the file is included in backups. Ask the team to confirm where the database file sits before the server starts.

Which AI client is permitted

Meta lists Claude, Cursor, Codex and ChatGPT as supported Service Provider coding agents for the official server. Each client has its own data handling, sign-in and logging terms, so an approved server can still be exposed through an unapproved client. Name the permitted clients, record their versions, and block any others from loading the WhatsApp server.

Log retention and review

Meta says every invocation of the official server is logged, and reads run under the user's own viewer context. Decide how long those logs and any local bridge logs are kept, who reviews them and how often, and how a suspicious read or send is escalated. Set the review owner and interval before the first connection, not after an incident.

How the answer changes by situation

Meta announced the official WhatsApp Business Tools MCP to connect a Service Provider AI coding agent to the WhatsApp Business Platform. Meta documents sign-in with Facebook Login for Business, a specific set of scopes, admin checks before any tool runs, and logging of every invocation. Listed actions include creating a WhatsApp Business Account, adding and verifying a phone number, creating or editing message templates, sending test messages and configuring webhooks.

  • Admin and terms checks: Confirm the person connecting is an admin of the app, the attached business resolves correctly and the Terms of Service are signed before any tool runs.
  • 人 state changes need a person: Meta says changes require an authenticated person rather than an app-level credential, so name who may approve template edits and webhook changes.
  • Reads use the user's viewer context: Reads inherit each user's own access, so confirm reviewers hold only the business assets their role needs.
  • Rollout status: Meta says the server is rolling out gradually and may not be available to everyone yet, so confirm eligibility in your tenant before planning.

Before approval, check which accounts hold the app role, confirm the business attached is the intended one and confirm that the development and testing purpose matches the team's plan.

Order of work before staff connect a WhatsApp MCP server

This sequence confirms which server and account type is in scope, checks the business's admin and Terms of Service status, and locks down access before any staff member connects an AI agent. Each step ends with a written check that a reviewer can sign off.

  1. Confirm the server and account type in scope

    Start by naming the exact server the team wants to use and the kind of WhatsApp account it would reach. Meta's official WhatsApp Business Tools MCP connects a Service Provider AI coding agent to the WhatsApp Business Platform and is built for development and testing, not production sending at scale. The community lharries/whatsapp-mcp project connects to a personal WhatsApp account and can read personal messages and contacts. Record which option applies, who owns the account, and whether the server is available to your organization yet, since Meta says the official server is rolling out gradually. The step is done when the owner signs a one-page scope statement naming the server, the account and the business purpose.

  2. Verify admin and Terms of Service status

    For the official server, confirm with the business owner that the person connecting is an admin of the app, that the correct business is attached, and that the Terms of Service have been signed. Meta says the server checks these before any tool runs, so a failed check is a signal to stop and find out why. Confirm that sign-in uses Facebook Login for Business and that the requested scopes match the scope statement from the first step. The step closes when the business administrator records who holds admin rights and confirms that no shared or personal login will be used for the connection.

  3. Restrict the client allowlist

    Decide which AI clients may connect, such as Claude, Cursor, Codex or ChatGPT for the official server, and list only those in writing. Ask the administrator what controls exist to approve or block clients, and where those controls sit in the admin console. For any community server, confirm that it runs on a managed device under a named owner rather than on personal hardware used for personal chats. The step is complete when the approved client list exists, each entry has an owner, and unapproved clients are documented as blocked.

  4. Decide write permissions for templates and webhooks

    List every action the server can take that changes state: creating a WhatsApp Business Account, adding and verifying a phone number, creating or editing message templates, sending test messages and configuring webhooks. For each action, decide whether staff may use it, whether it needs a named approver, or whether it stays off. Meta says state-changing actions require an authenticated person rather than an app-level credential, so confirm that approval is traceable to one individual. The step produces a permission table that a reviewer can compare against the live tool list before rollout.

  5. Test prompt injection on a non-production number

    Before any staff use, run prompt injection tests against a test number that holds no customer data. Include instructions hidden in message text, template bodies and contact names that try to make the agent send messages, change templates or pass content to another tool. The community README warns that many MCP servers are exposed to the lethal trifecta, where private data access, untrusted content and outbound action combine, so test whether the agent can read private content and send it out. Record each attempt, the result and the fix. The step is done when no test sends data outside the approved scope or performs an action outside the permission table.

  6. Set log collection and retention

    Confirm what the server logs and where those logs go. Meta says every invocation is logged and every read runs under the user's own viewer context, so ask the administrator how to export those records and how long they are kept. For community servers, identify the local message store, such as the SQLite database the bridge writes, and decide who can access it, how it is encrypted and how long it is kept. Agree on the retention period with your legal and records teams, since no default period is supplied here. The step closes when a sample invocation appears in your log store with the user, the tool and the time.

  7. Retest after any change

    Repeat the scope check, the allowlist check and the prompt injection tests whenever the server version, the connected client, the scopes, the business attachment or the permission table changes. Meta's rollout is gradual, so features may change before general availability, and community projects may update without notice. Keep a dated record of each retest with the reviewer's name. The step is done when the retest results match the approved permission table and the reviewer signs the change record before staff use continues.

Evidence a security reviewer asks to see

This table lists the evidence items a reviewer should request before approving a WhatsApp MCP server, with the source that produces each one. Use it to separate what Meta documents for the official server from what the community server and your own admin console must show. The main takeaway is that the community server produces little vendor evidence, so your own inventories and logs carry most of the weight.

Evidence itemWhere it comes fromWhat the reviewer checksGap to watch for
Scope list granted through Facebook Login for BusinessMeta documentation for the official server; the app's login settingsThe exact scopes granted to the connecting user, compared with the actions the team needsScopes are broader than the task requires, and nobody has reviewed them since sign-in
Admin role assignments on the appMeta for Developers app roles; your own admin consoleWho is an admin of the app and the attached business, and whether that list matches current staffFormer employees or contractors keep admin rights after they leave
Terms of Service acceptance recordsMeta documentation, which says the official server verifies signed terms before any tool runsConfirmation that the accepting person is authorized to bind the organizationTerms accepted by an individual on a personal login with no record kept by the business
Invocation log exportMeta documentation, which says every invocation is logged; your own log storeWho ran which tool, when, and whether any write action was tied to an authenticated personLogs stay with the vendor or the bridge host and are never exported for review
Inventory of community servers in useYour own endpoint and developer tool inventory; the lharries/whatsapp-mcp README as the reference for that projectEvery machine and account running a community bridge, including personal WhatsApp accountsStaff install unofficial servers that nobody recorded, and each one may have separate code
SQLite store location and retentionThe community README, which describes a Go bridge storing message history in SQLite; the host's file systemWhere the database file sits, who can read it, whether it is encrypted, and how long messages are keptThe file is copied to laptops or backups with no deletion schedule
Prompt injection test resultsYour own security test of the agent and server pair, reported with the findings and retestWhether injected message content can cause the agent to send data or messages to other partiesNo test was run, and the README's own warning about the lethal trifecta is not addressed

Questions buyers ask before approving a WhatsApp MCP server

Is Meta's official WhatsApp Business Tools MCP server generally available?

No, not as far as the supplied documentation shows. Meta announced the official WhatsApp Business Tools MCP on September 15, 2026, and says it is rolling out gradually and may not be available to everyone yet. Meta also describes it as built for development and testing workflows, not production sending at scale. Before planning a rollout, confirm with Meta whether your business account and app can access it, and check the Meta for Developers announcement for the current availability note. Plan any production use around the official server's stated purpose, not around a future general release.

Can a personal WhatsApp account ever be approved for an AI agent?

The official server does not support personal accounts. It works with the WhatsApp Business Platform and requires an admin of the app, an attached business and signed Terms of Service before any tool runs. The community server lharries/whatsapp-mcp connects to a personal WhatsApp account through the WhatsApp web multidevice API, using the whatsmeow library, and it is not a Meta product. Its README says it can search and read personal messages and contacts and send messages and media to individuals or groups. For most organizations, that means a personal account on a community bridge is a policy exception that security should decide explicitly, not a routine tool.

What can the official WhatsApp MCP server change in a business account?

It can change account setup and messaging configuration, not just read data. Meta lists these actions: creating a WhatsApp Business Account, adding and verifying a phone number, creating or editing message templates, sending test messages and configuring webhooks. Each of these changes business state, so the review should focus on who can approve them. Meta says anything that changes state requires an authenticated person rather than an app-level credential. Ask your reviewers to confirm which of these actions a given staff role can perform, and to document which actions are off limits for AI-driven sessions.

Are MCP invocations logged, and where do I find the logs?

Meta says every invocation of the official server is logged, and every read runs under the viewer context of the signed-in user. The supplied documentation does not name the log location, retention period or export format, so ask Meta for those details before approval. For the community server, the README describes a Go bridge that stores message history in SQLite and a Python MCP server that exposes tools to the AI client. Those local stores are where you would look for message history, but the README does not describe a documented audit trail of tool calls. Confirm what is logged on the client, the bridge and the model provider side before accepting either setup.

Is SSO or SCIM documented for the WhatsApp MCP setup?

The supplied documentation describes Facebook Login for Business for the official server, not SSO or SCIM. Meta says the server uses that login and grants a specific set of scopes, so no tokens land in the prompt history. Whether the sign-in can be tied to your corporate identity provider, how staff are provisioned and removed, and which admin roles apply are not covered in the supplied facts. Ask Meta and your Meta Business Manager administrators to confirm these points in writing. The community server's README does not describe SSO, SCIM or enterprise sign-in, so treat it as having no documented central identity control.

What effort do the controls need, and what drives it up?

Effort depends mainly on how many people connect agents, which account type is involved and how much change control your organization already has around Meta Business Manager. Each cost component is labor: your administrators set up roles and scopes, security reviews the tool list and logging, and someone maintains the connection as Meta changes the rollout. The supplied facts do not give a duration or fee, so ask Meta for any terms that apply to your account and ask any implementation partner for a written, fixed scope. Effort rises with personal account use, custom bridges, multiple business accounts and broad staff access, and falls when access is limited to one business and reviewed role by role.

Can our own security team review a WhatsApp MCP setup?

Yes, a capable internal team can review the setup, and the review is mostly a checklist of facts you can verify. Start with the official announcement and the lharries/whatsapp-mcp README, then test three things: which tools the client exposes, which actions a test account can perform, and what gets written to disk. Include prompt injection in the review. The community README warns that, like many MCP servers, it is subject to the lethal trifecta, so private data could be exfiltrated through injected instructions. If your team lacks time or access to a test business account, an outside security assessment of agent tools, permissions and data exposure can supply the findings and retest that the internal team would otherwise run.

Decision path for a WhatsApp MCP connection

The path starts with one question: is the WhatsApp account a business account or a personal number. A business account on Meta's official WhatsApp Business Tools MCP leads to admin and scope checks, where the server confirms the user is an app admin, resolves the attached business and verifies Terms of Service. A personal number runs through a community server such as lharries/whatsapp-mcp, which stores message history locally and can send messages, so it needs a stricter gate. Both paths end at the same question: does the agent need state-changing tools. If so, require an authenticated person. Before approval, test for prompt injection and confirm logging.

Decision path from account type to approval for a WhatsApp MCP server.

How DeployOpen tests a WhatsApp MCP rollout

DeployOpen approaches WhatsApp MCP server security as a written, fixed-scope review of the exact server, client and account setup your staff plan to use. We test what the server can read and change, how sign-in and admin checks apply, and where message data is stored and sent, then deliver findings, fixes and a retest.

How we scope

  • Confirm whether the setup uses Meta's official WhatsApp Business Tools MCP or a community server on a personal account.
  • List the actions in scope, including reads of messages and contacts, sends to individuals or groups, and changes to templates or webhooks.
  • Agree in writing which AI clients, admin roles, business assets and test accounts the review covers before any work starts.

How we build

  • Test prompt injection paths that could push private WhatsApp messages out through the connected AI client.
  • Check admin approval, Facebook Login for Business scopes and per-invocation logging against the rollout policy you set.
  • Review where the bridge database, message history and credentials sit on the host and whether access to them is restricted.

How we hand over

  • Deliver a findings report that ranks each issue by what an attacker or a careless prompt could read or send.
  • Provide concrete fixes for permissions, approved-client lists, host isolation and data retention settings in your environment.
  • Retest the fixed setup and document the evidence your security and compliance reviewers ask for before approval.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer when the server or your rollout changes.
  • Re-review the setup when Meta's rollout status, available scopes or the community server's code changes materially.
  • Confirm current vendor documentation with your account team before relying on any control described in this review.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.