mcpField
P
Peach Whatsapp Business Api Mcp

Peach Whatsapp Business Api Mcp

Local
github.com/trypeach-ioCommunication0Updated 24w ago

About Peach Whatsapp Business Api Mcp

Peach’s MCP server connects AI assistants to the Peach WhatsApp messaging platform. It supports messaging operations alongside managing templates, contacts, media, and broadcasts.

Key features

  1. 01Send template and app-initiated messages
  2. 02Connect contacts to an AI agent
  3. 03Create and manage broadcasts
  4. 04Create, update, and submit templates
  5. 05Create and update contacts
  6. 06List, upload, and delete media

Use cases

  1. 01Send a WhatsApp template to a contact
  2. 02Launch a broadcast campaign
  3. 03Submit a template for Meta review
  4. 04Update contact details

MCP support

Exposes Peach WhatsApp messaging tools to MCP clients, including sending messages and managing templates, contacts, media, and broadcasts. It can be used as a hosted server or configured locally.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"trypeach-io": {
"command": "npx",
"args": [
"-y",
"@peachai/mcp"
]
}
}
}
Run commandnpx -y @peachai/mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@peachai/mcp0.1.3

Tools

20

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
contactobjectYesThe recipient contact. phone_number is required.
contact.namestringNoContact's full name
contact.emailstringNoContact's email address
contact.metadataobjectNoCustom metadata key-value pairs
contact.phone_numberstringYesPhone number in E.164 format (e.g. +14155552671)
template_messageobjectYesTemplate message parameters
template_message.liquid_valuesobjectNoVariable values for template placeholders
template_message.business_phone_numberstringNoWA ID of the sending phone number to use
template_message.whats_app_template_idstringYesID of the WhatsApp template to use

Details

From the project README

@peachai/mcp

MCP (Model Context Protocol) server for the Peach WhatsApp messaging platform. Lets AI assistants like Claude send messages, manage templates, contacts, and media directly through your Peach account.

Requirements

  • Node.js 18 or higher
  • A Peach account with an API key

Getting your API key

Log in to app.trypeach.ai, go to Settings → API, and copy your API key.

Setup

Hosted Server setup

Recommended Peach offers hosted MCP server. We recommend using this.

{
  "mcpServers": {
    "peach": {
      "url": "https://app.trypeach.ai/api/mcp",
      "headers": {
        "Authorization": "<YOUR PEACH API KEY>"
      }
    }
  }
}
Claude Desktop

Add the following to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "peach": {
      "command": "npx",
      "args": ["-y", "@peachai/mcp"],
      "env": {
        "PEACH_API_KEY": "your-api-key"
      }
    }
  }
}

Restart Claude Desktop. You should see the Peach tools available in your conversation.

Cursor

Go to Settings → MCP and add:

{
  "peach": {
    "command": "npx",
    "args": ["-y", "@peachai/mcp"],
    "env": {
      "PEACH_API_KEY": "your-api-key"
    }
  }
}
Claude Code

Run this command to add Peach AI to your Claude Code setup:

claude mcp add --scope user --env PEACH_API_KEY=your-api-key peach -- npx -y @peachai/mcp

Or add it manually to your .mcp.json:

{
  "mcpServers": {
    "peach": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@peachai/mcp"],
      "env": {
        "PEACH_API_KEY": "your-api-key"
      }
    }
  }
}
Antigravity

Go to Antigravity settings -> Customizations. Click Open MCP Config and add the following:

{
  "mcpServers": {
    "peach": {
      "serverUrl": "https://app.trypeach.ai/api/mcp",
       "headers": {
        "Authorization": "<YOUR PEACH API KEY>"
      }
    }
  }
}

Available tools

Messaging
ToolDescription
peach_send_template_messageSend a WhatsApp template message to a contact
peach_send_app_messageTrigger a flow or app-initiated message
peach_connect_to_ai_agentSend a template and connect the contact to an AI agent
peach_get_event_statusCheck the status of a sent event
peach_list_template_messagesList sent template messages with filters
Broadcasts
ToolDescription
peach_launch_broadcastCreate and launch a broadcast campaign
Templates
ToolDescription
peach_list_templatesList all WhatsApp templates
peach_get_templateGet a specific template by ID or name
peach_create_templateCreate a new WhatsApp template
peach_update_templateUpdate an existing template
peach_submit_templateSubmit a template for Meta review
peach_pause_templatePause an approved template
peach_archive_templateArchive a template
Contacts
ToolDescription
peach_create_contactCreate or upsert a single contact
peach_create_contactsBulk create or upsert contacts
peach_update_contactUpdate a contact by phone number
Media
ToolDescription
peach_list_mediaList uploaded media files
peach_upload_mediaUpload a media file (base64)
peach_delete_mediaDelete a media file
Messages
ToolDescription
peach_list_messagesList messages with optional filters

Example prompts

  • "Send the order_confirmation template to +14155552671 with order ID 12345"
  • "Create a new MARKETING template called summer_sale with a body saying 'Get 20% off this weekend!'"
  • "List all my approved WhatsApp templates"
  • "Update the contact +14155552671's name to John Smith"
  • "Launch a broadcast using template promo_v2 to audience list abc123"

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.