Gallabox MCP Server

Gallabox MCP Server

By navayuvan-gallabox GitHub

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.

gallabox whatsapp
Overview

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?

  1. Automating customer support through WhatsApp messaging.
  2. Sending promotional messages using templates.
  3. 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.

Content

Gallabox MCP Server

MCP Server for the Gallabox API, enabling interaction with WhatsApp messaging.

Tools

  1. sendTextMessage

    • Send a text message via WhatsApp
    • Required inputs:
      • recipient (object): The recipient's details
        • name (string): Recipient's name
        • phone (string): Recipient's phone number
      • content (string): The content of the text message
    • Returns: Confirmation of message sent with ID and status.
  2. sendTemplateMessage

    • Send a template message via WhatsApp
    • Required inputs:
      • recipient (object): The recipient's details
        • name (string): Recipient's name
        • phone (string): Recipient's phone number
      • templateName (string): The name of the template to use
      • templateValues (object): Values to replace in the template
    • Returns: Confirmation of template message sent with ID and status.
  3. sendInteractiveMessage

    • Send an interactive message via WhatsApp
    • Required inputs:
      • recipient (object): The recipient's details
        • name (string): Recipient's name
        • phone (string): Recipient's phone number
      • content (string): The content of the interactive message
      • buttons (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 button
            • title (string): Title of the reply button
    • Returns: Confirmation of interactive message sent with ID and status.

Setup

  1. Clone the Repository:
    Clone this repository to your local machine using:

    git clone https://github.com/yourusername/gallabox-mcp-server.git
    
  2. 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.
No tools information available.

Mirror of

ycloud whatsapp
View Details

WhatsApp Messaging with MCP & Ollama This project integrates PraisonAI Agents with Ollama (llama3.2) and a Go-based WhatsApp bridge. It allows you to send WhatsApp messages using natural language through a local REST API, powered by an LLM and custom MCP tools.

mcp whatsapp
View Details