
Gallabox MCP Server
A Model Context Protocol (MCP) server implementation for Gallabox WhatsApp APIs. This server acts as a middleware between MCP clients and the Gallabox API, providing a standardized interface for sending WhatsApp messages.
What is Gallabox MCP Server?
Gallabox MCP Server is a middleware implementation for the Gallabox WhatsApp APIs, enabling standardized communication between MCP clients and the Gallabox API for sending WhatsApp messages.
How to use Gallabox MCP Server?
To use the Gallabox MCP Server, clone the repository, install the dependencies, and configure the server with your API credentials. You can then send messages using the provided tools.
Key features of Gallabox MCP Server?
- Send text messages via WhatsApp.
- Send template messages with customizable content.
- Send interactive messages with buttons for user engagement.
Use cases of Gallabox MCP Server?
- Automating customer support through WhatsApp messaging.
- Sending promotional messages using templates.
- Engaging users with interactive content through WhatsApp.
FAQ from Gallabox MCP Server?
- Can I send messages to multiple recipients?
Yes! You can loop through a list of recipients to send messages individually.
- Is there a limit on the number of messages I can send?
Yes, WhatsApp has certain limits on message sending, which you should adhere to.
- How do I configure the server?
You need to set up the
claude_desktop_config.json
file with your API credentials and channel ID.
Gallabox MCP Server
MCP Server for the Gallabox API, enabling interaction with WhatsApp messaging.
Tools
-
sendTextMessage
- Send a text message via WhatsApp
- Required inputs:
recipient
(object): The recipient's detailsname
(string): Recipient's namephone
(string): Recipient's phone number
content
(string): The content of the text message
- Returns: Confirmation of message sent with ID and status.
-
sendTemplateMessage
- Send a template message via WhatsApp
- Required inputs:
recipient
(object): The recipient's detailsname
(string): Recipient's namephone
(string): Recipient's phone number
templateName
(string): The name of the template to usetemplateValues
(object): Values to replace in the template
- Returns: Confirmation of template message sent with ID and status.
-
sendInteractiveMessage
- Send an interactive message via WhatsApp
- Required inputs:
recipient
(object): The recipient's detailsname
(string): Recipient's namephone
(string): Recipient's phone number
content
(string): The content of the interactive messagebuttons
(array): Array of button objects for interaction- Each button object must include:
type
(string): Should be "reply"reply
(object): Contains:id
(string): ID of the reply buttontitle
(string): Title of the reply button
- Each button object must include:
- Returns: Confirmation of interactive message sent with ID and status.
Setup
-
Clone the Repository:
Clone this repository to your local machine using:git clone https://github.com/yourusername/gallabox-mcp-server.git
-
Install Dependencies:
Navigate to the project directory and install the required dependencies:cd gallabox-mcp-server yarn
Claude Desktop Configuration
To run the Gallabox MCP server with Claude Desktop, you need to configure the claude_desktop_config.json
file. Below is a sample configuration:
{
"mcpServers": {
"whatsapp": {
"command": "npx",
"args": ["-y", "/Users/navayuvan/Works/gallabox-mcp-server"],
"env": {
"CHANNEL_ID": "<your_channel_id>",
"GALLABOX_API_KEY": "<your_api_key>",
"GALLABOX_API_SECRET": "<your_api_secret>"
}
}
}
}
Restart Claude Desktop after adding this configuration.
Explanation of Configuration
- command: The command to run the server, using
npx
to execute the local package. - args: Arguments passed to the command, specifying the path to your Gallabox MCP server.
- env: Environment variables required for the server to function, including your API credentials and channel ID.