whatsapp-mcp-server

whatsapp-mcp-server

3

The project implements a WhatsApp server using the Model Context Protocol SDK, providing integration with the GreenAPI service for managing WhatsApp sessions and communications. It supports various operations such as sending messages, managing chats, and creating groups with standardized protocol implementation.

WhatsApp MCP Server

A WhatsApp server implementation using the Model Context Protocol (MCP) SDK, providing a standardized interface for interacting with WhatsApp through the GreenAPI service.

Features

  • WhatsApp session management
  • Integration with GreenAPI service
  • Standardized MCP protocol implementation
  • TypeScript support

Prerequisites

  • Node.js (v14 or higher)
  • npm or yarn
  • GreenAPI account and credentials

Configuration

The server requires the following environment variables:

  • GREENAPI_API_URL: The base URL for GreenAPI service
  • GREENAPI_API_TOKEN: Your GreenAPI API token

Usage

  • Start the server and listen for MCP protocol messages through standard input/output.