Meta Cloud API MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Meta Cloud API MCP ServerSend a template message to +15551234567"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
What is this?
This MCP server wraps the meta-cloud-api SDK, giving Claude (and other MCP-compatible clients) direct access to the WhatsApp Business Platform. You can ask Claude to:
"Create a welcome template in English and Spanish"
"List all my flows and publish the draft one"
"Send a template message to +1-555-123-4567"
"Update my business profile description"
Related MCP server: WhatsApp MCP Server
Quick Start
1. Install
npm install -g meta-cloud-api-mcp2. Get Your Credentials
You need three values from the Meta Developer Portal:
Variable | Where to find it |
| App Dashboard > WhatsApp > API Setup |
| App Dashboard > WhatsApp > API Setup > Phone number ID |
| App Dashboard > WhatsApp > API Setup > WhatsApp Business Account ID |
3. Configure Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"whatsapp": {
"command": "npx",
"args": ["-y", "meta-cloud-api-mcp"],
"env": {
"CLOUD_API_ACCESS_TOKEN": "your_access_token",
"WA_PHONE_NUMBER_ID": "your_phone_number_id",
"WA_BUSINESS_ACCOUNT_ID": "your_business_account_id"
}
}
}
}4. Configure Claude Code
claude mcp add whatsapp -- npx -y meta-cloud-api-mcp
# Then set environment variables in your .claude/settings.jsonAvailable Tools (31)
Templates (5 tools)
Tool | Description |
| List templates with filters (name, status, category, language) |
| Get a single template by ID with full component definition |
| Create a new message template (MARKETING, UTILITY, AUTHENTICATION) |
| Update template components (resubmits for review) |
| Delete a template by name or specific language version |
Flows (8 tools)
Tool | Description |
| List all flows for your WhatsApp Business Account |
| Get flow details including status and validation errors |
| Create a new flow (optionally with inline JSON or clone) |
| Update flow name, categories, or endpoint URI |
| Upload or update the flow JSON definition |
| Delete a draft flow |
| Publish a draft flow (makes it live) |
| Deprecate a published flow (irreversible) |
Messages (3 tools)
Tool | Description |
| Send a text message to a phone number |
| Send a pre-approved template message |
| Send an image (by media ID or public URL) |
Media (4 tools)
Tool | Description |
| Get media metadata (URL, MIME type, size, hash) |
| Upload a file to WhatsApp (returns media ID) |
| Delete media from WhatsApp servers |
| Download media content to a local file |
Business Profile (2 tools)
Tool | Description |
| Get profile (about, address, email, websites, etc.) |
| Update profile fields |
WABA (3 tools)
Tool | Description |
| Get account info (status, health, verification, limits) |
| Subscribe to WABA webhooks with optional callback override |
| Unsubscribe from WABA webhooks |
Phone Numbers (4 tools)
Tool | Description |
| Get phone number info (display number, quality, status) |
| List all phone numbers in the WABA |
| Request verification code via SMS or voice |
| Verify phone number with received code |
Registration (2 tools)
Tool | Description |
| Register a phone number with a 6-digit PIN |
| Deregister a phone number |
Example Conversations
Managing Templates:
"List all my approved marketing templates"
"Create a template called
order_updatewith a body that says 'Your order has been confirmed. Order number: {{1}}'""Delete the
old_promotemplate"
Managing Flows:
"Show me all my flows and their statuses"
"Create a new customer support flow called
support_v2""Update the flow JSON for flow ID 12345 with this definition: { ... }"
"Publish flow 12345"
Sending Messages:
"Send 'Hello!' to +15551234567"
"Send the
hello_worldtemplate in English to +15551234567"
Development
git clone https://github.com/froggy1014/meta-cloud-api-mcp.git
cd meta-cloud-api-mcp
npm install
npm run buildTesting with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.jsSet environment variables in the Inspector UI, then browse and test all 31 tools interactively.
Requirements
Node.js 18 or later
Meta Developer Account with WhatsApp Business API access
MCP-compatible client (Claude Desktop, Claude Code, etc.)
Related
meta-cloud-api — The TypeScript SDK this server wraps
meta-cloud-api docs — SDK documentation
Model Context Protocol — MCP specification
WhatsApp Cloud API — Official Meta documentation
License
MIT - see LICENSE for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/froggy1014/meta-cloud-api-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server