- Gallabox MCP Server
Content
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.